Jump to content

RAM Disk that is backed by GPU Memory


Batu69

Recommended Posts

Create a virtual drive backed by GPU RAM.

 

Screenshot

 

This application simply allocates a memory buffer inside GPU RAM and use it as virtual ram disk. The project is made possible by ImDisk and its proxy feature.

 

Using GPU RAM isn't as fast as host main memory, however it is still faster than a regular HDD. The result below is taken on my system with GTX 850M and i7-4710MQ. As IO operation is happening between the CPU and GPU, the GPU can become active from idle state and might causes system to draw more power.

 

This merely just a PoC, user who search for this kind of solution is advised to upgrade the RAM or buy a faster storage.

 

Benchmark

 

People who interested in this might also want to check BadMemory: https://github.com/prsyahmi/BadMemory

Usage

  1. Install ImDisk Virtual drive
  2. Download GpuRamDrive from https://github.com/prsyahmi/GpuRamDrive/releases or Compile from source
  3. Run GpuRamDrive_x86.exe or GpuRamDrive_x64.exe according to your platform

Compiling

To compile, open the solution, configure the target platform and build the project.

 

Article source

Link to comment
Share on other sites


  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

that's...quite backwards. GPU memory is much more valuable than ram, because it is faster...and far more expensive! something useful would be to have Vram used as conventional memory and then use the regular one for inane things such as ram drives.

Link to comment
Share on other sites


Wov. That's interesting. Although I have have no free space problem, I loved the technique.

Link to comment
Share on other sites


If you don't have an SSD then the option of having a ram disk to improve performance on some application can be quite valuable.

Basically, we make a ramdrive then have all our temporary folders/game folders on it.

Find some ramdrive software like the primo ramdrive that can load files to the ram drive and save it when your system shutsdown.

For those with slow systems this can give you a boost, especially in games that can fit in your ramdrive, of course.

We do have some cache softwares that really is way better than the default windows has but there's no cache software that can beat in access times when your files is in the ramdrive.

For slow systems, memory is also small.

This might help resolve that problem but be warn as this is PoC (proof of concept) only and might not safe to use for the not-so-technical.

 

 

 

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...