3 ms·
That's really nice. I remember having to use Read-Only on a few Raspberry Pi projects because they have a tendency to corrupt SD cards. Getting a free storage p
by davemp 8y ago
That's really nice. I remember having to use Read-Only on a few Raspberry Pi projects because they have a tendency to corrupt SD cards. Getting a free storage performance boost would really improve usability for my past use cases.
- Fnoord 8y agoI recommend only writing when it is necessary, so e.g. you might want to log to /dev/null or tmpfs (I chose the latter but it adds up in RAM). Also, disable swap if at all feasible. On top of that I recommend industrial grade SD cards using (a)MLC. They might be a bit more expensive but it is worth the stability. I learned this from these posts (among others in the same thread 'Raspberry Pi microSD card performance comparison') [1] [2] [1] https://news.ycombinator.com/item?id=16776344 https://news.ycombinator.com/item?id=16776344 [2] https://news.ycombinator.com/item?id=16777238 https://news.ycombinator.com/item?id=16777238
- davemp 8y agoThanks for the links, they were good reads. Coincidentally, for those projects I did end up mounting to a tmpfs, syncing configs from a server, and writing them to a SPI flash chip with FEC. Fun to know that others suggest the same! I was just thinking along the lines of performance improvement for the absolute garbage SD card speeds. I just remember how flipping long it would take to load a program off those things.