qperf
qperf copied to clipboard
Disable Nagle for testing (TCP_NODELAY), allow to change message size for socket tests
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.