[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
1
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
  [SOLVEDMPD player not working lutek71 7 218 27-Sep-2024, 11:54 AM
Last Post: Snoopy8
  [SOLVEDLMS not working with Bookworm Snoopy8 12 844 11-Jan-2024, 05:58 PM
Last Post: Snoopy8
  Install not working Pi2Design Mercury V2 Snoopy8 1 500 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 1,340 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  Upgrade from Ubuntu 10.04 to ubuntu 23.04 Coacharnold 4 1,212 15-Mar-2023, 07:27 AM
Last Post: agent_kith



Users browsing this thread:
4 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5800
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 105
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

[-]
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.