system76-scheduler icon indicating copy to clipboard operation
system76-scheduler copied to clipboard

Feature Request: ability to suspend/resume scheduling changes

Open nerdboy4200 opened this issue 2 years ago • 1 comments

I do development on my system that uses the system76-scheduler daemon. The problem is that every so often - I want to do benchmark tests - and due to the way that the scheduler works - it will re-nice the processes. When I am not doing a benchmark - this is fine - since it gets changed on demand.

This would be nicer than trying to prevent the daemon from running.

Would it be possible to add a few dbus messages with the ability to make the scheduler suspend and resume changing priorities? This would allow me to use something like dbus-send during benchmarking and testing software.

nerdboy4200 avatar May 07 '22 21:05 nerdboy4200

Can you use systemctl stop com.system76.Scheduler and then start it after?

mmstick avatar May 09 '22 11:05 mmstick