From owner-cvs-src@FreeBSD.ORG Sun Jun 1 18:35:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEEA910656D5; Sun, 1 Jun 2008 18:35:19 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 86F7E8FC0C; Sun, 1 Jun 2008 18:35:19 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m51IZJ61078002; Sun, 1 Jun 2008 18:35:19 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m51IZJp5078001; Sun, 1 Jun 2008 18:35:19 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <200806011835.m51IZJp5078001@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Sun, 1 Jun 2008 18:34:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet/libalias alias_db.c alias_local.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 18:35:19 -0000 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