From owner-cvs-src Sun Mar 2 10: 4:12 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02A7B37B401; Sun, 2 Mar 2003 10:04:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA14043F93; Sun, 2 Mar 2003 10:04:10 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h22I4A0U066348; Sun, 2 Mar 2003 10:04:10 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h22I4ASk066347; Sun, 2 Mar 2003 10:04:10 -0800 (PST) Message-Id: <200303021804.h22I4ASk066347@repoman.freebsd.org> From: Hartmut Brandt Date: Sun, 2 Mar 2003 10:04:10 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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