vramfs: VRAM based file system for Linux
18 points by chamlis
18 points by chamlis
I did it with z2ram on linux-m68k to use “all” of the 4M ram on a Cybervision64 card when not using it. Then added this device as a swap to get some use for it. (this was REALLY long ago, think the kernel was 1.2.13pl10, not sure)
VRAM as a block device goes back to at least the PS3 times with OtherOS:
https://github.com/torvalds/linux/blob/master/drivers/block/ps3vram.c
https://cbmfiles.com/genie/C128ToolkitListing.php:
16601 VDCRAMDISK.SDA E.BOURDON1 941017 5120 Desc: Use the C-128 VDC as a ramdisk!
That’s from 1994, using the VDC (secondary video chip)’s memory. (There are older implementations, but that was the oldest English reference that I could find)
Interesting!
I have a few devices at home which I am planning to use as homelab servers, some with a GPU with plenty of memory. This would let me mount /
, /home
, and perhaps even /tmp
or similar on the GPU, leaving more RAM to more important things.
This will be a fun experiment.