![]() |
[SOLVED] CPUset not working in Ubuntu 22.04 - Printable Version +- Snakeoil Forums (https://forums.snakeoil-os.net) +-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics) +--- Forum: Support & Troubleshooting (https://forums.snakeoil-os.net/Forum-Support-Troubleshooting) +--- Thread: [SOLVED] CPUset not working in Ubuntu 22.04 (/Thread-SOLVED-CPUset-not-working-in-Ubuntu-22-04) Pages:
1
2
|
CPUset not working in Ubuntu 22.04 - Snoopy8 - 22-Feb-2023 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/1116756/isolating-cpus-on-aws-gcp-error-mounting-cpuset RE: CPUset not working in Ubuntu 22.04 - hkphantomgtr - 22-Feb-2023 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. ![]() RE: CPUset not working in Ubuntu 22.04 - Snoopy8 - 22-Feb-2023 On the SnakeOil web pages, you can install CPUset but you cannot enable it in 22.04. RE: CPUset not working in Ubuntu 22.04 - hkphantomgtr - 22-Feb-2023 (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. ![]() RE: CPUset not working in Ubuntu 22.04 - Snoopy8 - 23-Feb-2023 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. RE: CPUset not working in Ubuntu 22.04 - hkphantomgtr - 23-Feb-2023 (23-Feb-2023, 06:53 AM)Snoopy8 Wrote: Thank you for testing. Working for you on 22.04 but not me??? Maybe, because I've already got CPUset up and running during 22.04 LTS low latency kernel, before I installed RT kernel. RE: CPUset not working in Ubuntu 22.04 - agent_kith - 24-Feb-2023 @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" Code: GRUB_CMDLINE_LINUX_DEFAULT="systemd.unified_cgroup_hierarchy=false blah blah blah" Then run: Code: sudo update-grub And reboot the computer. Does it work then? You can remove that new line and re-run the 2 grub commands to revert. RE: CPUset not working in Ubuntu 22.04 - Snoopy8 - 24-Feb-2023 Thank you. That worked. Both the standard SnakeOil and my own CPUsets are now working. RE: CPUset not working in Ubuntu 22.04 - agent_kith - 27-Feb-2023 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. RE: CPUset not working in Ubuntu 22.04 - Snoopy8 - 27-Feb-2023 (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 have no idea what is cgroup, croup2. ??? Thank goodness we have you. ![]() ![]() |