git: MBUF - Do not limit an objcache common pool to 10 magazines.

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 9 09:23:02 PDT 2009


commit 58a264c4a67f08bde7423fce75e26eaaa1f91363
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 9 09:17:57 2009 -0700

    MBUF - Do not limit an objcache common pool to 10 magazines.
    
    * An objcache's common magazine pool was limited to 10 in order to return
      memory to the system sooner rather then later.
    
      This created a situation with the mbuf allocator where high-rate
      mbuf producers (GigE, 10GigE) would sometimes not be able to allocate
      a large enough batch of mbufs and drop packets.  10 magazines x 64 is
      only 640 mbufs.
    
    * Increase the limit from 10 to 1000.
    
    Tested-with: 10GigE setup from Aggelos Economopoulos <aoiko at cc.ece.ntua.gr>

Summary of changes:
 sys/kern/kern_objcache.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/58a264c4a67f08bde7423fce75e26eaaa1f91363


-- 
DragonFly BSD source repository





More information about the Commits mailing list