Date: Sun, 2 Mar 2003 10:04:10 -0800 (PST) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/forth loader.conf src/sys/netgraph ng_base.c Message-ID: <200303021804.h22I4ASk066347@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/03/02 10:04:10 PST
FreeBSD src repository
Modified files:
sys/boot/forth loader.conf
sys/netgraph ng_base.c
Log:
Add two loader tuneables that allow one to change the maximum number of
queue items that can be allocated by netgraph and the number of free queue
items that are cached on a private list.
Netgraph places an upper limit on the number of queue items it may allocate.
When there is a large number of netgraph messages travelling through the
system (100k/sec and more) there is a high probability, that messages get
queued at the nodes and netgraph runs out of queue items. In this case the data
flow through netgraph gets blocked. The tuneable for the number of free
items lets one trade memory for performance.
The tunables are also available as read-only sysctls.
PR: kern/47393
Reviewed by: julian
Approved by: jake (mentor)
Revision Changes Path
1.69 +2 -0 src/sys/boot/forth/loader.conf
1.66 +11 -1 src/sys/netgraph/ng_base.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303021804.h22I4ASk066347>
