[SOLVED] CPUset not working in Ubuntu 22.04
#1
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
 Go to solution Reply

#2
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
Reply

#3
On the SnakeOil web pages, you can install CPUset but you cannot enable it in 22.04.
Reply

#4
(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]
[-] The following 1 user Likes hkphantomgtr's post:
  • Snoopy8
Reply

#5
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.
Reply

#6
(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.
Reply

#7
@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.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • hkphantomgtr
Reply

#8
Thank you.  That worked.  Both the standard SnakeOil and my own CPUsets are now working.
Reply

#9
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.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Snoopy8
Reply

#10
(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
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDLMS not working with Bookworm Snoopy8 12 319 11-Jan-2024, 05:58 PM
Last Post: Snoopy8
  Install not working Pi2Design Mercury V2 Snoopy8 1 289 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 809 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  Upgrade from Ubuntu 10.04 to ubuntu 23.04 Coacharnold 4 713 15-Mar-2023, 07:27 AM
Last Post: agent_kith
  BubbleUPnP (Server) Not Working Snoopy8 2 609 24-Jun-2022, 08:37 PM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 626
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 149
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 71
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 52
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 195
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 41
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 4150
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 69
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 366
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4126

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.