CachyOS scx-sheduler is fantastic!

Well , after a fresh install & some pimping around as usual, here s the results @indy

❯ systemctl status scx                                                                                                                        
● scx.service - Start scx_scheduler
     Loaded: loaded (/usr/lib/systemd/system/scx.service; enabled; preset: disabled)
     Active: active (running) since Sat 2024-09-21 11:02:09 EDT; 1min 51s ago
 Invocation: ba148e1bd4484d5c929a13adb17504a3
   Main PID: 697 (scx_lavd)
      Tasks: 4 (limit: 37929)
     Memory: 29.3M (peak: 31M)
        CPU: 154ms
     CGroup: /system.slice/scx.service
             └─697 scx_lavd --autopower

Sep 21 11:02:09 cachyos-x8664 systemd[1]: Started Start scx_scheduler.
Sep 21 11:02:09 cachyos-x8664 bash[697]: 15:02:09 [INFO] scx_lavd scheduler is initialized (build ID: 1.0.4-gfb35fdb-dirty x86_64-unknown-linux->
Sep 21 11:02:09 cachyos-x8664 bash[697]: 15:02:09 [INFO] scx_lavd scheduler starts running.
Sep 21 11:02:09 cachyos-x8664 bash[697]: 15:02:09 [INFO] Set the scheduler's power profile to balanced mode.

Yay!
I found the ‘autopilot’ mode best for my work (playing with LLMs and Diffusion models) on my machine. I don’t play games on Linux at all.

1 Like

Thank you. I have adopted your settings and now apparently no more stuttering in Forza Horizon 5.

2 Likes

Hey @homkie , great! Can I be cheeky and ask why you do gaming on Linux when you can have roughly 30% more FPS on Windows? Is it rebelling against closed-source software? I hate Windows too!

@indy Of course you can ask :slight_smile: That’s exactly it. I had Windows 11 running on my system (7800X3D, RTX 4090), so far everything was fine. All of a sudden it stopped starting ‘UI logon error’, nothing helped. So I switched completely to Linux (Nobara). Then out of curiosity and because I only heard good things, now CachyOS. I’ve mostly only used Linux as a dual boot for the last 20 years, now finally the real thing. Thank God we also use Linux (Suse) on the servers at work. I want to get more involved with Linux as a whole.
How do you get 30% more FPS under Windows? Which game with which settings? I’ve seen benchmarks where it’s more of a neck-and-neck race, sometimes Windows is better sometimes Linux, overall it doesn’t make much difference. Best regards

1 Like

Thanks for the feedback! The devs behind this scheduler are doing a fantastic job!

1 Like

I am sorry for the 30% figure I quoted, which is a sweeping generalisation. Obviously, I was wrong. The only game I have played recently is Star Wars Outlaws, which is the only reason I boot into Windows 11. You have given me the challenge of exploring the Linux gaming scene. Thank you @homkie .

On a different note, once, I tried to get Intel Rapid Storage Tech to work on two 2TB Samsung 990 PRO drives BIOS configured in a RAID 0 array. On Windows, it was straightforward. The only Linux distro that recognised ‘out of the box’ was SUSE. With tinkering, I managed to get it working on Pop OS. Now, one of the drives has Cachy, and the other has Windows 11. Once, I even considered paying for SLED, then used Open SUSE for a while. Then, I found CachyOS.

@iSpeakVeryWell I am going to give your flags a go! Thanks.

❯ systemctl status scx
● scx.service - Start scx_scheduler
     Loaded: loaded (/usr/lib/systemd/system/scx.service; enabled; preset: disabled)
     Active: active (running) since Tue 2024-09-24 10:03:42 BST; 47s ago
 Invocation: 1349345491604f30ac014d90aee55a93
   Main PID: 872 (scx_lavd)
      Tasks: 4 (limit: 115336)
     Memory: 29.7M (peak: 31.5M)
        CPU: 101ms
     CGroup: /system.slice/scx.service
             └─872 scx_lavd --performance --no-core-compaction

Sep 24 10:03:42 cachyos-x8664 systemd[1]: Started Start scx_scheduler.
Sep 24 10:03:43 cachyos-x8664 bash[872]: 09:03:43 [INFO] scx_lavd scheduler is initialized (build ID: >
Sep 24 10:03:43 cachyos-x8664 bash[872]: 09:03:43 [INFO] scx_lavd scheduler starts running.
2 Likes

Oh, do you mind sharing how it improved/changed the SCX compared to

scx_lavd --autopower 

Of which I presently have.I haven t changed it for whatever reasons.

Edit; You don t have too if no time or whatever other reasons ! lol

Hey @altman ! No problemo. I am yet to compare the --autopower v --autopiliot v @iSpeakVeryWell 's flags. It was very clear with Clear Linux with no scheduler where training a LORA causes one core to max out with high temperatures of that particular core. scx_lavd on Cachy OS uses CPU cores efficiently without one core maxing out. Also, the CPU runs much cooler with the same task of training a LORA. I am attaching screenshots of the System Monitor and btop.


1 Like

Thx @indy . Appreciated, I guess that you compile or stuff alike.

I rarely use +BTop, if ever, I bet I should use it more !

Bet that this big ass engine s doing the job at hand.

Just had my Aorus Z790 Master X with a much smaller i5-12400 CPU compared to yours with some t-create 5600 MHz ram, of which can be easily upgraded in some future time.

I just tweak it here & there in the meantime.

What graphics card do you have on your Z790 motherboard?

Oh, a small but trusty EVGA GTX 1080Ti FTW3 GPU, of which I would like to upgrade with a RTX 3080/90 Ti in the future as well.

1 Like

When you upgrade, I highly recommend you play with the three github projects below:
Fooocus
SwarmUI
OneTrainer

Oh, thx , appreciated as well, will check those out & bookmark them for future usage.

1 Like

Pay the extra and get a RTX 4090 :wink:
5090 is just around the corner too.

Bet that it s a bit too large for my Mid-Tower & don t want to change that old Antec P100 tower, ! lol You know when one love his old socks or shirts ! lol

A friend & I, were surprised that an E-ATX MB fittted in there , which it wasn t supposed too.

@indy , you tweaked your RTX4090 with those apps !

RTX 4090’s 20GB VRAM plays nicely with those projects. Also, to play with large language models (ollama is a good project to start with), the more VRAM, the merrier.

You re into programmings & compiling, something alike I would think of,

I must say thx for the tips in there @indy

1 Like