More > JRiver Media Center 26 for Linux
Is there any way to speed up views on a Pi?
Mastiff:
Actually I was a bit imprecise there. The same thing happened when it was connected to a monitor and a keyboard while installing. Right after a startup it seems OK, but give it a few hours, and it seems like MC somehow needs a few minutet wakeuptime.
And of course I do! Thank you for asking! ;D This is the Mad Max loaded for lobster fishing. Note the boxes with 6x9 JBL marine speakers under the roof. There's another pair under the roof inside the wheelhouse, behind the bench. And there's a 10" JBL marine subwoofer in the box in front of the wheelhouse. The Pi and the disk are in a IP65 fuse box inside the wheelhouse, and I have it input on aux on a Pioneer car audio headunit, and two Alpine amps drive the speakers.
This video is me Thursday, on my way out to set the first lobster pots, with Alestorm's "Tortuga" blasting. Pirate themed folk metal fits the boat very well, I think! :D I didn't know how to embed that...
https://youtu.be/BBkpWTbwtio
mwillems:
So one tip from my own pi experience: pre-generate all the thumbnails. I noticed when I was running MC with a Pi3 and a library of ~100,000 files that the library views were many times more responsive when I pre-generated all the thumbs using the "build missing thumbnails" option. Make sure you've set it to the lowest thumbnailing priority before you do it though (although it should be there by default on a pi).
Obviously your actual media is on the spinning disk, but is your library/database on the spinning drive too or is it on the pi's sd card? It might be worth trying a different location (move your library/database from spinning drive to sd or vice versa) to see if that makes a difference.
Another thing that I found helped responsiveness on my headless pi systems was restarting MC once a day in the middle of the night with a cronjob. Not sure why it helped, but it really did.
If you've already tried all that, it might be worth doing some profiling. For example, if you run the top command in the terminal and then do something that hangs MC. Then you can see where the bottleneck is (i.e. is a ton of CPU just spinning away in iowait or is MC actually doing something?).
Mastiff:
Thanks, mwillems! I have the library on the Micro SD-card that also has the OS. I believe the card reader on the Pi 4 is USB 3.0, and I have a quite fast Sandisk card that I used to have in a DJI Phantom Pro drone for 4K video. But I will try to do that pregeneration of thumnails, I can let it work over night. And I am guessing that the restart of MC (which I will probably implement as a full restart of the Pi with Node-RED) fixes the same thing that I wrote about, the "lockup" after some hours.
I have a CPU graph in the menu line, and I don't think I've ever seen it go above 40 % on the Pi 4. On the Pi 3B I think it went all the way up, if I'm not remembering that incorrectly.
Edit: Come to think about it, I think I have all the covers in a separate directory on the hard drive. Maybe that has something to do with it? I'll try to move that to the Micro SD card. It's a 64 gig card, so I can create a separate partition for that.
JimH:
Nice boat, Tor! Thanks for the pictures. I started getting seasick watching the video. Nice to have a wheelhouse.
Mastiff:
Thanks, Jim! And that's actually not bad for this time of year here. Today I had around 2 meter waves... ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version