Difference: BandwidthMeasurementScripts (1 vs. 5)

Revision 52007-02-06 - TobyRodwell

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Scripts for Bandwidth Measurement

The information available from active tests such as BWCTL can be enhanced by embedding them in scripts which collect TCP stats before and even during the BWCTL test.

UNIX/Linux Scripts

Changed:
<
<
  • BWCTL Script by Toby Rodwell From an idea by Baruch Even (the Hamilton Institute) this script captures 'netstat' statisitics before and after a BWCTL run, and during the run periodically executes the command /usr/sbin/ss which shows socket state, including (importantly) the value for cwnd and ssthresh. Informal, non-rigorous testing indicates that in order to avoid reducing the achieveable throughput then (on a Pentium 4 3GHz, 512MB RAM device) the 'ss' command should not be run more frequently than every 0.1 or 0.2s
>
>
  • BWCTL Script by Toby Rodwell (new version required for Linux 2.6.19) From an idea by Baruch Even (the Hamilton Institute) this script captures 'netstat' statisitics before and after a BWCTL run, and during the run periodically executes the command /usr/sbin/ss which shows socket state, including (importantly) the value for cwnd and ssthresh. Informal, non-rigorous testing indicates that in order to avoid reducing the achieveable throughput then (on a Pentium 4 3GHz, 512MB RAM device) the 'ss' command should not be run more frequently than every 0.1 or 0.2s
 
    • Scipt usage:- tcptest <target BWCTL server> <test duration in seconds> <'ss' check interval in seconds>
    • Example command:- tcptest sri.geant.net 60 0.2
    • Example results of script

Revision 42006-08-04 - TobyRodwell

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Scripts for Bandwidth Measurement

The information available from active tests such as BWCTL can be enhanced by embedding them in scripts which collect TCP stats before and even during the BWCTL test.

UNIX/Linux Scripts

Changed:
<
<
  • BWCTL Script by Toby Rodwell From an idea by Baruch Even (the Hamilton Institute) this script captures 'netstat' statisitics before and after a BWCTL run, and during the run periodically executes the command /usr/sbin/ss which shows socket state, including (importantly) the vlaue for cwnd and ssthresh. Informal, non-rigorous testing indicates that in order to avoid reducing the achieveable throughput then (on a Pentium 4 3GHz, 512MB RAM device) the 'ss' command should not be run more frequently than every 0.1 or 0.2s
>
>
  • BWCTL Script by Toby Rodwell From an idea by Baruch Even (the Hamilton Institute) this script captures 'netstat' statisitics before and after a BWCTL run, and during the run periodically executes the command /usr/sbin/ss which shows socket state, including (importantly) the value for cwnd and ssthresh. Informal, non-rigorous testing indicates that in order to avoid reducing the achieveable throughput then (on a Pentium 4 3GHz, 512MB RAM device) the 'ss' command should not be run more frequently than every 0.1 or 0.2s
 
    • Scipt usage:- tcptest <target BWCTL server> <test duration in seconds> <'ss' check interval in seconds>
    • Example command:- tcptest sri.geant.net 60 0.2
    • Example results of script

Revision 32006-06-29 - TobyRodwell

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Scripts for Bandwidth Measurement

The information available from active tests such as BWCTL can be enhanced by embedding them in scripts which collect TCP stats before and even during the BWCTL test.

UNIX/Linux Scripts

  • BWCTL Script by Toby Rodwell From an idea by Baruch Even (the Hamilton Institute) this script captures 'netstat' statisitics before and after a BWCTL run, and during the run periodically executes the command /usr/sbin/ss which shows socket state, including (importantly) the vlaue for cwnd and ssthresh. Informal, non-rigorous testing indicates that in order to avoid reducing the achieveable throughput then (on a Pentium 4 3GHz, 512MB RAM device) the 'ss' command should not be run more frequently than every 0.1 or 0.2s
Changed:
<
<
    • Scipt usage:- tcptest <'ss' check interval>
>
>
    • Scipt usage:- tcptest <target BWCTL server> <test duration in seconds> <'ss' check interval in seconds>
    • Example command:- tcptest sri.geant.net 60 0.2
 

Revision 22006-06-29 - TobyRodwell

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Scripts for Bandwidth Measurement

The information available from active tests such as BWCTL can be enhanced by embedding them in scripts which collect TCP stats before and even during the BWCTL test.

UNIX/Linux Scripts

  • BWCTL Script by Toby Rodwell From an idea by Baruch Even (the Hamilton Institute) this script captures 'netstat' statisitics before and after a BWCTL run, and during the run periodically executes the command /usr/sbin/ss which shows socket state, including (importantly) the vlaue for cwnd and ssthresh. Informal, non-rigorous testing indicates that in order to avoid reducing the achieveable throughput then (on a Pentium 4 3GHz, 512MB RAM device) the 'ss' command should not be run more frequently than every 0.1 or 0.2s
Added:
>
>
    • Scipt usage:- tcptest <'ss' check interval>
 

Revision 12006-06-25 - TobyRodwell

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Scripts for Bandwidth Measurement

The information available from active tests such as BWCTL can be enhanced by embedding them in scripts which collect TCP stats before and even during the BWCTL test.

UNIX/Linux Scripts

  • BWCTL Script by Toby Rodwell From an idea by Baruch Even (the Hamilton Institute) this script captures 'netstat' statisitics before and after a BWCTL run, and during the run periodically executes the command /usr/sbin/ss which shows socket state, including (importantly) the vlaue for cwnd and ssthresh. Informal, non-rigorous testing indicates that in order to avoid reducing the achieveable throughput then (on a Pentium 4 3GHz, 512MB RAM device) the 'ss' command should not be run more frequently than every 0.1 or 0.2s

-- TobyRodwell - 25 Jun 2006

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2004-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.