DragonFly commits List (threaded) for 2009-09
git: MBUF - Do not limit an objcache common pool to 10 magazines.
Author: Matthew Dillon <firstname.lastname@example.org>
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 <email@example.com>
Summary of changes:
sys/kern/kern_objcache.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
DragonFly BSD source repository