qperf icon indicating copy to clipboard operation
qperf copied to clipboard

Disable Nagle for testing (TCP_NODELAY), allow to change message size for socket tests

Open vitalif opened this issue 5 years ago • 0 comments

Hi! Current qperf always uses hard-coded message sizes for tests. Notably, 1 byte for tcp_lat and 32K for tcp_bw. Testing latency with 1 byte messages is a bit... incorrect. It's also incorrect without setting TCP_NODELAY. This PR fixes both problems.

vitalif avatar May 27 '20 22:05 vitalif