Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vitalif
Copy link

@vitalif vitalif commented May 27, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant