We have moved! This forum is now read only. (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)


cpuset and mpd resampler (Libsamplerate) issue
#4
Secret Rabbit Code (libsamplerate) is pretty CPU intensive. It also sounds very good, I guess at the end of the day, trying to partition SRC in CPUsets, and/or make it run in real time will be detrimental to CPU performance.

When using a real time kernel, if a program running in realtime wants to execute an instruction, the operating system will drop everything and execute that instruction. The process to drop everything, prepare itself to execute the coming instruction is called "context switching", and this is a very expensive process... How quickly it can do this is the latency test we're doing in Cyclictest.

The overall system performance should decrease if you're trying to do too much for this.

A workaround is to increase any audio buffers, and see if that helps. At the end of the day, the idea is not to try and run everything in real time, it's all about striking a good balance to get the best audio out.
Snakeoil Operating System - Music, your way!
Reply


Messages In This Thread
RE: cpuset and mpd resampler (Libsamplerate) issue - by agent_kith - 16-Nov-2020, 08:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDCPUset not working in Ubuntu 22.04 Snoopy8 17 6,691 12-Dec-2023, 07:02 PM
Last Post: uglymusic
  Hi-Res FLAC playback issue on Squeezelite hjs0512 3 1,166 11-Dec-2023, 04:08 AM
Last Post: uglymusic
  [SOLVEDPermissions issue on 128GB SSD internal drive patricia1066 19 7,409 29-Mar-2022, 07:58 AM
Last Post: agent_kith
  Issue: RoonBridge | Pi | 1.2.0 Beecham 4 2,325 21-Aug-2021, 03:02 PM
Last Post: agent_kith
  [SOLVEDnew install issue Eso 2 2,063 23-Jan-2021, 03:55 PM
Last Post: Eso



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2312
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1679
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9418
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 958
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 712
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5496
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5905
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 15648
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4848
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1301

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