DragonFly commits List (threaded) for 2009-09
DragonFly BSD
DragonFly commits List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 9 Sep 2009 09:22:40 -0700 (PDT)

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/58a264c4a67f08bde7423fce75e26eaaa1f91363


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]