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

netserver exits early when netperf -s option use a too large delay seconds (>4s) #77

Open
fhvkqtdh opened this issue Sep 12, 2023 · 1 comment

Comments

@fhvkqtdh
Copy link

fhvkqtdh commented Sep 12, 2023

netperf -s 15 -t TCP_STREAM -l 20

output:

MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to localhost () port 0 AF_INET : histogram : interval : dirty data : demo
send_data: data send error: Connection reset by peer (errno 104)
netperf: send_omni: send_data failed: Connection reset by peer

@fhvkqtdh
Copy link
Author

fhvkqtdh commented Sep 12, 2023

src/nettest_bsd.c:5287

start_timer(tcp_stream_request->test_length + PAD_TIME);

The timer of test is (test_length+PAD_TIME) seconds, PAD_TIME = 4.
Can we add the delay seconds of netperf -s option to this timer?

@fhvkqtdh fhvkqtdh changed the title netserver: when netperf -s option use a too large delay seconds (>4s), netserver will exit early and test failed netserver: netserver exits early when netperf -s option use a too large delay seconds (>4s) Sep 12, 2023
@fhvkqtdh fhvkqtdh changed the title netserver: netserver exits early when netperf -s option use a too large delay seconds (>4s) netserver exits early when netperf -s option use a too large delay seconds (>4s) Sep 12, 2023
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

No branches or pull requests

1 participant