(04-Jul-2021, 12:42 PM)agent_kith Wrote:(03-Jul-2021, 09:41 PM)Snoopy8 Wrote: Thank you for fix in 1.2.1
Found a further issue with LMS. Have set the priority of squeezeboxserve to 50, but only one of the processes 1146 has been changed. 1148 has not been changed.
Code:tuna --show_threads | grep squ
1146 RR 50 0,1,2,3 10 8 squeezeboxserve
1148 OTHER 0 0,1,2,3 1610 9323 squeezeboxserve
1204 RR 50 0,1,2,3 24 70 squeeze2upnp-x8
Depending on when LMS starts the threads, e.g. when u play a song, or when it does a background task, Snakeoil may not be able to trap all. I can probably keep checking every X seconds and move threads to real time, but that could make it worse. I guess a combination of this with cpuset is probably the way to go?
Will see how it goes later down the road.
As background, my limited knowledge prevented me from getting cset itself (using -e option) to start lms; had to start lms, then move it to a specific cpuset. That was when I discovered that there was more than one squeezeboxserve process.
It becomes more "fun" when cpusets are involved, and there is not option to set a process priority. But I will leave it in your capable hands to figure it out, when the time comes...