Posts: 247
Threads: 15
Joined: Apr 2018
Reputation:
10
08-05-2020, 12:55 PM
(This post was last modified: 08-05-2020, 12:56 PM by philrandal.)
What uses
/home/pi/.cache
I'd be tempted to leave logging as it is, for forensic purposes after any OS crashes and reboots.
Does changing each of the tmp and .cache directories one at a time make an audible difference?
Which of those three is most effective, and does changing them all make a noticeable difference over just changing .cache?
Cheers,
Phil
Posts: 13,496
Threads: 305
Joined: Mar 2018
Reputation:
545
/home/pi/.cache will be created after chromium-browser is started.
Posts: 499
Threads: 14
Joined: Oct 2018
Reputation:
17
08-05-2020, 03:16 PM
(This post was last modified: 08-05-2020, 03:34 PM by TookaFace.)
You also can run moode on an overlay, that way the whole system will be sort of read only, and all changes will go on RAM.
U can easily do that with sudo raspi-config - advanced option - overlay FS
U also preserve SDcard lifetime that way, and no one can break ur installation since all changes are gone after a reboot.
Posts: 54
Threads: 15
Joined: Jun 2018
Reputation:
2
I tried moving /var/cache to RAM and could hear no difference in audio quality on my system (Pi2Design 502DAC Pro feeding 2 Modulus-86 amplifiers which power full range Fostex FE126En drivers in the Fostex suggested hybrid horn/bass reflex cabinets, also Pioneer SE-305s driven straight from the Pi2Design DAC). I'm sticking with it though, purely for SD card wear reasons, as I do find SD card problems to be the most frequent causes of the issues I've had with Raspberry Pis over the years.
Posts: 54
Threads: 15
Joined: Jun 2018
Reputation:
2
Update: this seems to be a bad idea on a 1GB Raspberry Pi, having /var/cache in RAM was causing my system to become unresponsive and there were kernel messages relating to memory allocation errors. I reverted and these problems have gone away. YMMV and maybe it works better on the Pi 4s with more RAM, or without the local display enabled, but I definitely wouldn't recommend it on the older Pis.