Code: Select all
proc /proc proc defaults 0 0 none /var/run tmpfs size=1M,noatime 0 0 none /tmp tmpfs size=1M,noatime 0 0 none /var/tmp tmpfs size=1M,noatime 0 0 /dev/mmcblk0p1 /boot vfat ro,noatime 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1
I don't think you will see any significant performance gain with a solid state drive.JFamily wrote:I could buy a small (32GB) solid state drive if I can justify it with even the slightest performance gains
I have no doubt that it is the Pi unless I'm trying to stream something of 1080 quality and then it's absolutely the network. As long as I keep everything at 720, the playback is great for the most part. The thing I'm mostly interested in improving is stability (crashes when skipping forward or backward in a video and random crashes while navigating through Kodi). I think we've determined that an ext hard drive would mostly resolve that issue and maybe I should try OSMC again for a more optimized media center. I also know now to just go with a regular ext hdd. The only reason I can find now for a SSD is that I've fallen in love with the silence of my new media computerHiroProtagonist wrote:Your best bet would be to isolate the problem - is it the network or the pi?
Can you copy a media file to a usb stick & play that without problems on the Pi?
The last video I tried to play that gave me problems was a .mkv video. I have had problems with some file types and I know I need to buy the codec and get it setup. Just haven't gotten around to it yet. The main reason for this post was to find a quicker, more stable way to run the operating system. Most of the problems I have are not related to playback other than the fact that it sometimes crashes when skipping a video forward or back. I fully believe that the issues I'm having are related to SD cards volatility. They're cheap and easy enough to replace but if I can just hook up a regular HDD and boot from the SD and not have to worry about the card going belly up while I'm gone leaving the kids with no TV, I'll do it.flubbard wrote:I didn't see this information in your original post but what type of file are you trying to play. If you are using MPEG files, have you purchased and installed the MPEG2 codec from the foundation and installed the key in your config.txt file?
That would probably be a slight help. However, even when my system is under heavy loads, playing video games, etc, there is no noticeable difference for the performance of video playback on the Pi.jb63 wrote:I have all my media on a dedicated network drive, connected directly to a router. That way, I'm not tasking my computer, and OSMC gets the files directly from the network drive.
I'm pretty interested in everything you just stated but those are ideas for another day. I'm going to take your suggestions and try setting it up tonight with my SATA/IDE to USB 2.0 adapter and power supply. I don't like the idea of the cable mess so I'll probably order an enclosure for the hard drive after I get everything working. I just tried OSMC on a different SD card... I think I'll stick with Raspbian for now.gkreidl wrote:And yes, running any system from HDD gives a great improvement in speed and reliability. Only people who never tried that can claim the opposite. Ever tried to compile kodi on a SD card? It takes a little bit more than an hour on a Pi2 using 3 cores and running from HDD. Everything needing lots of random file read and write accesses will run up to ten times faster.
I agree, get a cheap 2.5" HDD - don't bother with an SSD, they are cheap these days but you won't get the benefit.HiroProtagonist wrote:I don't think you will see any significant performance gain with a solid state drive.
There really is no point in using an SSD on a Pi. An SSD will be faster in a regular PC because even the oldest SATA standard can theoretically reach a maximum throughput of 1.5 gigabits per second (that's 187.5 megabytes per second); the most recent standard is a whopping 6 gigabits/sec, or 750 megabytes/sec. On the Pi however you're limited by USB2 which has a max theoretical throughput of 480 megabits/sec (or 60 megabytes/sec). And bear in mind that's a theoretical maximum - true throughput speeds will be lower due to CPU, OS & filesystem overheads. Have a look at some benchmarks, even older 5400RPM 2.5" HDDs can achieve 80 megabytes/sec, way over what USB2 can handle. I'm pretty sure I've seen the figure of 40 megabytes/sec throughput mentioned on the forums as being a "good" speed that can be achieved on the Pi, with some optimisation (that's streaming from the Pi over a network).jb63 wrote:Not sure I agree that HDD is the fastest. I switched to SSD on my windows PCs, and the performance is way better.
Has anyone tried RPI with HDD vs. SSD ?
Code: Select all
sudo apt-get update && sudo apt-get upgrade
Code: Select all
sudo apt-get purge