20.10.2018 6:03, Lev Serebryakov wrote:

>>>>>  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.
>>>  Looks like benchmark/wrk is HTTP benchmark, opposite to what I need...
>> Together with nginx, wrk can serve as quick TCP traffic generator/receiver.
>> I've used them in 40G environment with success.
>  To be honest, I don't want to run nginx on both ends (and I need to test
> both directions) and it is hard to control time of one connection (by
> sending file size?) and monitor speed in test progress...

You do not need to micro-control this. The wrk provides you with nice stats
plus you have counters of "systat -ifstat 1" during long test.

>  All these tools — wrk, nginx — are optimized for many concurrent
> connections on powerful hardware and looks like overkill to test one
> connection bandwidth on Atom CPU.

You can choose number of concurrent connections yourself while running wrk.
 
>  BTW, how to configure nginx to server 16G+ file without any disk access?
> One big hole on tmpfs? :)

You do not need large disk file in case of wrk+nginx. Make small-sized tmpfs
with single several megabytes-sized file, and that's all.


_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to