Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prsyahmi authored Nov 27, 2016
1 parent 49efd51 commit 7b937c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# GpuRamDrive
Create a virtual drive backed by GPU RAM.

![Screenshot](https://cloud.githubusercontent.com/assets/1040494/20649241/8bbf0838-b4f5-11e6-8f17-067d4ec30065.png)

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.
Expand All @@ -9,16 +11,14 @@ Using GPU RAM isn't as fast as host main memory, however it is still faster than

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 release section https://github.com/prsyahmi/GpuRamDrive/releases or Compile from source
3. Run GpuRamDrive.exe

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

## Usage
1. Install ImDisk Virtual drive
2. Download DevIo from http://www.ltr-data.se/opencode.html/
3. Put the output dll, DevIo and batch files on a same folder
4. Run 1-RunGpuRamDrive.bat and 2-MountGpuRamDrive.bat
5. To unmount, run 3-UnMountGpuRamDrive.bat

By using the batch file, the memory size allocated is defaulted to 1.5GB since most PCs nowadays have at least 2GB RAM available on their GPU. To change simply edit the batch file.

Expand Down

0 comments on commit 7b937c7

Please sign in to comment.