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

Add benchmark to README.md file #81

Open qarmin opened 1 year ago

qarmin commented 1 year ago

In readme file I see

These changes result in a noticeable improvement in the experienced smoothness
and performance of applications and games.

but how big is improvement on older/newer machines? 0.05, 0.5, 5 or 50%

Adding benchmark like https://flightlessmango.com/benchmarks/rM7Rfu4swVQ would let users know what kind of increase (or decrease) in performance they can expect

mmstick commented 1 year ago

There's a lot of variables that affect the outcome, so it can't be described in a single statistic. It will vary based on the configuration you use, the hardware you have, and the kind of workload you're doing with it.

The service is changing priorities of processes automatically, so you will see some improvement in response times and throughout for the prioritized processes, and reduced performance from background processes. How much of an improvement will depend on how much resources were being absorbed by the background processes that could have been given to the foreground processes.

The main goal is to eliminate possible causes of microstutters that can happen if a background service or task suddenly starves the system of resources. And the next update to be merged will extend the prioritization to pipewire-connected processes to ensure they're able to play audio without stutters.