• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Is RAM Disk worth it?

Joined
Feb 18, 2011
Messages
1,259 (0.26/day)
Yeah, I know this thread is old, but I believe I've found a benefit to Ram Drives that will be useful to some people. Those with newer Nvida gfx cards will have access to ShadowPlay (or whatever they're calling it now) to record their game sessions. I haven't done any benchmarking, but I think it safe to assume that recording video in real-time while playing triple A titles, especially at 4k resolutions, is going to demand a lot from your HD or SDD. So I've set mine up so that the temp files, which are the real-time recordings, use a Ram Disk. When you're done recording, ShadowPlay copies the temp files to a different (permanent) location of your choosing. I use the MSI Ramdisk that was developed for my class of motherboard. I have 32gb of mem clocked at 3,000mhz, so I set the Ram Disk to use 6gb and so far it's working like a charm.
I wonder how many Mbps / sec do you need, because I found SSDs to be up to the job and fine for recording with Shadowplay.
 

Raybo58

New Member
Joined
Dec 8, 2016
Messages
4 (0.00/day)
Location
Long Beach, CA
System Name Black Widow
Processor Intel Core i7-6800K
Motherboard MSI X99A SLI Krait Edition
Cooling Corsair H110i GT Extreme Performance Liquid CPU Cooler
Memory Corsair Dominator Platinum Series 32GB
Video Card(s) EVGA GeForce GTX 1080 FOUNDERS EDITION Video Card with EVGA Hybrid addon
Storage Samsung 950 PRO 512GB NVMe SSD and 4 Hitachi Ultrastar 7K3000 3TB 7200 RPM drives
Display(s) Panasonic 55" Class TC-55CX400U Smart 4K UHD LED TV
Case Cooler Master - HAF XB EVO case
Audio Device(s) VISO Model: SB3831-C6M sound bar
Power Supply ENERMAX REVOLUTION87+ 1000W
Mouse LUOM G5 3200DPI LED Optical 9D USB Vibration Wired Illuminated Gaming Mouse
Keyboard HyperX Alloy FPS Mechanical Gaming Keyboard
Software Windows 10 x64 1607
Benchmark Scores HWBOT x265 - 39.13 FPS SuperPi 1M - 8.816 secs Heaven 4.0 D3D11 1600x900 8xAA Extreme - 3774
no.not really. everyone i have known who tries it out, ends up saying the same things after a week or so...."i disabled/uninstalled it, i just got tired of it after a while."especially if you have an SSD.

Is it possible that "Everyone you have known" were unable to conceive of any practical applications? "Getting tired" of something doesn't really give us any useful information. I just elaborated on a situation where it works beautifully.

The author of this article says that their studies showed "write speeds for a RAM drive were an average of 4.5 times faster than the built-in SSD and read speeds were 6.3 times faster."...
http://www.makeuseof.com/tag/ram-drives-faster-ssds-5-things-must-know/

In an era where yearly gains in computer tech result in systems that are at most 5 to 10 percent faster that the previous year, a solution that results in gains that are 500% faster than the fastest existing tech seems worth investigating.
 

Raybo58

New Member
Joined
Dec 8, 2016
Messages
4 (0.00/day)
Location
Long Beach, CA
System Name Black Widow
Processor Intel Core i7-6800K
Motherboard MSI X99A SLI Krait Edition
Cooling Corsair H110i GT Extreme Performance Liquid CPU Cooler
Memory Corsair Dominator Platinum Series 32GB
Video Card(s) EVGA GeForce GTX 1080 FOUNDERS EDITION Video Card with EVGA Hybrid addon
Storage Samsung 950 PRO 512GB NVMe SSD and 4 Hitachi Ultrastar 7K3000 3TB 7200 RPM drives
Display(s) Panasonic 55" Class TC-55CX400U Smart 4K UHD LED TV
Case Cooler Master - HAF XB EVO case
Audio Device(s) VISO Model: SB3831-C6M sound bar
Power Supply ENERMAX REVOLUTION87+ 1000W
Mouse LUOM G5 3200DPI LED Optical 9D USB Vibration Wired Illuminated Gaming Mouse
Keyboard HyperX Alloy FPS Mechanical Gaming Keyboard
Software Windows 10 x64 1607
Benchmark Scores HWBOT x265 - 39.13 FPS SuperPi 1M - 8.816 secs Heaven 4.0 D3D11 1600x900 8xAA Extreme - 3774
I wonder how many Mbps / sec do you need, because I found SSDs to be up to the job and fine for recording with Shadowplay.

It may be that your system has little trouble keeping up. My suggestion was for those whose systems may be struggling. In any event, we know that SSDs are subject to eventual failure in direct proportion to how much activity they are subjected to. So why not preserve their value by reducing the strain? Especially when the solution is extremely simple and, in most cases, free.
 
Last edited:

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
40,435 (6.58/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
Is this detectable in real world or only through benchmarks?
 
Joined
Jun 25, 2010
Messages
854 (0.17/day)
I tried a ram drive with Space Engine since the game has tens of thousands of files and streams in different qualities of textures the closer you get to a planet. It was pretty clear there was a possibility of a large improvement but going from an SSD to the ram drive did nothing to improve the texture streaming.

I also used it for a Minecraft server (with MANY mods) and this also was a situation where it didn't do anything, the SSD performed the same.


I assume the coding of these things comes in to account. Only when the game/app/etc is coded properly to take advantage the massive speeds of a ram drive is when it might really help but in the two cases I tried results were disappointing.



Massive image editing would benefit from a ram drive, I know situations and jobs where it would speed up productivity. The thing is the $1k+ programs will usually have the "load projects to ram" option built in anyway making a separate program to create a ram drive moot.
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
40,435 (6.58/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
I tried a ram drive with Space Engine since the game has tens of thousands of files and streams in different qualities of textures the closer you get to a planet. It was pretty clear there was a possibility of a large improvement but going from an SSD to the ram drive did nothing to improve the texture streaming.

I also used it for a Minecraft server (with MANY mods) and this also was a situation where it didn't do anything, the SSD performed the same.


I assume the coding of these things comes in to account. Only when the game/app/etc is coded properly to take advantage the massive speeds of a ram drive is when it might really help but in the two cases I tried results were disappointing.



Massive image editing would benefit from a ram drive, I know situations and jobs where it would speed up productivity. The thing is the $1k+ programs will usually have the "load projects to ram" option built in anyway making a separate program to create a ram drive moot.

Youre better off running a RAID of SSDs. The performance gains in Ramdisk are miniscule, especially if you have 8GB+ ram.
 
Joined
Jun 28, 2016
Messages
3,595 (1.26/day)
As for the "real world" difference - that's really very dependent on what one is doing.
At this point I'm still running a PC without SSD, so the difference between RAM and HDD is tremendous.

But again: installing software (games?) on DDR is cumbersome (somehow more sensible on Linux thanks to easier scripting).
I've had mixed results with moving files - e.g. photos when editing. It's often difficult to force software to keep temporary files in the RAMdisk. Therefore it could happen that the edited file is in RAM and is read/written quickly, but all operations between are happening on a disk.
However, if you succeed in keeping the whole workflow in the RAMdisk (e.g. when you write the code yourself), you'll notice the difference - even compared to mainstream SSDs.
 
Joined
Feb 18, 2011
Messages
1,259 (0.26/day)
It may be that your system has little trouble keeping up. My suggestion was for those whose systems may be struggling. In any event, we know that SSDs are subject to eventual failure in direct proportion to how much activity they are subjected to. So why not preserve their value by reducing the strain? Especially when the solution is extremely simple and, in most cases, free.

Any SSD you buy nowadays will be utterly obsolete and small way before you would start seeing nand failures. I recommend you give that RAM to Windows instead of spending it on a ram drive (or give it to Shadowplay, and let it save more seconds into memory).

In the early days of DOS and Windows times, ram drives had a good use for many different scenarios, but nowadays, modern operating systems and applications can use and do appreciate the more ram as cache or whatever else they might need the ram for. Ram drives can also create unwanted page faults and cache misses, so they can make things even worse in some cases.
I understand that you are trying to help, but this is just a discussion and I have a different opinion:toast:
 
Last edited:
Joined
Jun 28, 2016
Messages
3,595 (1.26/day)
Any SSD you buy nowadays will be utterly obsolete and small way before you would start seeing nand failures. I recommend you give that RAM to Windows instead of spending it on a ram drive (or give it to Shadowplay, and let it save more seconds into memory).

In the early days of DOS and Windows times, ram drives had a good use for many different scenarios, but nowadays, modern operating systems and applications can use and do appreciate the more ram as cache or whatever else they might need the ram for. Ram drives can also create unwanted page faults and cache misses, so they can make things even worse in some cases.

For me the most important "scenario" is still simply utilizing a boost in data transfers. Even if you have a PCIe SSD with read/write speeds around 1GB/s, RAM drive will be 10x faster.

As for SSD failures:
What you said is obviously true for typical users (multimedia, games, office tasks).
This is NOT true in general.
Lets assume an average consumer SSD available today can write ~1PB and will be used for 3 years. That gives around 1TB a day.
Obviously, that is A LOT. There exist people that won't write as much data in their life (intentionally, so putting aside cache).

Some people can easily write 1TB a day because of a hobby, a home office activity etc. There is a vast number of ways you can use a PC - some stressing the hardware a lot more than gaming (even with shadowplay...).
Even in large companies, enterprise-grade SSDs (with much better lifetime) are used only in servers. You won't find them in high-end business laptops by default.
 
Joined
Apr 3, 2012
Messages
4,355 (0.99/day)
Location
St. Paul, MN
System Name Bay2- Lowerbay/ HP 3770/T3500-2+T3500-3+T3500-4/ Opti-Con/Orange/White/Grey
Processor i3 2120's/ i7 3770/ x5670's/ i5 2400/Ryzen 2700/Ryzen 2700/R7 3700x
Motherboard HP UltraSlim's/ HP mid size/ Dell T3500 workstation's/ Dell 390/B450 AorusM/B450 AorusM/B550 AorusM
Cooling All stock coolers/Grey has an H-60
Memory 2GB/ 4GB/ 12 GB 3 chan/ 4GB sammy/T-Force 16GB 3200/XPG 16GB 3000/Ballistic 3600 16GB
Video Card(s) HD2000's/ HD 2000/ 1 MSI GT710,2x MSI R7 240's/ HD4000/ Red Dragon 580/Sapphire 580/Sapphire 580
Storage ?HDD's/ 500 GB-er's/ 500 GB/2.5 Samsung 500GB HDD+WD Black 1TB/ WD Black 500GB M.2/Corsair MP600 M.2
Display(s) 1920x1080/ ViewSonic VX24568 between the rest/1080p TV-Grey
Case HP 8200 UltraSlim's/ HP 8200 mid tower/Dell T3500's/ Dell 390/SilverStone Kublai KL06/NZXT H510 W x2
Audio Device(s) Sonic Master/ onboard's/ Beeper's!
Power Supply 19.5 volt bricks/ Dell PSU/ 525W sumptin/ same/Seasonic 750 80+Gold/EVGA 500 80+/Antec 650 80+Gold
Mouse cheap GigaWire930, CMStorm Havoc + Logitech M510 wireless/iGear usb x2/MX 900 wireless kit 4 Grey
Keyboard Dynex, 2 no name, SYX and a Logitech. All full sized and USB. MX900 kit for Grey
Software Mint 18 Sylvia/ Opti-Con Mint KDE/ T3500's on Kubuntu/HP 3770 is Win 10/Win 10 Pro/Win 10 Pro/Win10
Benchmark Scores World Community Grid is my benchmark!!
I found that while Crunching for WCG, a while ago, that a particularly hard project, hard as in using lots of resources, ran better with a dedicated Ram Disk.

Took a while to toy with it so things all ran smooth, considering I am dealing with only 8Gigs. In the end, it helped run that project on my Laptop about 15% quicker, Rough, VERY rough, estimate. It also saved a bunch of writes to disc, due to checkpoints. So, it did extend my SSD's life a little. :laugh:

Just my two cents on this.
:lovetpu:
 
Joined
Feb 9, 2009
Messages
1,618 (0.29/day)
Yeah, I know this thread is old, but I believe I've found a benefit to Ram Drives that will be useful to some people. Those with newer Nvida gfx cards will have access to ShadowPlay (or whatever they're calling it now) to record their game sessions. I haven't done any benchmarking, but I think it safe to assume that recording video in real-time while playing triple A titles, especially at 4k resolutions, is going to demand a lot from your HD or SDD. So I've set mine up so that the temp files, which are the real-time recordings, use a Ram Disk. When you're done recording, ShadowPlay copies the temp files to a different (permanent) location of your choosing. I use the MSI Ramdisk that was developed for my class of motherboard. I have 32gb of mem clocked at 3,000mhz, so I set the Ram Disk to use 6gb and so far it's working like a charm.
what? shadowplay's whole point is low enough bitrates, divide the bitrate by 8 & you get the byte speed, compare that to your drive's specifications or personal benchmarks... so what is the max bitrate that you can set in shadowplay?

i run fraps on old computers, laptops, etc... even at half resolution 60fps, it's still bloated over 200mbit (25mbytes/s), yet is fine for mechanical drives, all these modern *264 type encoders can do low bitrates well below fraps peak since fraps is pseudo-lossless

during the titanfall2 free weekend, i was playing the game on the laptop AND fraps recording to the laptop drive AND (unthrottled max speed) copying other recordings from it to a usb3 drive, now that is some serious mechanical i/o load that didnt even ruin the experience

the demand for a single game with gpu accelerated recording is so low on drives, the only good reason is to not wear out SSDs
 
Joined
Mar 11, 2009
Messages
1,778 (0.32/day)
Location
Little Rock, AR
System Name Gamer
Processor AMD Ryzen 3700x
Motherboard AsRock B550 Phantom Gaming ITX/AX
Memory 32GB
Video Card(s) ASRock Radeon RX 6800 XT Phantom Gaming D
Case Phanteks Eclipse P200A D-RGB
Power Supply 800w CM
Mouse Corsair M65 Pro
Software Windows 10 Pro
I still say we should try using a custom bootloader to load the OS into ram, and Raid0 that with another ramdisk. You double your ram speed that way.
 
Joined
Jun 28, 2016
Messages
3,595 (1.26/day)
I still say we should try using a custom bootloader to load the OS into ram, and Raid0 that with another ramdisk. You double your ram speed that way.

There are Linux distributions preconfigured for running in RAM - it can't be much easier than that.
https://en.wikipedia.org/wiki/List_of_Linux_distributions_that_run_from_RAM
IMO the observable (empirical) gain in smoothness is minimal even compared to modern HDDs.
There are some benefits if you frequently execute some programs - e.g. I use sed/grep a lot, but things like this can usually be boosted by better code design. In Linux many things are cached in RAM anyway.
 
Joined
Mar 11, 2009
Messages
1,778 (0.32/day)
Location
Little Rock, AR
System Name Gamer
Processor AMD Ryzen 3700x
Motherboard AsRock B550 Phantom Gaming ITX/AX
Memory 32GB
Video Card(s) ASRock Radeon RX 6800 XT Phantom Gaming D
Case Phanteks Eclipse P200A D-RGB
Power Supply 800w CM
Mouse Corsair M65 Pro
Software Windows 10 Pro
There are Linux distributions preconfigured for running in RAM - it can't be much easier than that.
https://en.wikipedia.org/wiki/List_of_Linux_distributions_that_run_from_RAM
IMO the observable (empirical) gain in smoothness is minimal even compared to modern HDDs.
There are some benefits if you frequently execute some programs - e.g. I use sed/grep a lot, but things like this can usually be boosted by better code design. In Linux many things are cached in RAM anyway.

Yea but windows has the cool software raid0, and you have to load the OS before you can use that. So load windows into ram, boot from that, setup another ramdisk, raid0 it with the first ramdisk, and you basically have the fastest computer in the world. Probably boot up in microseconds.
 
Joined
Oct 8, 2015
Messages
719 (0.23/day)
Location
Earth's Troposphere
System Name 3 "rigs"-gaming/spare pc/cruncher
Processor R7-5800X3D/i7-7700K/R9-7950X
Motherboard Asus ROG Crosshair VI Extreme/Asus Ranger Z170/Asus ROG Crosshair X670E-GENE
Cooling Bitspower monoblock ,custom open loop,both passive and active/air tower cooler/air tower cooler
Memory 32GB DDR4/32GB DDR4/64GB DDR5
Video Card(s) Gigabyte RX6900XT Alphacooled/AMD RX5700XT 50th Aniv./SOC(onboard)
Storage mix of sata ssds/m.2 ssds/mix of sata ssds+an m.2 ssd
Display(s) Dell UltraSharp U2410 , HP 24x
Case mb box/Silverstone Raven RV-05/CoolerMaster Q300L
Audio Device(s) onboard/onboard/onboard
Power Supply 3 Seasonics, a DeltaElectronics, a FractalDesing
Mouse various/various/various
Keyboard various wired and wireless
VR HMD -
Software W10.someting or another,all 3
Yea but windows has the cool software raid0, and you have to load the OS before you can use that. So load windows into ram, boot from that, setup another ramdisk, raid0 it with the first ramdisk, and you basically have the fastest computer in the world. Probably boot up in microseconds.
Sounds fishy like some free electricity ads in wich one plugs a male end of a cavle into socket and the other end of the cable with (guess wich connector type), another [SOILER="male connector[/SPOILER], in another socket.
 
Joined
Jun 28, 2016
Messages
3,595 (1.26/day)
Yea but windows has the cool software raid0, and you have to load the OS before you can use that. So load windows into ram, boot from that, setup another ramdisk, raid0 it with the first ramdisk, and you basically have the fastest computer in the world. Probably boot up in microseconds.

Maybe, but what for? Booting time - seriously? :)

And you'll have to move the whole Windows to RAM, which will take you a few seconds. W10 will boot up in under 10 seconds if you ask politely. ;)

Anyway, Windows is pretty big, so if you'd like to make it really smooth (as in: without a disk swap and with essential software in RAM as well), you'll need a lot of RAM. ;)

Linux works here a lot better, because you'll easily find a distribution needing less than 2 or 3 GB - even with some tools and files to work with.

I just thought about something else: running an OS in a VM in RAM. That's worth trying. ;)
 
Joined
Mar 11, 2009
Messages
1,778 (0.32/day)
Location
Little Rock, AR
System Name Gamer
Processor AMD Ryzen 3700x
Motherboard AsRock B550 Phantom Gaming ITX/AX
Memory 32GB
Video Card(s) ASRock Radeon RX 6800 XT Phantom Gaming D
Case Phanteks Eclipse P200A D-RGB
Power Supply 800w CM
Mouse Corsair M65 Pro
Software Windows 10 Pro
Sounds fishy like some free electricity ads in wich one plugs a male end of a cavle into socket and the other end of the cable with (guess wich connector type), another [SOILER="male connector[/SPOILER], in another socket.

Ok, ok, I'll stop. My humor here is getting dangerously close to trolling...

Yes, I know it's fishy. Also impossible because you can't software raid the windows boot disk from within windows.

I originally thought of the gag when this thread was a little older (scroll back a bit, you'll see it) when people were saying to put your pagefile on a ramdisk. A silly idea, as a pagefile is designed to swap memory out of ram and onto a swap file on the hard disk. If you have enough hard faults that you need a faster page file, then you need more ram. If you have enough ram to put your pagefile on a ramdisk, then you won't need a pagefile (excepting that windows basically requires one) and you won't have enough hard faults for it to affect speed in any way.

I just decided to come up with a sillier solution...

Also, please don't plug a double male cable into two sockets. That doesn't get you free electricity... that gets you dead in a fire.
 
Last edited:
Top