cvs commit: src/sys/netinet/libalias alias_db.c alias_local.h
Alexander Motin
mav at FreeBSD.org
Mon Jun 23 14:28:40 UTC 2008
mav 2008-06-23 14:28:32 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/netinet/libalias alias_db.c alias_local.h
Log:
SVN rev 179954 on 2008-06-23 14:28:32Z by mav
MFC r179480, r179924:
Increase LINK_TABLE_OUT_SIZE from 101 to 4001 like LINK_TABLE_IN_SIZE
to reduce performance degradation under heavy outgoing scan/flood.
Scalability is now much more important then several kilobytes of RAM.
Remove unneded TCP-specific expiration handeling. Before this connected
TCP sessions could never expire. Now connected TCP sessions will expire
after 24hours of inactivity.
Simplify HouseKeeping() to avoid several mul/div-s per packet. Taking into
account increased LINK_TABLE_OUT_SIZE, precision is still much more then
required.
Revision Changes Path
1.71.2.1 +22 -63 src/sys/netinet/libalias/alias_db.c
1.34.2.1 +1 -3 src/sys/netinet/libalias/alias_local.h
More information about the cvs-src
mailing list