Plexamp use 100% cpu when searching against 50% when searching with plex app

May be related to this thread : Search come to Wheel of death most of the time

I noticed that using the Search tool with Plexamp (Android and PC) makes my CPU jump to 100%, while using the regular Plex app it stays around 50%

Here i make a simple search for “the beatles” :

Plexamp PC :

Plex app PC:

Plexamp Android :

Plex app Android :

Here are the logs :
Plex Media Server Logs_2024-03-27_20-31-24.zip (3.4 MB)

Not a plexamp issue.

Then where have I to redirect this threads? Should I Try the Plex Media Server categorie?

upgrade your hardware and/or optimize your database

Thank you for your help
The database has been optimised just before the test.

I noticed that when I make a search with one word, here “beatles” the result is instant and the cpu usage is 40 % during a second (same goes for “Who” instead of “The Who” etc…)

Is it a normal behaviour?
Searches with one word are really fast

My server runs on a SSD on a Nuc i7 - 7567U with 16go ram

I am asking because everything runs really well with this hardware besides the Plexamp search with more than 1 word.

I really needs to know before thinking of a new hardware that would certainly have a cost I’ll need to think about.

Thank you for taking your time to reply, i really appreciate it

that is a pretty old cpu, and only 2 cores + hyperthreading.

https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-7567U+%40+3.50GHz&id=2990

I think plexamp uses more complex/advanced searching functionality than the basic plex apps, which uses more server resources. I guess not per elan below.

also, if you right click the left side of the task manager (show graphs), you can get graphs instead of the circles. and if you right click the right side where the cpu graph is (change graphs to logical processors), you can make it show each processor usage so you can see the cpu load for each processor, so you can better tell if one cpu is overloading, or multiple.

Not technically true, we use the same /hubs/search endpoint they do.

Thank you @TeknoJunky I’ll have a look at it

Elan, could you point why there is such a difference of cpu usage from the regular app and Plexamp?

I may try to buy a new hardware but maybe there is something that could help?

I noticed you have 5 audio libraries.
Maybe you want to disable Experience – Search all Libraries in case you have that enabled.

1 Like

I tested (still “the beatles”) without the Search All Libraries enable and it gives interesting results :

here with the option enable:

and here the results with the plex app:

The results with Plexamp are better without the Search All Libraries enable but still far away from the Plex app.

@elan , you say that Plexamp and Plex use the same way of searching, but the results from the test show a significant difference between the cpu usage for both of the app.
That could mean the PMS is not treating equaly the searches infos coming from Plexamp or coming for Plex app?
If so, is there a room for PMS to treat those searches equaly?

Using more than one librarie seems to be a commun things for Plexamp users (because this is really usefull), that could mean that this CPU situation will repeat itself for many of us users…

Maybe you noticed that Plexamp is also looking for appearances of artist names on albums credited to other Album Artists.
Something that the other Plex apps don’t do, and which adds considerable load to the database during a search. (and also while simply browsing the library)

That make sense. It doesn’t really help my scenario with searching in all libraries but it gives a reason why Plexamp needs more cpu that the Plex app when using the search tool.
Thank you for pointing this out :slight_smile:

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