GiGaBiTe
Veteran Member
You could try creating a block device on video RAM:
https://wiki.archlinux.org/index.php/swap_on_video_ram
There are a few gimmick video cards out there with an absurdly large amount of video memory that will never be able to use all of it practically. I've done this with several PCIe and PCI video cards. You aren't limited to swap, you can use any file system and store regular files on it. I got some pretty impressive speeds on PCIe video cards, usually 800 MB/s+ on both reads and writes. Speeds depend on the specific GPU though since you have to go through the memory controller on the GPU.
https://wiki.archlinux.org/index.php/swap_on_video_ram
There are a few gimmick video cards out there with an absurdly large amount of video memory that will never be able to use all of it practically. I've done this with several PCIe and PCI video cards. You aren't limited to swap, you can use any file system and store regular files on it. I got some pretty impressive speeds on PCIe video cards, usually 800 MB/s+ on both reads and writes. Speeds depend on the specific GPU though since you have to go through the memory controller on the GPU.