![]() |
[SOLVED] Process priority not applying to restarted music servers and players - Printable Version +- Snakeoil Forums (https://forums.snakeoil-os.net) +-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics) +--- Forum: Support & Troubleshooting (https://forums.snakeoil-os.net/Forum-Support-Troubleshooting) +--- Thread: [SOLVED] Process priority not applying to restarted music servers and players (/Thread-SOLVED-Process-priority-not-applying-to-restarted-music-servers-and-players) Pages:
1
2
|
Process priority not applying to restarted music servers and players - Snoopy8 - 22-Jun-2021 For Activated version. When the music server/player was restarted from the Music Player tab, it did not pick up the Process Priority specified in the SnakeOil tab. Process Priority worked when system was booted/rebooted. RE: Process priority not applying to restarted music servers and players - agent_kith - 23-Jun-2021 Good catch.. Filed a ticket here. I may do a quick release to fix this in the weekend if I can, and push the GUI revamp to U2. RE: Process priority not applying to restarted music servers and players - Snoopy8 - 24-Jun-2021 (23-Jun-2021, 07:58 AM)agent_kith Wrote: Good catch.. Filed a ticket here. What else will be in quick release? Will most of the issues tagged "Gear Isolation U1" be included? RE: Process priority not applying to restarted music servers and players - agent_kith - 24-Jun-2021 (24-Jun-2021, 01:28 PM)Snoopy8 Wrote: What else will be in quick release? Will most of the issues tagged "Gear Isolation U1" be included?Those will be moved to U2 :p RE: Process priority not applying to restarted music servers and players - agent_kith - 27-Jun-2021 This is fixed in Gear Isolation U1. Note the priority will only be applied approximately 25 seconds later, this is to allow the players enough time to fully initialise. RE: Process priority not applying to restarted music servers and players - Snoopy8 - 03-Jul-2021 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 RE: Process priority not applying to restarted music servers and players - agent_kith - 04-Jul-2021 (03-Jul-2021, 09:41 PM)Snoopy8 Wrote: Thank you for fix in 1.2.1 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. RE: Process priority not applying to restarted music servers and players - Snoopy8 - 04-Jul-2021 (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 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... RE: Process priority not applying to restarted music servers and players - Snoopy8 - 12-Aug-2021 (04-Jul-2021, 12:42 PM)agent_kith Wrote: 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?It looks like the problem has gone away in LMS 8.2 where there is now only 1 Squeezeboxserve process. Previously in 8.1, there were 2. RE: Process priority not applying to restarted music servers and players - agent_kith - 12-Aug-2021 (12-Aug-2021, 01:00 PM)Snoopy8 Wrote:Is 8.2 any good audio quality wise?(04-Jul-2021, 12:42 PM)agent_kith Wrote: 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?It looks like the problem has gone away in LMS 8.2 where there is now only 1 Squeezeboxserve process. Previously in 8.1, there were 2. |