- Joined
- Dec 10, 2011
- Location
- Cádiz (Spain)
I've been asking this myself these weeks. Is a RAM disk useful for those of us who have >8GB RAM for Windows? (main OS's Arch Linux, but I am just too damn lazy to add a tmpfs to fstab)
I have Chrome's cache there, because some guys said it made Internet browsing faster, and, well, I had nothing to lose. But I don't get the point, cache is supposed to make web loading faster by not downloading files stored in cache. I think this is just a very big bottle of snake oil, but, well. I trusted them back then, and tried it. Damn, I even have a transparent proxy cache (the famous Squid) installed in my pfSense gateway to lower webpage loading times. So this was counter-intuitive.
Also, I have both %TEMP% and %TMP% environment variables linked to the RAM disk. This I can understand, since usually they're only required for a short time (thus the name, temporal files), and having them in volatile memory would make my life easier by not having to clean them on a weekly basis, and not filling my SSD with junk. But, alas, IIRC, some apps use %TEMP% and/or %TMP% to save files required for, p.eg., a software upgrade. That'd render the RAM disk useless once again, because as it's volatile storage, the files would just disappear when the system restarted before the upgrade, and I'd be greeted by a nice "Files are missing yadda yadda" error as soon as I start the system. A point against RAM disk. Again.
So, is there something good in RAM disks? Excluding the obvious ~10kbish bandwidth.
I'm thinking of using my 16GB for my yet to be built home server (which, if I can, will virtualize a lot) and buy a 8GB 2133MHz or so kit for my daily driver. I rarely virtualize more than a machine with 2GB, so I can afford that lost of memory.
I have Chrome's cache there, because some guys said it made Internet browsing faster, and, well, I had nothing to lose. But I don't get the point, cache is supposed to make web loading faster by not downloading files stored in cache. I think this is just a very big bottle of snake oil, but, well. I trusted them back then, and tried it. Damn, I even have a transparent proxy cache (the famous Squid) installed in my pfSense gateway to lower webpage loading times. So this was counter-intuitive.
Also, I have both %TEMP% and %TMP% environment variables linked to the RAM disk. This I can understand, since usually they're only required for a short time (thus the name, temporal files), and having them in volatile memory would make my life easier by not having to clean them on a weekly basis, and not filling my SSD with junk. But, alas, IIRC, some apps use %TEMP% and/or %TMP% to save files required for, p.eg., a software upgrade. That'd render the RAM disk useless once again, because as it's volatile storage, the files would just disappear when the system restarted before the upgrade, and I'd be greeted by a nice "Files are missing yadda yadda" error as soon as I start the system. A point against RAM disk. Again.
So, is there something good in RAM disks? Excluding the obvious ~10kbish bandwidth.
I'm thinking of using my 16GB for my yet to be built home server (which, if I can, will virtualize a lot) and buy a 8GB 2133MHz or so kit for my daily driver. I rarely virtualize more than a machine with 2GB, so I can afford that lost of memory.