Changing Priority in Linux for Plexamp Sonic Analysis

This is a possible configuration request or a question as to how to do this.

The sonic analysis is very time consuming. I looked at the system and it is a child process of Plex Media Server with unique and short term PIDs for the child process. It seems a unique PID for each track at VERY LOW PRIORITY (6% cpu time). When i change Priority in the System Monitor Processes tab, processing the track is much faster. However, this is only done a PID by PID basis.

The PPID (Parent PID for Plex Media Server) is fixed and at Normal Priority.

What can be changed to permanently allow the child PIDs to spawn as NORMAL or HIGH Priority? I tried nice and renice, but could not determine a program name for this option that worked.

Ultimately, if a fix exists, this could help the numerous complaints of others about days/weeks to process.

Thanks for the consideration.

Running Linux Mint 20.3 Cinnamon, AMD Ryzen 7 2700X Eight-Core Processor × 8 (16 thread), 15.6 GiB Ram

I’m not sure why you would want to adjust it. As long as there is idle CPU (which there should be), the Sonic Analysis will proceed. Is your CPU just loaded to 100% with higher priority things?

from above: It seems a unique PID for each track at VERY LOW PRIORITY (6% cpu time).

it would be nice to increase the priority to speed analysis during the initial analysis. The cpu was not loaded with much else. indeed, the analysis did proceed for several days which could have been cut in duration if i could have loaded the cpu to 50%. i suppose this would satisfy users with the initialization phase. perhaps this is a feature request.

thank you for the response :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.