Kingdom Come: Deliverance
CPU schedulers benchmark: CFS vs tweaked CFS vs PDS
I used two kernels: vanilla 5.4.59 kernel (to test CFS and tweaked CFS) and 5.4.59 kernel with pds patch applied (to test PDS). Kernel configs are identical across the kernels. To remove GPU bottleneck ingame resolution is set to 960x540 and graphics settings are set to low. Wine version is 5.6-staging with some patches from TkG repo. ESYNC is enabled, FSYNC is disabled. Here are the "tweaked CFS" tweaks: echo 3000 > /proc/sys/kernel/sched_cfs_bandwidth_slice_us echo 3000000 > /proc/sys/kernel/sched_latency_ns echo 300000 > /proc/sys/kernel/sched_min_granularity_ns echo 500000 > /proc/sys/kernel/sched_wakeup_granularity_ns echo 50000 > /proc/sys/kernel/sched_migration_cost_ns echo 128 > /proc/sys/kernel/sched_nr_migrate
Distro: Arch Linux
Kernel: 5.4.59-1-lts
GPU Driver: 4.6 Mesa 20.1.6
GPU: Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X
CPU: Intel Pentium CPU G4620 @ 3.70GHz
RAM: 16 GB
Color | Name | 1% Min | Avg | 97th percentile | Avg % vs CFS |
---|---|---|---|---|---|
CFS | 28 | 47 | 78 | 100.0 % | |
CFS-tweaked | 36 | 59 | 87 | 125.53 % | |
PDS | 40 | 69 | 101 | 146.81 % |