Products > Computers

Niche Application GPU ramdisk

(1/1)

msuffidy:
The other day I was pondering if I could use the memory in my GPU for something like the 95% I am not playing games or using blender. So I was thinking you could use CUDA or openCL to allocate memory and try to make it into a device in Linux or something. So I searched for it and it turns out it already has been made  for Linux. My RTX 3060 has a half decent amount of VRAM (12G) and my system has 32GB.

It exists at this place: https://github.com/Overv/vramfs

So immediately I would expect something that reads and writes a lot of files all the time could benefit from that, or something that stream captures, like video recording may be good with that. In this case, the memory is mounted on the filesystem at some directory as root. I have created a ntfs image in that ramdisk and loopback mounted it as mod 777.

You can just say 4G in this photo but I didn't read the fine print at that time.

RoGeorge:
Nice!  :-+

Might worth using that when starting many VMs, each with its few GB of RAM.  Otherwise, with 32GB RAM (Ubuntu) I don't recall ever running low on RAM.  If you can measure the kWh over a week or so, with and without the video RAM disk, that would be interesting to compare.

I suspect making use of the video RAM will keep the video card in higher power modes.  A big video card can easily double the consumption of the entire rig, and this might be visible on the electricity bill.  :scared:

Haenk:
Interesting idea.
But. RAM should be way faster. And is dirt cheap currently, so I would just upgrade the main memory.

I still have one of those great Hyperdrives, with 32GB DDR1 installed. For that time, it had insane I/Os and satiated the SATA connection.

Navigation

[0] Message Index

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod