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

option to run a test to an iperf3 server directly #456

Closed
bltierney opened this issue May 25, 2017 · 5 comments
Closed

option to run a test to an iperf3 server directly #456

bltierney opened this issue May 25, 2017 · 5 comments
Assignees

Comments

@bltierney
Copy link
Contributor

possible enhancement for 4.1: The ability for a 'perfsonar-testpoint' host to be able to run a throughput test to/from a host just running an iperf3 server, and no pscheduler.

The iperf3 server will only accept 1 test at a time, so if the test fails, there should be an error message that says "server busy, try again later" and/or an option to automatically retry later.

@mfeit-internet2
Copy link
Member

mfeit-internet2 commented May 25, 2017

See https://lists.internet2.edu/sympa/arc/perfsonar-user/2017-05/msg00098.html for commentary on how to do this with the current system.

I suppose we could alter the throughput test to allow single-ended testing in one direction.

@laeti-tia
Copy link
Member

I think it would be nice to be able to schedule recurring throughput measurements to a standalone iperf3 server, and be able to archive and plot these measurements with the toolkit. This way we could do measurements to hosts not running perfSONAR nor pscheduler but only iperf3, possibly under powered hosts or hosts running other OS that the ones supported by pscheduler/perfSONAR.

@laeti-tia
Copy link
Member

@mfeit-internet2, @arlake228 can we revisit this for 4.1 by having the iperf3 tool plugin able to support a single participant test like owping does (IIRC from our discussion in the F2F)? If yes and this is a relatively easy task, you can assign it to me.

@laeti-tia laeti-tia self-assigned this Aug 30, 2017
@mfeit-internet2
Copy link
Member

Discussed this during yesterday's call. It can probably be done without too much heartburn.

We'd need to add a --single-ended switch to the test and modify the participants method to produce a list of one or two depending on whether or not it's present.

The tool(s) would need to decline single-ended tests if they're not equipped to handle it. For the iperf2/3 case, the tool would have to check and see if it's a one- or two-participant test and assume the default ports. (The iperf tool's second participant puts a server_port item in the participant data that's consumed by the first.) I do not want to get into the business of doing tool-specific parameter pass-throughs in tests, because I think it's the wrong way to go about it.

We also need to make it clear in the docs that tests in this mode are done subject to the submitter understanding what the tool's defaults are and having the non-pScheduler end set up correctly.

vvidic pushed a commit that referenced this issue Mar 15, 2018
Allows running throughput tests against servers running only
iperf2/iperf3 server on the default port.
@vvidic vvidic added this to the sprint-20180326 milestone Mar 15, 2018
vvidic pushed a commit that referenced this issue Apr 3, 2018
Allows running throughput tests against servers running only
iperf2/iperf3 server on non-default port.
laeti-tia added a commit that referenced this issue May 17, 2018
Add --single-ended flag to iperf2 and iperf3  #456
@laeti-tia
Copy link
Member

All merged. We also probably need some options in the toolkit GUI to be able to add such a test from there too.

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

No branches or pull requests

5 participants