You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemd-run allows to set the niceness level with systemd-run --nice=19 .... Would be nice if we could spawn kernels with reduced niceness to reduce their priority.
Alternative options
it might be possible to start a slice with a given niceness and start the kernels in this slice
or jupyterhub itself could be run with reduced niceness and the kernels would inherit this (although this is not desirable)
I think it's not possible to set the niceness via --property=Nice=19 - Let me know if I am wrong.
Who would use this feature?
Sysadmins who'd like to reduce the priority of the kernels run on the system.
(Optional): Suggest a solution
add a Nice traitlet to SystemdSpawner, defaulting to None
expand the systemd-run command in start_transient_service
It might actually work via property. However, I could not really test it as the systemd version of my servers is still too old (currently: systemd 234; required systemd 244 (or 246) and higher). For a quick test:
Proposed change
systemd-run
allows to set the niceness level withsystemd-run --nice=19 ...
. Would be nice if we could spawn kernels with reduced niceness to reduce their priority.Alternative options
--property=Nice=19
- Let me know if I am wrong.Who would use this feature?
Sysadmins who'd like to reduce the priority of the kernels run on the system.
(Optional): Suggest a solution
Nice
traitlet toSystemdSpawner
, defaulting toNone
systemd-run
command instart_transient_service
I am happy to open a PR if there's a chance to get this in.
The text was updated successfully, but these errors were encountered: