pop-os / system76-scheduler

Auto-configure CFS and process priorities for improved desktop responsiveness
Mozilla Public License 2.0
545 stars 33 forks source link

Feature Request: allow disabling CFS tweaks #74

Closed BayLee4 closed 1 year ago

BayLee4 commented 1 year ago

It would be great to allow disabling CFS tweaks, as it would help when it's already handled manually, or more simply when one doesn't want to change the default which comes with its kernel.

A use_cfstweaks: true|false in the config.ron would be perfect

mmstick commented 1 year ago

A new config format will be used that will look like this:

// CFS latency adjustments
cfs enable=true {
    default latency=6 nr-latency=8 wakeup_granularity=1.0 bandwidth-size=5 preempt="voluntary"
    responsive latency=4 nr-latency=10 wakeup_granularity=0.5 bandwidth-size=3 preempt="full"
}