cvs commit: src/sys/netinet6 raw_ip6.c

Andre Oppermann andre at FreeBSD.org
Thu Nov 20 13:47:22 PST 2003


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 at kame.net (IPv6 parts)
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.35      +3 -6      src/sys/netinet6/raw_ip6.c


More information about the cvs-src mailing list