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
run plugins and compression with I/O idle class #1844
Comments
We generally leave things like this to the control of the administrator - they are in the best position to know what's appropriate for their system (and the urgency of the data collection). There's no reason that users can't control this today with standard tools - like CPU priority and scheduling class, the We can add defaults and convenience settings of things like this if there is a broad consensus but this is difficult since different distros and users may want to control things in different ways (e.g. |
I think policy defined settings would be a good approach here. We could leave the default behavior the same as we have today - I.E. no restrictions or limitations on resource usage. We then add a In this scenario, users wouldn't have the direct ability to modify the way sos restricts itself. You either run unrestricted, or run in a policy-specific defined way (E.G. If you as a user don't like how the policy does it, you still have the option of doing this configuration yourself "outside" of sos (just like today). |
Cycling around on this, I'm not sure how realistic this is for us to implement in any meaningful way.
There may be some merit in a I'm leaning towards closing this out due to being out of scope for the sos project to implement. |
I'm going to close this out at this point. The posts above explain the technical challenges in doing something like this for sos, even in a policy-controlled fashion. Beyond that, the typical expectation is for sysadmins to control aspects like nice-ness if there is a desire for non-default behavior. If a method becomes available to control this easily from a sos-wide perspective that doesn't involve either distribution-specific dependencies or wrapping collections in more layers (e.g. running behind |
Why not provide an option for a containerized version of sos, run from within a container with appropriate privileges, but just resource constrained by the |
It's of course an option for end users to run sos in a container. There's even |
In at least version 3.6-1ubuntu0.16.04.3 and 3.6-1ubuntu0.18.04.3, neither the sosreport process itself, nor (and more importantly) the compression binary are run with an explicit I/O nice class.
This results in the use of the best-effort class, and can cause serious iowait on hosts with limited I/O capabilities:
I propose any command sosreport runs to be reniced to use the idle class, or at least a low-priority best-effort profile.
The text was updated successfully, but these errors were encountered: