Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Process priority not applying to restarted music servers and players
#1
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.
 Go to solution Reply

#2
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.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Snoopy8
Reply

#3
(23-Jun-2021, 07:58 AM)agent_kith Wrote: 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.

What else will be in quick release?  Will most of the issues tagged "Gear Isolation U1" be included?
Reply

#4
(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
Snakeoil Operating System - Music, your way!
Reply

#5
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.
Snakeoil Operating System - Music, your way!
Reply

#6
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
[-] The following 1 user Likes Snoopy8's post:
  • agent_kith
Reply

#7
(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.
Snakeoil Operating System - Music, your way!
Reply

#8
(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...
Reply

#9
(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?

Will see how it goes later down the road.
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.
Reply

#10
(12-Aug-2021, 01:00 PM)Snoopy8 Wrote:
(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?

Will see how it goes later down the road.
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.
Is 8.2 any good audio quality wise?
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  LMS scans no music Tecko 3 80 01-Feb-2023, 06:24 AM
Last Post: cpcat
  dsd output music player Tecko 3 74 26-Nov-2022, 04:15 AM
Last Post: Snoopy8
  "remote button" under mpd in music player software,fails with "unable to connect: criminalzen 5 114 25-Sep-2022, 08:04 AM
Last Post: agent_kith
  LMS not finding any players gibbo9000 16 1,000 12-Sep-2021, 11:39 AM
Last Post: agent_kith
  Can I have other shared folder than /Media/Music to store non music files? audioforevsno 3 909 13-Jul-2020, 02:27 PM
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
Install: Snakeoil 1.x.x - 4.19.37-rt19 S...
Last Post: agent_kith
21-Mar-2023 05:12 PM
» Replies: 14
» Views: 3968
Upsampling to 192k in MPD
Last Post: Devgcl
16-Mar-2023 01:45 PM
» Replies: 2
» Views: 26
Deadbeef and Spotify installed on Ubuntu...
Last Post: agent_kith
15-Mar-2023 07:40 AM
» Replies: 5
» Views: 75
Portable Snakeoil :-) First test.
Last Post: agent_kith
15-Mar-2023 07:39 AM
» Replies: 19
» Views: 550
Upgrade from Ubuntu 10.04 to ubuntu 23.0...
Last Post: agent_kith
15-Mar-2023 07:27 AM
» Replies: 4
» Views: 64
Snakeoil Firmware - 1.2.11 (Gear Isolati...
Last Post: musicnut23
12-Mar-2023 03:43 AM
» Replies: 13
» Views: 557
Problems installing Upmpdcli
Last Post: Snoopy8
10-Mar-2023 06:37 AM
» Replies: 3
» Views: 50
Problem running MPD with 1.2.9 firmware
Last Post: agent_kith
09-Mar-2023 05:33 PM
» Replies: 1
» Views: 38
upmpdcli mpd and LMS -- set up help!
Last Post: Snoopy8
04-Mar-2023 11:05 AM
» Replies: 6
» Views: 314
64bit snakeoil raspberry pi installer.
Last Post: Snoopy8
01-Mar-2023 07:01 AM
» Replies: 11
» Views: 170

[-]
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-2023. Theme © Melroy van den Berg.