Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2002 12:06:12 -0700 (PDT)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet tcp_subr.c tcp_timer.c tcp_timer.h
Message-ID:  <200207181906.g6IJ6CJI048667@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2002/07/18 12:06:12 PDT

  Modified files:
    sys/netinet          tcp_subr.c tcp_timer.c tcp_timer.h 
  Log:
  Introduce two new sysctl's:
  
  net.inet.tcp.rexmit_min (default 3 ticks equiv)
  
      This sysctl is the retransmit timer RTO minimum,
      specified in milliseconds.  This value is
      designed for algorithmic stability only.
  
  net.inet.tcp.rexmit_slop (default 200ms)
  
      This sysctl is the retransmit timer RTO slop
      which is added to every retransmit timeout and
      is designed to handle protocol stack overheads
      and delayed ack issues.
  
  Note that the *original* code applied a 1-second
  RTO minimum but never applied real slop to the RTO
  calculation, so any RTO calculation over one second
  would have no slop and thus not account for
  protocol stack overheads (TCP timestamps are not
  a measure of protocol turnaround!).  Essentially,
  the original code made the RTO calculation almost
  completely irrelevant.
  
  Please note that the 200ms slop is debateable.
  This commit is not meant to be a line in the sand,
  and if the community winds up deciding that increasing
  it is the correct solution then it's easy to do.
  Note that larger values will destroy performance
  on lossy networks while smaller values may result in
  a greater number of unnecessary retransmits.
  
  Revision  Changes    Path
  1.137     +3 -1      src/sys/netinet/tcp_subr.c
  1.52      +8 -0      src/sys/netinet/tcp_timer.c
  1.21      +21 -4     src/sys/netinet/tcp_timer.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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