Changes between Version 38 and Version 39 of PerformanceTesting


Ignore:
Timestamp:
05/24/12 08:04:38 (12 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PerformanceTesting

    v38 v39  
    229229== Generating network traffic ==
    230230
    231 [http://iperf.sourceforge.net/ Iperf] can be used to generate network traffic. It has previously been used to tune OpenVPN performance: look [wiki:Gigabit_Networks_Linux here].
     231[http://iperf.sourceforge.net/ Iperf] can be used to generate network traffic. It has previously been used to tune OpenVPN performance: look [wiki:Gigabit_Networks_Linux here]. There are a few caveats when using iperf as described by Jason Haar ([http://thread.gmane.org/gmane.network.openvpn.user/33252/focus=33269 original message] on openvpn-users mailing list).
     232
     233{{{
     234FWIW iperf doesn't send random data - it's sends the ASCII sequence over
     235and over again. i.e. it is "compressible" depending on what lies
     236between. We have Riverbeds here and I was amazed how our 10Mbs WAN links
     237suddenly jumped to 1Gbs according to iperf! Ended up the Riverbeds were
     238able to do a lot of smoke-n-mirrors with iperf traffic
     239
     240You can run iperf as "iperf -c ser.ver.name -F /tmp/big.zip.file" so
     241that it is actually sending (effectively) random data - in order to
     242remove some of the potential tricks that could lie between your client
     243and server.
     244
     245Also, "iperf -c ser.ver.name -P 4" is a good way of measuring BANDWIDTH
     246instead of THROUGHPUT - which a standard single-channel TCP stream measures
     247}}}
    232248
    233249== Collecting data ==