3 ms·
Even the Amiga had a RAM disk
by beamatronic 6y ago
Even the Amiga had a RAM disk
- makach 6y agoRAM disk is the one thing I really miss on PC/Mac
- nl 6y agoYou can easily setup a RAM disk on Windows at least. These days with M2 SSDs it isn't really necessary and (as was the case back then) you are usually better off using any spare RAM for programs.
- lreeves 6y agoThere are many software tools to give you a RAM disk these days on pretty much all major operating systems - even ones that give you a disk based off of GPU memory!
- Y_Y 6y agoHas any of you actually successfully used a ramdisk recently on a modern GPU? The documentation available for doing this in Linux is pretty scarce.
- ithkuil 6y agoAmiga had a nice trick called the RAD disk which was a ram disk whose content would be preserve across soft reboot
- mr_toad 6y agoI think /dev/shm is available on most(?) Linux systems by default these days. I tend to use it instead of /tmp when I can.
- yjftsjthsd-h 6y agoOn some distros, /tmp is a tmpfs (ramdisk) anyways. Which of course I discovered when building a package that was bigger than my installed memory (really big package on Arch Linux, which both mounts tmpfs there and then uses it as the default makepkg location).
- rcoveson 6y agoI really hate this hack. It feels like an attempt by distro maintainers to make their distro feel and/or benchmark quicker than others. I don't know if that's the original reason it was done, but I do know that it's a big pain to work around for a program author. If I'm writing to /tmp, I expect that the file might be swapped to disk, and indeed that it will be paged to disk before the OOM killer comes for me. If what I wanted was named shared memory, I'd put it in /dev/shm.
- fomine3 6y agoWhat about /var/tmp ?
- 1over137 6y agoYou can still create RAM disks with macOS. See `man diskutil`.
- s_gourichon 6y agoOn most Linux /dev/shm is a RAM disk. Nothing to install even.
- Something1234 6y agoHas anyone seen a program actually put something here?