Benchmark : Clear Linux vs The Rest


1 Like
(sudo) chrt -f 99 ./myprogram

With the PREEMPT_RT patch merged into Linux 6.12, the kernel will become more preemptible and predictable, which is crucial for real-time applications. This means that the chrt command will be able to set and manage real-time scheduling attributes in a more reliable and efficient manner.

2 Likes

Apart from the CL install, I have Cachy OS installed on another drive. The Cachy OS kernel is a patched kernel to improve performance. I ran the same ML task on both distros. Compared to Cachy OS, CL uses one core that maxes out, and the CPU runs hotter. Cachy OS appear to use CPU cores more efficiently, and the CPU runs cooler.

❯ uname -a
Linux cachyos-x8664 6.11.1-2-cachyos #1 SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 17:37:48 +0000 x86_64 GNU/Linux

~/project/ComfyUI remotes/origin/patch_hooks~48
❯ systemctl status scx
● scx.service - Start scx_scheduler
     Loaded: loaded (/usr/lib/systemd/system/scx.service; enabled; preset: disabled)
     Active: active (running) since Fri 2024-10-04 11:09:47 BST; 3h 53min ago
 Invocation: f50c2206409143f2925b533fb67c681e
   Main PID: 881 (scx_lavd)
      Tasks: 4 (limit: 115368)
     Memory: 27.9M (peak: 29.3M)
        CPU: 648ms
     CGroup: /system.slice/scx.service
             └─881 scx_lavd --performance --no-core-compaction

Oct 04 11:09:47 cachyos-x8664 systemd[1]: Started Start scx_scheduler.
Oct 04 11:09:47 cachyos-x8664 bash[881]: 10:09:47 [INFO] scx_lavd scheduler is initialized (build ID: 1.0.5-g7402895-dirty x86_64-unknown-l>
Oct 04 11:09:47 cachyos-x8664 bash[881]: 10:09:47 [INFO] scx_lavd scheduler starts running.


1 Like

CL screenshots:

indy@mlrig~ $ uname -a
Linux mlrig 6.10.12-1467.native #1 SMP Mon Sep 30 08:03:46 PDT 2024 x86_64 GNU/Linux
indy@mlrig~ $ systemctl status scx
Unit scx.service could not be found.


1 Like