You are not logged in.
Just upgrade and installed these packages
linux
linux-headers
scx-scheds
bpf
How to verify that sched_ext been in use or active should I start scx.service
Or
Edit
/sys/block/sda/queue/schedulerAs Improving_performance wiki print
?!
Last edited by Halano (2024-12-02 14:13:05)
.:HalanoTheSmartMoth:.
Offline
Have you read through https://github.com/sched-ext/scx/blob/main/README.md? Which should answer some of your questions.
/sys/block/sda/queue/schedulerIs the IO scheduler for the block device sda and not related to CPU scheduling.
Offline
Have you read through https://github.com/sched-ext/scx/blob/main/README.md? Which should answer some of your questions.
Thanks I read README.md & got some useful informations , as Im not technical in kernel schedulers
friends recommend to use it for better performance and yet I still can't verify if it's in use or EEVDF that running
[root@archlinux tmp]# scx_bpfland
15:36:38 [INFO] scx_bpfland 1.0.6-g607dfab7-dirty x86_64-unknown-linux-gnu SMT off
15:36:38 [INFO] primary CPU domain = 0x3
15:36:38 [INFO] cpufreq performance level: auto
15:36:38 [INFO] L2 cache ID 0: sibling CPUs: [0, 1]
15:36:38 [INFO] L3 cache ID 0: sibling CPUs: [0, 1]
Error: another sched_ext scheduler is already running
[root@archlinux tmp]# [root@archlinux tmp]# scx_bpfland --monitor 0.5
[scx_bpfland] tasks -> r: 2/2 i: 0 | dispatch -> k: 0 d: 0 s: 18
[scx_bpfland] tasks -> r: 1/2 i: 0 | dispatch -> k: 6 d: 145 s: 34
[scx_bpfland] tasks -> r: 2/2 i: 0 | dispatch -> k: 7 d: 135 s: 34
[scx_bpfland] tasks -> r: 1/2 i: 0 | dispatch -> k: 7 d: 170 s: 49
[scx_bpfland] tasks -> r: 2/2 i: 0 | dispatch -> k: 3 d: 133 s: 36 [root@archlinux tmp]# scx_rustland
Error: another sched_ext scheduler is already runningAlso I don't know what the different between these scx_* tools
maybe because I enabled scx.service
.:HalanoTheSmartMoth:.
Offline
# cat /sys/kernel/sched_ext/state /sys/kernel/sched_ext/*/ops 2>/dev/nullFollow https://github.com/sched-ext/scx/tree/main/scheds for an explanation of each scheduler. Unless the scheduler is the performance bottleneck how will swapping scheduler improve performance?
Last edited by loqs (2024-12-02 13:57:47)
Offline
how will swapping scheduler improve performance?
as Im not technical in kernel schedulers friends recommend
I get it and knowing which one is currently running thanks for help.
.:HalanoTheSmartMoth:.
Offline