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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Dillon
Date: Wednesday, September 9, 2009 - 9:22 am

commit 58a264c4a67f08bde7423fce75e26eaaa1f91363
Author: Matthew Dillon <dillon@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@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/58a264c4a67f08bde7423fce75e26e...


-- 
DragonFly BSD source repository
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git: MBUF - Do not limit an objcache common pool to 10 mag ..., Matthew Dillon, (Wed Sep 9, 9:22 am)