Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 02/28/2005 18:44:45
Module Name:	src
Committed By:	jonathan
Date:		Mon Feb 28 18:44:45 UTC 2005

Modified Files:
	src/sys/net: if.h

Log Message:
Increase default value for IFQ_MAXLEN from 50 to 256.

The value of 50 dates back to 4.3BSD and 10Mbit interfaces.
Gigabit interfaces are 100x faster, and by observation, when heavy
interrupt mitigation is enabled, gigabit interfaces can enqueue 40 packets
or more in a single hardware interrupt.  So IFQ_MAXLEN of 256 is adequate
for at least four gigabit interfaces.

Increasing IFQ_MAXLEN discussed and approved, in priniciple, circa Apr 2004.
The value is sysctl'able, so the default is no longer so critical,
but (imho) best to tune for high-performane systems by default.


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.