Slow browsing with large library

Hi guys,

 

I successfully installed the plexconnect 0-2.2-4.spk package on a Synology DS1813+, and it works great with a few test files. Then I loaded a 6000 movie library and the performance is terrible. I successfully updated to the latest code in the git repository, and it has not helped.

 

eg

Opening the All Movies section takes about 55 seconds. For the first 50 seconds of that time the CPU usage for the PlexConnect_daemon.py process sits at 25%. RAM and disk usage are negligible. Opening the corresponding page on the web interface takes less than 8 seconds with barely noticeable RAM, CPU and disk access on the Synology box.

 

I am not logged into MyPlex.

 

Any ideas what I could be doing wrong?

Hi guys,

I successfully installed the plexconnect 0-2.2-4.spk package on a Synology DS1813+, and it works great with a few test files. Then I loaded a 6000 movie library and the performance is terrible. I successfully updated to the latest code in the git repository, and it has not helped.

eg

Opening the All Movies section takes about 55 seconds. For the first 50 seconds of that time the CPU usage for the PlexConnect_daemon.py process sits at 25%. RAM and disk usage are negligible. Opening the corresponding page on the web interface takes less than 8 seconds with barely noticeable RAM, CPU and disk access on the Synology box.

I am not logged into MyPlex.

Any ideas what I could be doing wrong?

tbh you are crushing that poor NAS, when you open up a section with 6K items, that's a pretty huge javascript result needed to run to generate the page to display along with al the corresponding metadata (poster and title).   I could be wrong here so someone else chime in, but I don't think a dual core atom proc handling PMS along with PC for a massive library section like that is a good idea.  

Try shutting "Off" the log functionality. This might speed things up a bit...

Don't think you did something wrong, with the hosts where I run it, speed was never a topic. :-)

tbh you are crushing that poor NAS, when you open up a section with 6K items, that's a pretty huge javascript result needed to run to generate the page to display along with al the corresponding metadata (poster and title).   I could be wrong here so someone else chime in, but I don't think a dual core atom proc handling PMS along with PC for a massive library section like that is a good idea.  

Okay, but why does the process only use 25% CPU?

Also, the genre section is equally slow to load. Is there a workaround?

I don't know about Synology... is it a four core processor? Does the OS only allow 25% processor power per task?

It's 2 core, 4 threads. I just confirmed that running an infinite script consumes 25% CPU, and I need to run 4 such scripts simultaneously to use 100%.

Would it be possible to cache the output? The library doesn't change very often compared to how often the menus are accessed.

I have the same problem, although the library is nowhere near as large as 6000 items. However, never had any problems before until the update but now my larger library just won't refresh the titles - collections, on deck etc... no problems at all, but All Movies just sits there forever.

Improved performance in two steps:

1) Turned off logging - you should see an improvement, even just starting plexconnect from the trailers app

2) Go into the PlexConnect Settings (ATV, not server side) and change your Movie options to either Grid ( fastest ) or List (but be sure to disable metadata).

This should make a difference until someone works out why its taking so long to refresh since the patch.

which update, which patch?

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