-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 73627 b: refs/heads/master c: 38fb56a h: refs/heads/master i: 73625: c83ba1f 73623: 465bb0e v: v3
- Loading branch information
Darrick J. Wong
authored and
Mark M. Hoffman
committed
Nov 8, 2007
1 parent
b413002
commit 2f384ce
Showing
441 changed files
with
5,464 additions
and
5,012 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 31083eba370fbc5d544ac2fe67ca549c0aa2bdf7 | ||
refs/heads/master: 38fb56a223be9ec860e69e723d32c95fd70ad0b8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
There are a few network parameters that can be tuned to better match | ||
the kernel to your system hardware and intended usage. The defaults | ||
are usually a good choice for 99% of the people 99% of the time, but | ||
you should be aware they do exist and can be changed. | ||
|
||
The current list of parameters can be found in the files: | ||
|
||
linux/net/TUNABLE | ||
Documentation/networking/ip-sysctl.txt | ||
|
||
Some of these are accessible via the sysctl interface, and many more are | ||
scheduled to be added in this way. For example, some parameters related | ||
to Address Resolution Protocol (ARP) are very easily viewed and altered. | ||
|
||
# cat /proc/sys/net/ipv4/arp_timeout | ||
6000 | ||
# echo 7000 > /proc/sys/net/ipv4/arp_timeout | ||
# cat /proc/sys/net/ipv4/arp_timeout | ||
7000 | ||
|
||
Others are already accessible via the related user space programs. | ||
For example, MAX_WINDOW has a default of 32 k which is a good choice for | ||
modern hardware, but if you have a slow (8 bit) Ethernet card and/or a slow | ||
machine, then this will be far too big for the card to keep up with fast | ||
machines transmitting on the same net, resulting in overruns and receive errors. | ||
A value of about 4 k would be more appropriate, which can be set via: | ||
|
||
# route add -net 192.168.3.0 window 4096 | ||
|
||
The remainder of these can only be presently changed by altering a #define | ||
in the related header file. This means an edit and recompile cycle. | ||
|
||
Paul Gortmaker 06/96 |
Oops, something went wrong.