LeM12
Posts: 8
Joined: Sat Mar 07, 2015 2:53 pm

Move Chromium cache to RAM

Mon Mar 09, 2015 5:56 am

Well, I somehow managed to make flash work with Chromium, now I'd like to move its cache entirely to RAM. I intend to watch on-line TV from some site and listen to on-line music from another one, and I'm pretty sure it will make Chromium constantly write-read to cache and my SD card surely won't last long with this regime. I've found this instruction and did as written (though I changed cache size to 100M, as I do not need much and Pi 2 does not have much spare RAM either), then I rebooted but /tmp/ccache folder disappeared. Now I'm not sure whether my cache in RAM or not. Would you explain me how to move cache to RAM? How can I check where it is? I'm a little familiar with Linux but still not enough Linux savvy, so more details the better.

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: Move Chromium cache to RAM

Mon Mar 09, 2015 6:17 pm

SD cards or SSDs are nowadays very durable and using RAM won't save it life. Media streaming should also be mostly "read only", without any noticeable writes.

LeM12
Posts: 8
Joined: Sat Mar 07, 2015 2:53 pm

Re: Move Chromium cache to RAM

Mon May 04, 2015 10:23 am

I had to edit /etc/fstab, now it works. I wrote a howto and may publish it if somebody's interested.

Return to “Raspberry Pi OS”