I have been trying to push my Raspberry Pi setup as far as I can take it. Each day I am looking for new things to try and new functional servers to create. I just recently found that you can run a plex server on the raspberry pi. I would have to say that I am very impressed as to how functional it really is.
The parts of my setup that I used.
Pi 3 NFS server -
Standard Raspberry Pi 3 booting from SD Card.
4 128gig SamDisk Flash drives.
Flash drives mounted in raid 5 array (384 GB usable space)
NFS kernel installed
DNSMasq running tftp server for boot files
Webmin to quickly set up NFS exports
Pi 3 Plex Server -
Modded firmware to support NFS boot
DHCP reservation handled by DDWRT router running DNSMasq to pass tftp boot options
Rasbian lite booted from NFS share
Tweaked cmdline.txt file to increase throughput and force NFS to run version 3 with 32k pages for improved throughput.
Tweak config.txt to show to set the activity light to trigger on CPU usage instead of SD Card.
cpufreq utils installed to control CPU from throttling via rc.local script (Pi runs at 1.2 GHZ constantly no throttling)
/tmp mounted to tmpfs in ram
Plex installed
I am very surprised how well this setup runs. Movies play extremely well. I am very impressed by the speed.
Transcodes are decent. I am guessing since the pi has a hardware h.264 decoder that it is being accessed for the decode then CPU to encode. Not real sure. That is above my pay grade.
I would be interested if anyone has any ideas about what I could do to push this setup a little further.
Thanks to the plex team for making this availabe and writing a pretty rock solid app. I want the DVR on the pi!
I think it would be absolutely worth it to pay the 3 dollars or whatever it is to raspberry pi store to buy the mpeg 2 license so that the hardware decoder could be used to capture from the hdhomerun.
Just wanted to share my experience or if anyone needs any help making a similar setup please let me know.
Thanks!
NFS Server is on top
Plex is the second from the bottom on the right stack
3 videos streaming and this is the storage throughput on the raid 5 array.
This is the CPU during a transcode
