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

Add --single-ended flag to iperf2 and iperf3 #456 #599

Merged
merged 4 commits into from
May 17, 2018
Merged

Conversation

vvidic
Copy link
Contributor

@vvidic vvidic commented Mar 15, 2018

Allows running throughput tests against servers running only
iperf2/iperf3 server on the default port.

Allows running throughput tests against servers running only
iperf2/iperf3 server on the default port.
@mfeit-internet2
Copy link
Member

This needs to go through the process of incrementing the schema version for the test; failure to do that will result in confusing error messages when a task with the new switch is presented to a pScheduler that doesn't support it.

@vvidic
Copy link
Contributor Author

vvidic commented Mar 15, 2018 via email

@laeti-tia
Copy link
Member

@mfeit-internet2 For the schema version increment, is it only the version field in https://github.com/perfsonar/pscheduler/blob/master/pscheduler-test-throughput/throughput/enumerate ? Shall we increase it to 1.1?

@vvidic Having an option like --single-ended-port=1234 would be nice, yes.

@mfeit-internet2
Copy link
Member

mfeit-internet2 commented Mar 27, 2018

@ToniN There's a bit more to it than that. If things are added or removed from what would be a valid test spec, there has to be a "schema": n member, where n is a version number (different from the package version) that gets incremented. The default is 1, which is where most of our stuff is.

I'll try and get something about how to do it written up and put in the pScheduler wiki this week.

@mfeit-internet2
Copy link
Member

First cut of info on schema evolution: https://github.com/perfsonar/pscheduler/wiki/Schema-Evolution

Valentin Vidic added 2 commits April 3, 2018 13:43
Allows running throughput tests against servers running only
iperf2/iperf3 server on non-default port.
@vvidic
Copy link
Contributor Author

vvidic commented Apr 3, 2018 via email

Adds support for single-ended and single-ended-port properties.
@vvidic
Copy link
Contributor Author

vvidic commented Apr 16, 2018

Schema now updated too, so please review again.

@vvidic
Copy link
Contributor Author

vvidic commented May 17, 2018

Let me know if we need to update anything here?

@mfeit-internet2
Copy link
Member

If you've tested the changes and are comfortable with it going to production, I'll pull it. My only hang-up was the schema numbering.

@vvidic
Copy link
Contributor Author

vvidic commented May 17, 2018 via email

Copy link
Member

@laeti-tia laeti-tia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the single-ended-port is the port on the target iperf host, I think the default value should be the default iperf port (5201).

@@ -27,6 +27,8 @@ def test_all_options(self):
"congestion": {"val": "reno" },
"client-cpu-affinity": {"val": "1" },
"server-cpu-affinity": {"val": "0" },
"single-ended": {},
"single-ended-port": { "val": "5000" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to not use the regular 5201 iperf port?

@laeti-tia laeti-tia added this to the sprint-20180521 milestone May 17, 2018
@vvidic
Copy link
Contributor Author

vvidic commented May 17, 2018 via email

@laeti-tia laeti-tia merged commit e910f2e into master May 17, 2018
@laeti-tia laeti-tia deleted the single-ended branch May 17, 2018 17:33
@laeti-tia
Copy link
Member

All is good then, merged!

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.

None yet

3 participants