We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[SOLVED] CPUset not working in Ubuntu 22.04
#11
Back to playing with kernels and each time I change kernels in SO, I have to do the above fix.  Suggest making the fix part of standard SO.
Reply

#12
This is a thread I hadn't seen. 

I've come up against cpuset not working in 22.04 when testing SO 1.3 (details over in those threads). Should I be trying the above? Should everyone, ultimately, be trying the above (oh, no!)?
Reply

#13
(11-Dec-2023, 03:16 PM)uglymusic Wrote: This is a thread I hadn't seen. 

I've come up against cpuset not working in 22.04 when testing SO 1.3 (details over in those threads). Should I be trying the above? Should everyone, ultimately, be trying the above (oh, no!)?

CPUset is definitely worth trying.
Reply

#14
(11-Dec-2023, 05:48 PM)Snoopy8 Wrote:
(11-Dec-2023, 03:16 PM)uglymusic Wrote: This is a thread I hadn't seen. 

I've come up against cpuset not working in 22.04 when testing SO 1.3 (details over in those threads). Should I be trying the above? Should everyone, ultimately, be trying the above (oh, no!)?

CPUset is definitely worth trying.

I've had it working on Raspberry Pi OS and SO 1.2.x but struggled to convince myself there was any benefit  Sad  . Maybe on Ubuntu...? I'll add it to my list.
[-] The following 1 user Likes uglymusic's post:
  • Snoopy8
Reply

#15
(11-Dec-2023, 08:45 PM)uglymusic Wrote: I've had it working on Raspberry Pi OS and SO 1.2.x but struggled to convince myself there was any benefit  Sad  . Maybe on Ubuntu...? I'll add it to my list.
Please have a read of this
https://www.snakeoil-os.net/wiki/Configu...oil#cpuset

Some people have reported a SQ improvement by enabling cpusets but for others, it made no difference. The intent here is to isolate the music processes from system processes. I took it further.
https://www.snakeoil-os.net/forums/Threa...-processes
However, I have returned to the simple SO way because something wrong when I recently changed hardware to an Intel NUC Element and Ubuntu versions.

I have found that Cpuset is particularly useful when there is a Real Time (RT) kernel in use. The combination of cpusets and RT kernel has given a maximum latency (measured using Cyclictest) of around 10 milliseconds, spread evenly across 4 CPUs. The result is better SQ. My challenge is to apply what I have done with Ubuntu on the NUC to Ubuntu on a Pi. I suspect using Raspian is too far a leap?

Note that I am probably the craziest SO user here, even building my own RT kernel!!  LOL
[-] The following 1 user Likes Snoopy8's post:
  • uglymusic
Reply

#16
(12-Dec-2023, 12:06 PM)Snoopy8 Wrote:
(11-Dec-2023, 08:45 PM)uglymusic Wrote: I've had it working on Raspberry Pi OS and SO 1.2.x but struggled to convince myself there was any benefit  Sad  . Maybe on Ubuntu...? I'll add it to my list.
Please have a read of this
https://www.snakeoil-os.net/wiki/Configu...oil#cpuset

Some people have reported a SQ improvement by enabling cpusets but for others, it made no difference. The intent here is to isolate the music processes from system processes. I took it further.
https://www.snakeoil-os.net/forums/Threa...-processes
However, I have returned to the simple SO way because something wrong when I recently changed hardware to an Intel NUC Element and Ubuntu versions.

I have found that Cpuset is particularly useful when there is a Real Time (RT) kernel in use. The combination of cpusets and RT kernel has given a maximum latency (measured using Cyclictest) of around 10 milliseconds, spread evenly across 4 CPUs. The result is better SQ. My challenge is to apply what I have done with Ubuntu on the NUC to Ubuntu on a Pi. I suspect using Raspian is too far a leap?

Note that I am probably the craziest SO user here, even building my own RT kernel!!  LOL

I feel a deep, deep hole opening up  [Image: depressed2.gif]

Can you apply what you've learned to the RPi 5 while you're at it?  LOL
[-] The following 1 user Likes uglymusic's post:
  • Snoopy8
Reply

#17
(12-Dec-2023, 03:26 PM)uglymusic Wrote: I feel a deep, deep hole opening up  [Image: depressed2.gif]

Can you apply what you've learned to the RPi 5 while you're at it?  LOL
Welcome to my asylum which doubles as my rabbit warren! Smile.  Never put together a Pi, so maybe I should start with the Pi 5 ???   Tongue.
[-] The following 1 user Likes Snoopy8's post:
  • uglymusic
Reply

#18
(12-Dec-2023, 04:50 PM)Snoopy8 Wrote:
(12-Dec-2023, 03:26 PM)uglymusic Wrote: I feel a deep, deep hole opening up  [Image: depressed2.gif]

Can you apply what you've learned to the RPi 5 while you're at it?  LOL
Welcome to my asylum which doubles as my rabbit warren! Smile.  Never put together a Pi, so maybe I should start with the Pi 5 ???   Tongue.

Start with an RPi 4. There are still too many issues with getting things working on the 5. It's still too new.

Seriously, how do I start learning about the kernel in the context of SO and audio?
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Snakeoil with Ubuntu Desktop ? Snoopy8 8 513 02-Jun-2025, 09:38 AM
Last Post: Snoopy8
  [SOLVEDMPD player not working lutek71 7 1,082 27-Sep-2024, 11:54 AM
Last Post: Snoopy8
  [SOLVEDLMS not working with Bookworm Snoopy8 12 2,070 11-Jan-2024, 05:58 PM
Last Post: Snoopy8
  Install not working Pi2Design Mercury V2 Snoopy8 1 789 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 1,997 15-Mar-2023, 07:40 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
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
Yesterday 06:43 AM
» Replies: 14
» Views: 836
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 5783
Android Firefox issues with forum
Last Post: agent_kith
03-Jun-2025 04:14 PM
» Replies: 20
» Views: 1071
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 513
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 370
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 3092
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3384
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 10413
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2485
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 647

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