Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 2010 10:26:49 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet tcp_reass.c
Message-ID:  <201011061027.oA6AR6QR023868@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
lstewart    2010-11-06 10:26:49 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/netinet          tcp_reass.c 
  Log:
  SVN rev 214865 on 2010-11-06 10:26:49Z by lstewart
  
  MFC r213912:
  
  - Switch the "net.inet.tcp.reass.cursegments" and
    "net.inet.tcp.reass.maxsegments" sysctl variables to be based on UMA zone
    stats. The value returned by the cursegments sysctl is approximate owing to
    the way in which uma_zone_get_cur is implemented.
  
  - Discontinue use of V_tcp_reass_qsize as a global reassembly segment count
    variable in the reassembly implementation. The variable was used without
    proper synchronisation and was duplicating accounting done by UMA already. The
    lack of synchronisation was particularly problematic on SMP systems
    terminating many TCP sessions, resulting in poor TCP performance for
    connections with non-zero packet loss.
  
  Sponsored by:   FreeBSD Foundation
  Reviewed by:    andre, gnn, rpaulo (as part of a larger patch)
  
  Revision   Changes    Path
  1.364.2.5  +23 -13    src/sys/netinet/tcp_reass.c



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