-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Server-side limiting switches #615
Comments
OK, I'm pondering this. I think I understand your concern for protecting the server process. You're quite right that there can be transient intervals where the bitrate exceeds the target. We can also have tests running longer (but not much longer) than specified with
|
1a. The other reason I'd like the tool to exit on its own is for diagnostics. If it exits and explains why, that's more useful than our ham-fisted "we killed it because it ran longer than expected." The latter is in place as a watchdog so we can be positive the test has been shut down before its scheduled time ends.
Iperf2 and Nuttcp have the same vulnerability. If we can't convince the maintainers of those programs to do the same thing, sites have the option of rendering pScheduler unaware they exist by un-installing their plugins. This isn't a high-priority thing, either, so ponder it all you need. |
There is nothing I can add to this, but to thank you guys! |
One more point I'd like to add: If a perfSONAR admin wants to limit bandwidth for the entire host, they should really do that using tc:
But if they want to limit some users to bandwidth X, and others to bandwidth Y, this would be useful. |
FQ's only going to affect outbound traffic, which we have a way to handle even without it. Either way, the downside to using TC is that the throttling becomes a characteristic of the network and it leaves are no hints to anyone looking at run diagnostics that it was a factor. |
The server-side time limit is also discussed in #354. |
In perfsonar/pscheduler#518, I opined that bandwidth curbs imposed by the limits in perfSONAR are on the honor system because the destination (iperf3 server-side) participant has to trust that the source (client-side) will throttle itself to the agreed-upon maximum speed.
I'd like to propose the addition/re-use of these switches for the server mode as a way for the pScheduler iperf3 plugin to enforce some of the limits
-b
- Forcibly terminates the test if the measured bandwidth during any interval exceeds the specified value. (I'd also be interested in hearing your feedback on what kind of measures could or should be taken to soften this in light of the fact that every so often the results contain an outlier.)-t
- Forcibly terminates the test if it runs longer than the specified time.-u
- Allows the client to request UDP.While not a perfect solution, this would give the receiving end a way to end its involvement if it thinks the client is holding up its end of the bargain.
The text was updated successfully, but these errors were encountered: