What is best TCP throughput benchmarking tool?

Eugene Grosbein eugen at grosbein.net
Fri Oct 19 19:45:59 UTC 2018


20.10.2018 2:27, Lev Serebryakov wrk:

> 
>  I need to benchmark different endpoint (not router) network performance
> with different encapsulations (if_gre, if_gif) and with/without IPsec
> (including if_ipsec).
> 
>  What is suitable traffic generator/receiver for me?
> 
>  I'm trying to use benchmarks/iperf3, but it consumes questionable
> amount of CPU in several cases and maybe benchmark becomes limited by
> user-side CPU consuming, which is bad.
> 
>  I've tried "benchmarks/netperf" — it hangs with non-default window size.
> 
>  I've tried "benchmarks/netperfmeter" — it doesn't work without SCTP in
> kernel.
> 
>  Please note, that I'm testing endpoint, not a router, so netmap-based
> packet generators & receivers is no use for me, unfortunately.

Try benchmarks/wrk. It works pretty well for speeds lower than 40Gbit/s
but its version 4.0.2 had its own rough edges demanding a router between TCP endpoints.
I have not tried its newer versions, though.

 



More information about the freebsd-net mailing list