[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
  [SOLVEDLMS not working with Bookworm Snoopy8 12 354 11-Jan-2024, 05:58 PM
Last Post: Snoopy8
  Install not working Pi2Design Mercury V2 Snoopy8 1 313 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 883 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  Upgrade from Ubuntu 10.04 to ubuntu 23.04 Coacharnold 4 787 15-Mar-2023, 07:27 AM
Last Post: agent_kith
  BubbleUPnP (Server) Not Working Snoopy8 2 668 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
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4673
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 94
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 683
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 186
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 97
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 73
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 237
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 62
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 84
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 410

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