[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 218 27-Sep-2024, 11:54 AM
Last Post: Snoopy8
  [SOLVEDLMS not working with Bookworm Snoopy8 12 835 11-Jan-2024, 05:58 PM
Last Post: Snoopy8
  Install not working Pi2Design Mercury V2 Snoopy8 1 498 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  Deadbeef and Spotify installed on Ubuntu - how to access via Snakeoil Devgcl 5 1,337 15-Mar-2023, 07:40 AM
Last Post: agent_kith
  Upgrade from Ubuntu 10.04 to ubuntu 23.04 Coacharnold 4 1,211 15-Mar-2023, 07:27 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
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5799
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: 1677
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: 151

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