cvs commit: src/sys/netinet tcp_subr.c
rwatson at FreeBSD.org
Sun Feb 13 21:35:55 GMT 2005
rwatson 2005-02-13 21:35:54 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
Merge tcp_subr.c:1.216-1.217 from HEAD to RELENG_5:
date: 2005/01/30 23:30:28; author: rwatson; state: Exp; lines: +1 -1
Have tcp_isn_tick() fire 100 times a second, rather than HZ times a
second; since the default hz has changed to 1000 times a second,
this resulted in unecessary work being performed.
Discussed with: phk, cperciva
General head nod: silby
date: 2005/01/31 01:35:01; author: rwatson; state: Exp; lines: +1 -1
Update an additional reference to the rate of ISN tick callouts that was
missed in tcp_subr.c:1.216: projected_offset must also reflect how often
the tcp_isn_tick() callout will fire.
Submitted by: silby
Note that although the default has not changed for HZ on i386 in RELENG_5,
many sites run with elevated HZ for the purposes of DUMMYNET, etc. This
will reduce the CPU overhead of this.
Revision Changes Path
22.214.171.124 +2 -2 src/sys/netinet/tcp_subr.c
More information about the cvs-all