Go Back  FlyerTalk Forums > Travel&Dining > Travel Technology
Reload this Page >

RAM Disk with an SSD?

Community
Wiki Posts
Search

RAM Disk with an SSD?

Thread Tools
 
Search this Thread
 
Old May 21, 2013 | 2:45 pm
  #1  
Original Poster
FlyerTalk Evangelist
 
Join Date: Mar 2004
Location: Newport Beach, California, USA
Posts: 36,062
RAM Disk with an SSD?

I just added memory to my new laptop (i7 hyper-threaded quad core previously described) bringing it up to 16 gig (and making it the most powerful computer I've ever owned!). I'm trying to think of how to exploit all that extra memory. If I had a regular hard drive, adding a RAM disk and pointing the TEMP environment variables and swap file towards that would be an obvious choice. However, as I have an SSD, would I gain anything? If the difference is di minimus, I won't bother, but if I would get a perceivable performance increase it's probably worth doing. If the latter, how much memory should I grab for the RAM disk?
PTravel is offline  
Old May 21, 2013 | 3:18 pm
  #2  
10 Countries Visited
20 Countries Visited
30 Countries Visited
20 Years on Site
 
Join Date: Jul 2001
Location: Lower Merion Township, PA, (an inner-ring suburb to the Socialist Workers City/State of Philadelphia, PA)
Posts: 597
Lifehacker says a RAMDISK is faster than an SSD.

http://lifehacker.com/5969767/add-a-...sd-performance
JadedTraveler is offline  
Old May 21, 2013 | 3:24 pm
  #3  
FlyerTalk Evangelist
40 Countries Visited
All eyes on you!
20 Years on Site
 
Join Date: Jun 2005
Posts: 38,543
I wouldn't use a ramdisk. Windows file cacheing will basically do it for you.
Loren Pechtel is offline  
Old May 21, 2013 | 3:53 pm
  #4  
FlyerTalk Evangelist
Conversation Starter
All eyes on you!
20 Years on Site
 
Join Date: Nov 2002
Location: ORD
Posts: 14,771
+1 on Loren.

Good use for the power: start playing games.
gfunkdave is offline  
Old May 21, 2013 | 4:05 pm
  #5  
FlyerTalk Evangelist
30 Countries Visited
1M
All eyes on you!
15 Years on Site
 
Join Date: Apr 2009
Location: Bye Delta
Programs: AA EXP, UA Silver, HH Diamond, IHG Plat, Hyatt Plat, Marriott Titanium, Nat'l EE, Avis PC, Hertz PC
Posts: 16,635
Originally Posted by Loren Pechtel
I wouldn't use a ramdisk. Windows file cacheing will basically do it for you.
I would second this. The operating system is already going to cache what it thinks it will need. There are certain specific cases where it can make sense, but for most people it's not going to be worth the effort.
javabytes is offline  
Old May 21, 2013 | 5:01 pm
  #6  
Original Poster
FlyerTalk Evangelist
 
Join Date: Mar 2004
Location: Newport Beach, California, USA
Posts: 36,062
Originally Posted by gfunkdave
+1 on Loren.
Thanks, Loren! (and gfunkdave).

Good use for the power: start playing games.
Never been a game player. However, I compose music, edit audio, edit video and edit photographs using a variety of professional level tools (Sonar, Audition, Finale, Sibelius, Photoshop, After Effects and Premiere), all of which love lots of memory, require a powerful CPU and most of which are coded for 64-bit, hyper-threaded, multi-core CPUs. Though most of my work day is spent in Word, Outlook and Acrobat, most of my "play time" will make use of my new Best Friend's power.
PTravel is offline  
Old May 21, 2013 | 6:15 pm
  #7  
FlyerTalk Evangelist
40 Countries Visited
5M
100 Nights
20 Years on Site
 
Join Date: May 2002
Location: Pittsburgh
Programs: MR LT Titanium, AA LT PLT, UA SLV, Avis PreferredPlus, HH Gold, Hertz PC, National Executive, etc.
Posts: 31,670
I have a similar machine (8.0-8.2 Windows index) and haven't bothered with ramdisk or any tuning that I typically needed on my old machine. This weekend I had Lightroom exporting full-res TIFF files, while CS6 was doing a panorama photomerge of 6 photos, while I was working with flash video, and it wasn't breaking a sweat. I've yet to see it use more than 9GB of RAM, and only after I purposely generated multiple smartobject-laden layers.

Just use and enjoy.
CPRich is offline  
Old May 21, 2013 | 9:25 pm
  #8  
10 Countries Visited
2M
60 Nights
20 Years on Site
 
Join Date: Dec 2002
Location: Oregon
Programs: AA EXP, UA 1MM, HH Diamond, National EE, Hertz PC
Posts: 4,055
Oh, get yourself VMware and start running several different' OS's at once and you'll want to double that measly 16
elCheapoDeluxe is offline  
Old May 21, 2013 | 10:49 pm
  #9  
FlyerTalk Evangelist
40 Countries Visited
All eyes on you!
20 Years on Site
 
Join Date: Jun 2005
Posts: 38,543
Originally Posted by elCheapoDeluxe
Oh, get yourself VMware and start running several different' OS's at once and you'll want to double that measly 16
Yup. I normally run two VMs, sometimes more. It's quite normal to see the actual memory use hover around 12gb, if I'm doing anything at all heavy in the main system it's going to edge past 16gb. I've only taken it clear up to the 24 I have installed once doing a bunch of video conversion. (I couldn't queue them up so I had several instances running when I walked away from the machine.)
Loren Pechtel is offline  
Old May 31, 2013 | 10:17 am
  #10  
All eyes on you!
20 Years on Site
 
Join Date: Jan 2005
Posts: 855
How about Mathematica? One of the things you can do with it is image processing.

Image Processing

Mathematica 9 adds many more capabilities to analyze and process two- and three-dimensional images using highly optimized algorithms. Introduction of the interactive Image Assistant, Suggestions Bar, and many more user assistance features helps solve real-world image processing applications, including image classification, feature detection, restorationall more easily and faster than before.
glob99 is offline  
Old Jun 3, 2013 | 12:44 pm
  #11  
FlyerTalk Evangelist
30 Countries Visited
2M
All eyes on you!
25 Years on Site
 
Join Date: Jul 2000
Location: in the vicinity of SFO
Programs: AA 2MM (LT-PLT, PPro for this year)
Posts: 19,784
I haven't found a good RAMdisk driver for Windows; on Linux, I use tmpfs a lot, and it is noticeably faster than SSD for some purposes (compilation and assembling IDE caches, mainly) at least when used with "safe" file system tunings (turning on aggressive write-caching -- "data=writeback,commit=600" on ext4) helps with some of the difference.)

Linux has a much more aggressive than Windows in terms of keeping read cache around rather than free memory by default, which makes it WAY faster for development workloads -- my favorite example was back in 2006 with XP (which was even worse) but Linux inside VMWare Workstation inside Windows actually did builds (ant/java) noticeably faster than Windows on the exact same hardware (no, I don't remember.) Because of that, on read-heavy parts of the workload, the SSD makes a bigger difference on Windows, and I'd imagine that would also make a similar difference with a ramdisk if you could find a good driver for it.

--

I doubt moving \windows\temp or \user\whoever\appdata\local\temp to ramdisk will make much difference unless you have a specific program that you know is doing a lot of writes there.
nkedel is offline  
Old Jun 3, 2013 | 9:56 pm
  #12  
FlyerTalk Evangelist
40 Countries Visited
All eyes on you!
20 Years on Site
 
Join Date: Jun 2005
Posts: 38,543
Originally Posted by nkedel
I haven't found a good RAMdisk driver for Windows; on Linux, I use tmpfs a lot, and it is noticeably faster than SSD for some purposes (compilation and assembling IDE caches, mainly) at least when used with "safe" file system tunings (turning on aggressive write-caching -- "data=writeback,commit=600" on ext4) helps with some of the difference.)

Linux has a much more aggressive than Windows in terms of keeping read cache around rather than free memory by default, which makes it WAY faster for development workloads -- my favorite example was back in 2006 with XP (which was even worse) but Linux inside VMWare Workstation inside Windows actually did builds (ant/java) noticeably faster than Windows on the exact same hardware (no, I don't remember.) Because of that, on read-heavy parts of the workload, the SSD makes a bigger difference on Windows, and I'd imagine that would also make a similar difference with a ramdisk if you could find a good driver for it.

--

I doubt moving \windows\temp or \user\whoever\appdata\local\temp to ramdisk will make much difference unless you have a specific program that you know is doing a lot of writes there.
XP wasn't very good at it but my understanding is that Win 7 is. I do see some pretty massive cacheing going on at times with what I do.
Loren Pechtel is offline  
Old Jun 3, 2013 | 11:47 pm
  #13  
10 Years on Site
 
Join Date: Dec 2011
Location: YOW, KBV
Programs: AP, MP
Posts: 260
Originally Posted by PTravel
I just added memory to my new laptop (i7 hyper-threaded quad core previously described) bringing it up to 16 gig (and making it the most powerful computer I've ever owned!). I'm trying to think of how to exploit all that extra memory. If I had a regular hard drive, adding a RAM disk and pointing the TEMP environment variables and swap file towards that would be an obvious choice. However, as I have an SSD, would I gain anything? If the difference is di minimus, I won't bother, but if I would get a perceivable performance increase it's probably worth doing. If the latter, how much memory should I grab for the RAM disk?
SSD has limited number of writes


As for swap file, it's only used when there is no enough memory; pointless to put it in the RAM
ohliuw is offline  
Old Jun 4, 2013 | 6:00 am
  #14  
FlyerTalk Evangelist
30 Countries Visited
2M
All eyes on you!
25 Years on Site
 
Join Date: Jul 2000
Location: in the vicinity of SFO
Programs: AA 2MM (LT-PLT, PPro for this year)
Posts: 19,784
Originally Posted by Loren Pechtel
XP wasn't very good at it but my understanding is that Win 7 is. I do see some pretty massive cacheing going on at times with what I do.
The Windows NT v6 kernel (Vista, 7, 8) is certainly a lot better than XP was; it's still less aggressive about caching than Linux, and generally slower on some sets of operations with lots of small files.

Originally Posted by ohliuw
SSD has limited number of writes
A limited number of writes that virtually no regular user will see in the useful lifetime of an SSD. There are a few exceptions, but very few people are going to be rewriting the full capacity of the disk several times every day, which is what it would take to wear down the drives in a reasonable amount of time.

We HAVE a truly abusive workload at my work (continuous build and unit tests), which had been running on older Intel SSDs -- pretty much keeping the drives at a significant portion of their write speed all the time during the workday, and some write load 24/7. When we, after about 2 years, started replacing them with newer, faster SSDs, the oldest drives were showing about 25% of their estimated write lifetime remaining via SMART and out of a pool of 16 machines the same age (and 64 total with that model of SSDs although none deployed quite as long) not a single one ever started getting write errors because of running out of spare space.

I think we had a total of 2 drives out of 80 die suddenly, but that's generally assumed to be controller failure which is usually what takes out SSDs.

As for swap file, it's only used when there is no enough memory; pointless to put it in the RAM
Yup, at least with Windows. There are some interesting compressed-RAM drivers on Linux which let you use a chunk of compressed RAM as part of the swap, and are sometimes used on Android builds.

Really no reason to have a swap file these days, other than that Windows doesn't behave well without one; I usually shrink it to 1gb.
nkedel is offline  
Old Jun 4, 2013 | 6:54 am
  #15  
Original Poster
FlyerTalk Evangelist
 
Join Date: Mar 2004
Location: Newport Beach, California, USA
Posts: 36,062
Originally Posted by ohliuw
SSD has limited number of writes
I know. However, I've been monitoring the projected life of my SSDs (I have them installed in three of my machines) using a variety of software. They'll expire long after the computers they're in have become obsolete.

As for swap file, it's only used when there is no enough memory; pointless to put it in the RAM
I guess I'll just have to start running lots of memory-intensive programs all at once.
PTravel is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.