Snakeoil Forums

Full Version: CPUset not working in Ubuntu 22.04
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Installed 22.04 with aim to try the native real time kernel.  However, unable to get CPUset running.  I tried using both SnakeOil and my own cset commands, but failed.

Using this command:
sudo cset shield -c 1-3
mount: /cpusets: none already mounted on /run/credentials/systemd-sysusers.service.
cset: **> mount of cpuset filesystem failed, do you have permission?

This thread discusses the issues, but it is beyond my knowledge and ability to fix.
https://serverfault.com/questions/111675...ing-cpuset
In my memory, I've checked this several time in OS webui, CPUset is running normally (I've set CPU0 for USER and rest cores for system).  Let me check this again tonight.  

Or is there any command I can use to check?  Because your feedback scared me that if I change the CPUset in Webui might break something. Tongue
On the SnakeOil web pages, you can install CPUset but you cannot enable it in 22.04.
(22-Feb-2023, 07:31 PM)Snoopy8 Wrote: [ -> ]On the SnakeOil web pages, you can install CPUset but you cannot enable it in 22.04.


[Image: Screenshot-20230222-200654.png]
Thank you for testing.  Working for you on 22.04 but not me???

I went back to installing standard fresh versions of 20.04 and 22.04.  CPUset is working in 20.04 but NOT in 22.04.  This eliminates any hardware and BIOS issues. And this is standard SnakeOil without any of my own tweaks. I even skipped Ubuntu Pro and thus no real time kernel either.
(23-Feb-2023, 06:53 AM)Snoopy8 Wrote: [ -> ]Thank you for testing.  Working for you on 22.04 but not me???

I went back to installing standard fresh versions of 20.04 and 22.04.  CPUset is working in 20.04 but NOT in 22.04.  This eliminates any hardware and BIOS issues. And this is standard SnakeOil without any of my own tweaks. I even skipped Ubuntu Pro and thus no real time kernel either.

Maybe, because I've already got CPUset up and running during 22.04 LTS low latency kernel, before I installed RT kernel.
@Snoopy8 can u try this?

modify this file /etc/default/grub, look for the line that says
Code:
GRUB_CMDLINE_LINUX_DEFAULT="blah blah blah"
And change it to (Note "blah blah" is your original arguments) :
Code:
GRUB_CMDLINE_LINUX_DEFAULT="systemd.unified_cgroup_hierarchy=false blah blah blah"

Then run:
Code:
sudo update-grub
sudo grub-install

And reboot the computer. Does it work then?

You can remove that new line and re-run the 2 grub commands to revert.
Thank you.  That worked.  Both the standard SnakeOil and my own CPUsets are now working.
Culprit is cgroup is now known as cgroup2.. With some changes here and there. I'm sure cpuset scripts will eventually be updated to support the newer cgroup2. Fundamentally I believe the two are the same thing, just with different naming conventions. 

I don't expect audio changes when changing to cgroup2... But to be honest with this game I'll never know.
(27-Feb-2023, 05:23 PM)agent_kith Wrote: [ -> ]Culprit is cgroup is now known as cgroup2.. With some changes here and there. I'm sure cpuset scripts will eventually be updated to support the newer cgroup2. Fundamentally I believe the two are the same thing, just with different naming conventions. 

I don't expect audio changes when changing to cgroup2... But to be honest with this game I'll never know.
I have no idea what is cgroup, croup2. ???

Thank goodness we have you.  Whew And thank you for delivering us a great sounding system.  Clap
Pages: 1 2