cvs commit: src/sys/netinet/libalias alias_db.c alias_local.h
Alexander Motin
mav at FreeBSD.org
Sun Jun 1 18:35:19 UTC 2008
mav 2008-06-01 18:35:19 UTC
FreeBSD src repository
Modified files:
sys/netinet/libalias alias_db.c alias_local.h
Log:
SVN rev 179480 on 2008-06-01 18:34:58Z by mav
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.73 +22 -67 src/sys/netinet/libalias/alias_db.c
1.36 +1 -3 src/sys/netinet/libalias/alias_local.h
More information about the cvs-src
mailing list