summaryrefslogtreecommitdiffstats
path: root/sys/vm/swap_pager.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2003-10-24 05:44:14 +0000
committersilby <silby@FreeBSD.org>2003-10-24 05:44:14 +0000
commit4390f0545904e8fe638e4fbb365000ec229a7c3a (patch)
treefb1b0677457cd015641c4e2b20a0e8f30936c317 /sys/vm/swap_pager.c
parent05b0056432194711845d7ed2d787081ed3c8c18d (diff)
downloadFreeBSD-src-4390f0545904e8fe638e4fbb365000ec229a7c3a.zip
FreeBSD-src-4390f0545904e8fe638e4fbb365000ec229a7c3a.tar.gz
Reduce the number of tcp time_wait structs to maxsockets / 5; this ensures
that at most 20% of sockets can be in time_wait at one time, ensuring that time_wait sockets do not starve real connections from inpcb structures. No implementation change is needed, jlemon already implemented a nice LRU-ish algorithm for tcp_tw structure recycling. This should reduce the need for sysadmins to lower the default msl on busy servers.
Diffstat (limited to 'sys/vm/swap_pager.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud