Using Ubuntu low latency & real time kernels
#1
Ubuntu 24.04 comes with both low latency and real time kernels, potentially improving SQ.

Suggest adding an option within SnakeOil tab to set the low latency kernel to full preempt.
https://discourse.ubuntu.com/t/fine-tuni...ency/44834
Another option is to enable nohz_full for the CPU's dedicated to the music players using CPUset. 

The real time kernel is available for both AMD and ARM processors.
https://ubuntu.com/real-time
Have a SO option to simplify the process to login to Ubuntu Pro and get the Real time kernel. 

Just in case people are not aware, Ubuntu Pro is free and the RT kernel can be downloaded free for use on 5 instances.
[-] The following 2 users Like Snoopy8's post:
  • Valery, agent_kith
Reply

#2
Had an initial look at the tweaking options and they are not compatible with CPUset, and less friendly. 

My CPUset journey has been posted here
https://www.snakeoil-os.net/forums/Threa...-processes
https://www.snakeoil-os.net/forums/Threa...untu-22-04
However, I have come back to using the SO simple  version. Perhaps it is time to drop CPUset? 

Using pre-empt=full, nohz_full on CPUs dedicated to the music player and proper IRQ affinity settings (dedicate a CPU for the music output IRQ, shift other IRQS to other CPUs ) could potentially make SO sound even better.   Ideally, SO should hide the complexity of setting this up, providing options to: 
  • enable RT kernel (using Ubuntu Pro)
  • Dedicate CPU(s) to music player
[-] The following 1 user Likes Snoopy8's post:
  • alex87
Reply

#3
Just a note for those trying to install the Ubuntu real time kernel yourself.  I just used this on my Pi5.
  1. Login to Ubuntu Pro, and go "Your Subscriptions" tab
  2. In free personal token, copy the command "sudo pro attach xxxxxx" where xxxxx is a token
  3. On Pi5/Pi4, run the above command
  4. Then run "sudo pro enable realtime-kernel --variant=raspi"
  5. Reboot
In SnakeOil/Linux Kernel tab, you should see the real time kernel and can swap back to original kernel.
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDRoon+ Hqplayer at the same time Mivera 5 4,354 24-Jun-2018, 05:13 PM
Last Post: agent_kith



Users browsing this thread:
3 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Snakeoil 1.4.0 (High End)
Last Post: Steely
Today 07:25 PM
» Replies: 23
» Views: 804
My Snakeoil-powered system
Last Post: petemac110
Today 04:44 PM
» Replies: 2
» Views: 31
Can't get Roon bridge or UPNP renderer t...
Last Post: carlodim
Today 12:43 PM
» Replies: 5
» Views: 47
fw: a letter to request Album Player(gen...
Last Post: clark8888
19-Jan-2025 06:32 PM
» Replies: 0
» Views: 25
Cannot install upmpdcli Raspberry Pi5
Last Post: Snoopy8
19-Jan-2025 12:48 PM
» Replies: 3
» Views: 48
Using Ubuntu low latency & real time ker...
Last Post: Snoopy8
19-Jan-2025 11:53 AM
» Replies: 2
» Views: 107
Parametric EQ, for separate left and rig...
Last Post: Snoopy8
19-Jan-2025 10:24 AM
» Replies: 2
» Views: 37
Computer to Accuphase via HS-Link
Last Post: agent_kith
18-Jan-2025 07:59 AM
» Replies: 11
» Views: 10646
CamillaDSP for Room Correction
Last Post: skel
04-Jan-2025 07:03 AM
» Replies: 32
» Views: 8816
Installation of SnakeOil OS 1.3.0 on RPi...
Last Post: miksi
23-Dec-2024 02:14 AM
» Replies: 14
» Views: 892

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