Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 1996 14:25:24 -0700 (PDT)
From:      Paul Traina <pst>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/netinet tcp_input.c
Message-ID:  <199609202125.OAA01242@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
pst         96/09/20 14:25:23

  Modified:    sys/netinet  tcp_input.c
  Log:
  If the incomplete listen queue for a given socket is full,
  drop the oldest entry in the queue.
  
  There was a fair bit of discussion as to whether or not the
  proper action is to drop a random entry in the queue.  It's
  my conclusion that a random drop is better than a head drop,
  however profiling this section of code (done by John Capo)
  shows that a head-drop results in a significant performance
  increase.
  
  There are scenarios where a random drop is more appropriate.
  If I find one in reality, I'll add the random drop code under
  a conditional.
  
  Obtained from: discussions and code done by Vernon Schryver (vjs@sgi.com).
  
  Revision  Changes    Path
  1.49      +18 -5     src/sys/netinet/tcp_input.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609202125.OAA01242>