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

看板DFBSD_commit作者時間16年前 (2009/09/10 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Af-riIw (DFBSD_commit)