Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can anyone point to a program similar to iperf, which avoids biasing of the connection bandwidth measurement due to connection compression enabled?

It seems that iperf measures the connection spedd by sending some zero data across the connection. When measuring the connection with enabled compression (like openvp tunnel) such data that is sent is compressed effectively, and data transfer measurement is not accurate.

Please advise the program (or way to use iperf) so that the compression is negligible (like in case of sending the /dev/urandom or /dev/random prepared chunks).

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Looks like I've found the solution: iperf itself has an option to use prepared data for transfer. The option is -F. In case we want to pipe the data from another application to iperf, one may use -I option (read data from stdin).

The test routine I used is as follows (using 1GB file):

dd if=/dev/urandom of=/tmp/urandom.dat bs=1M count=1000
iperf -c iperf-server -F /tmp/urandom.dat
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.