Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 75 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  Upgrade from Ubuntu 10.04 to ubuntu 23.04 Coacharnold 4 64 15-Mar-2023, 07:27 AM
Last Post: agent_kith
  BubbleUPnP (Server) Not Working Snoopy8 2 126 24-Jun-2022, 08:37 PM
Last Post: agent_kith
  [split] Snakeoil Installer - 1.2.0 (Gear Isolation) LMS Not Working On Raspberry Pi 3B vinaymoturi 0 106 24-Feb-2022, 02:32 PM
Last Post: vinaymoturi
  [SOLVEDupmpdcli not working on fresh install of 20.04/1.2.0 Snoopy8 5 462 12-Aug-2021, 06:49 AM
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
Install: Snakeoil 1.x.x - 4.19.37-rt19 S...
Last Post: agent_kith
21-Mar-2023 05:12 PM
» Replies: 14
» Views: 3968
Upsampling to 192k in MPD
Last Post: Devgcl
16-Mar-2023 01:45 PM
» Replies: 2
» Views: 26
Deadbeef and Spotify installed on Ubuntu...
Last Post: agent_kith
15-Mar-2023 07:40 AM
» Replies: 5
» Views: 75
Portable Snakeoil :-) First test.
Last Post: agent_kith
15-Mar-2023 07:39 AM
» Replies: 19
» Views: 550
Upgrade from Ubuntu 10.04 to ubuntu 23.0...
Last Post: agent_kith
15-Mar-2023 07:27 AM
» Replies: 4
» Views: 64
Snakeoil Firmware - 1.2.11 (Gear Isolati...
Last Post: musicnut23
12-Mar-2023 03:43 AM
» Replies: 13
» Views: 557
Problems installing Upmpdcli
Last Post: Snoopy8
10-Mar-2023 06:37 AM
» Replies: 3
» Views: 50
Problem running MPD with 1.2.9 firmware
Last Post: agent_kith
09-Mar-2023 05:33 PM
» Replies: 1
» Views: 38
upmpdcli mpd and LMS -- set up help!
Last Post: Snoopy8
04-Mar-2023 11:05 AM
» Replies: 6
» Views: 314
64bit snakeoil raspberry pi installer.
Last Post: Snoopy8
01-Mar-2023 07:01 AM
» Replies: 11
» Views: 170

[-]
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-2023. Theme © Melroy van den Berg.