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



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
SOXR resampler and DSD
Last Post: agent_kith
Today 01:10 PM
» Replies: 3
» Views: 40
A ripping project ideae/help
Last Post: agent_kith
Today 01:09 PM
» Replies: 7
» Views: 78
Glibc 2.36 missing
Last Post: jetski
04-Mar-2025 03:23 AM
» Replies: 5
» Views: 119
Snakeoil 1.4.0 (High End)
Last Post: knottydreadbr
03-Mar-2025 11:42 PM
» Replies: 63
» Views: 4618
Using Ubuntu low latency & real time ker...
Last Post: hkphantomgtr
26-Feb-2025 12:13 AM
» Replies: 12
» Views: 574
My Snakeoil-powered system
Last Post: petemac110
24-Feb-2025 04:30 AM
» Replies: 7
» Views: 590
Snakeoil 1.4 and Squeezelite R2 - not re...
Last Post: petemac110
23-Feb-2025 07:47 PM
» Replies: 4
» Views: 127
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 318
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 634
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 733

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