Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2010 05:37:45 +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:  <201010160538.o9G5c6Hv004191@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
lstewart    2010-10-16 05:37:45 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_reass.c 
  Log:
  SVN rev 213912 on 2010-10-16 05:37:45Z by lstewart
  
  - 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)
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.368     +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?201010160538.o9G5c6Hv004191>