rbruenig / qperf

qperf is a performance measurement tool for QUIC similar to iperf
GNU General Public License v3.0
49 stars 8 forks source link

Low speed in localhost test #15

Open davidfdzp opened 2 years ago

davidfdzp commented 2 years ago

In the example given in the README, the speeds achieved are in the order of Gbit/s, but I am getting ~140 Mbit/s, while iperf gives 2.56 Gbit/s for the same test in localhost in my laptop.

rbruenig commented 2 years ago

That is a little strange. Just tested current version again locally on my machine. Both when running natively under Linux and when running in WSL I get multiple Gbit/s. My last run in WSL:

starting client with host 127.0.0.1, port 18080, runtime 10s, cc reno, iw 10
connection establishment time: 6ms
time to first byte: 6ms
second 0: 3.851 gbit/s (516885948 bytes received)
second 1: 3.887 gbit/s (521769004 bytes received)
second 2: 3.849 gbit/s (516575211 bytes received)
second 3: 3.831 gbit/s (514158027 bytes received)
second 4: 3.863 gbit/s (518484026 bytes received)
second 5: 3.85 gbit/s (516768902 bytes received)
second 6: 3.82 gbit/s (512646838 bytes received)
second 7: 3.817 gbit/s (512257768 bytes received)
second 8: 3.839 gbit/s (515285208 bytes received)
second 9: 3.85 gbit/s (516768872 bytes received)
connection closed

What exact parameters are you using? Are connecting directly to the loopback device or are you using some kind of virtual network (e.g. between docker containers)? What operating system are you using? What hardware are you running?