Date: Thu, 20 Nov 2003 13:47:20 -0800 (PST) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet6 raw_ip6.c Message-ID: <200311202147.hAKLlKmZ005242@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2003/11/20 13:47:20 PST FreeBSD src repository Modified files: sys/netinet6 raw_ip6.c Log: Introduce tcp_hostcache and remove the tcp specific metrics from the routing table. Move all usage and references in the tcp stack from the routing table metrics to the tcp hostcache. It caches measured parameters of past tcp sessions to provide better initial start values for following connections from or to the same source or destination. Depending on the network parameters to/from the remote host this can lead to significant speedups for new tcp connections after the first one because they inherit and shortcut the learning curve. tcp_hostcache is designed for multiple concurrent access in SMP environments with high contention and is hash indexed by remote ip address. It removes significant locking requirements from the tcp stack with regard to the routing table. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl) Revision Changes Path 1.35 +3 -6 src/sys/netinet6/raw_ip6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311202147.hAKLlKmZ005242>