News for hackers. Stuff that matters.
Re:Nobody ever ported Doom to run on a Cray 1 by martyvis on Monday December 21, 2020 @02:33PM (#25498487)
I guess a RAM drive, where you aren't using mechanical methods for mass storage, can be considered a solid state drive
Re:Nobody ever ported Doom to run on a Cray 1 by beamatronic on Monday December 21, 2020 @02:52PM (#25498747)
Even the Amiga had a RAM disk
Re:Nobody ever ported Doom to run on a Cray 1 by makach on Monday December 21, 2020 @03:37PM (#25499266)
RAM disk is the one thing I really miss on PC/Mac
Re:Nobody ever ported Doom to run on a Cray 1 by lreeves on Monday December 21, 2020 @04:06PM (#25499540)
There 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!
Re:Nobody ever ported Doom to run on a Cray 1 by Y_Y on Monday December 21, 2020 @05:53PM (#25500674)
Has any of you actually successfully used a ramdisk recently on a modern GPU? The documentation available for doing this in Linux is pretty scarce.
Re:Nobody ever ported Doom to run on a Cray 1 by mr_toad on Monday December 21, 2020 @07:21PM (#25501456)
I think /dev/shm is available on most(?) Linux systems by default these days. I tend to use it instead of /tmp when I can.
Re:Nobody ever ported Doom to run on a Cray 1 by yjftsjthsd-h on Monday December 21, 2020 @07:42PM (#25501589)
On 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).
Re:Nobody ever ported Doom to run on a Cray 1 by rcoveson on Monday December 21, 2020 @10:50PM (#25502649)
I 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.
Re:Nobody ever ported Doom to run on a Cray 1 by fomine3 on Tuesday December 22, 2020 @01:43AM (#25503640)
What about /var/tmp ?
Re:Nobody ever ported Doom to run on a Cray 1 by ithkuil on Monday December 21, 2020 @06:38PM (#25501097)
Amiga had a nice trick called the RAD disk which was a ram disk whose content would be preserve across soft reboot
Re:Nobody ever ported Doom to run on a Cray 1 by s_gourichon on Monday December 21, 2020 @05:06PM (#25500192)
On most Linux /dev/shm is a RAM disk. Nothing to install even.
Re:Nobody ever ported Doom to run on a Cray 1 by Something1234 on Monday December 21, 2020 @07:08PM (#25501355)
Has anyone seen a program actually put something here?
Re:Nobody ever ported Doom to run on a Cray 1 by nl on Monday December 21, 2020 @04:02PM (#25499484)
You 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.

Re:Nobody ever ported Doom to run on a Cray 1 by 1over137 on Monday December 21, 2020 @04:59PM (#25500126)
You can still create RAM disks with macOS. See `man diskutil`.