Thank you for buying via links and ads on this site,
which earn me advertising fees or commissions.
As an Amazon Associate I earn from qualifying purchases.

Other World Computing...
B&H Photo...
As an Amazon Associate I earn from qualifying purchases.
Capacities up to 56TB and speeds up to 1527MB/s
Today’s Deal Zone Items... Handpicked deals...
$1398 $998
SAVE $400

$1798 $1198
SAVE $600

$151 $151
SAVE $click

$2299 $2069
SAVE $230

$240 $175
SAVE $65

$240 $175
SAVE $65

$1399 $1399
SAVE $click

$2198 $1998
SAVE $200

$2299 $1799
SAVE $500

$2000 $1500
SAVE $500

$898 $798
SAVE $100

$1799 $1799
SAVE $click

$1699 $1499
SAVE $200

$999 $799
SAVE $200

$1798 $1198
SAVE $600

$1997 $1797
SAVE $200

$3399 $2799
SAVE $600

$33 $33
SAVE $click

$699 $549
SAVE $150

$400 $300
SAVE $100

$1699 $949
SAVE $750

$1199 $1099
SAVE $100

$1199 $1099
SAVE $100

$999 $949
SAVE $50

$1699 $949
SAVE $750

Using a RAM disk as a Photoshop CS4 scratch disk

2009-06-01 updated 2010-01-19 - Send Feedback
Related: Apple macOS, hard drive, memory, optimization, Photoshop, RAID, RAID-0, software

The original version of this article can be found here. That version established that a RAM disk was ineffective as a Photoshop scratch disk on Mac OS X Leopard, as well as having a limitation of 2.1GB for any single RAM disk.

In Mac OS X Snow Leopard 10.6, the 2.1GB limit on RAM disk size has been eliminated.

Even more interesting, 8GB memory modules are now available from OWC, and this allows up to 64GB of memory to be used in an 8-core Mac Pro Nehalem, or 32GB in a quad-core model.

Test machine and test notes

OWC 8GB memory modules

An 8-core Mac Pro Nehalem 2.93GHz with 64GB memory as eight 8GB modules.

The 8GB memory modules were provided by OWC, see my review of these awesome 8GB modules.

The results you’ll get with a RAM disk for Photoshop CS4 scratch volume depend on what you’re doing.

The 4-way RAID 0 stripe used for comparison consisted of four Hitachi 7K2000 hard drives, the fastest SATA drive I had tested as of January 2010. The striped partition used tests out at about 520MB/sec sustained speed, or about 1/2 to 1/3 the speed of the RAM disk.

Save Big $$$$ on Memory for 2019 Mac Pro

Up to 65% better pricing than Apple

Lloyd recommends 32GB RDIMM modules for most users (more expensive LRDIMMS are for 512GB or more).

Test results

I tested with the diglloydMedium and diglloydHuge benchmarks.

For most users, the diglloydMedium benchmark is most appropriate (16GB scratch space used).

diglloydMedium benchmark — a small win

An 18GB RAM disk (18432MB)

I used an 18GB RAM disk because the test uses almost 16GB of scratch space.

Hitachi RAID: 41 seconds
18GB RAM disk: 37 seconds

The RAM disk dropped time by about 10%.

The reason performance isn’t a lot better is not because Photoshop is somehow maxed-out by CPU speed (far from it), rather it’s that Photoshop is not coded efficiently, and can’t use much more than 500MB/second I/O speed, which is shown by previous testing. It’s a performance bug that we can hope gets fixed in CS5.

OWC ROVER PRO wheels for Mac Pro

No tools or hassle… just place your Mac Pro’s factory feet into the Rover Pro’s polished stainless-steel housings and secure with a few hand twists.

When you’re done moving your Mac Pro around, the Rover Pro makes it just as quick and easy to convert back to the factory feet for stationary use.

diglloydHuge benchmark — performance hit with RAM disk

This benchmark uses ~56GB of scratch space. A 50GB RAM disk was used, which means the RAM disk fills up before the test is over. Thereafter, that space is of no benefit whatsoever to the subsequent portion of the test. Results are worse with a larger RAM disk.

A large RAM disk uses memory that could otherwise be used by the Mac OS X unified buffer cache. Furthermore, the system starts paging out the memory used by the RAM disk, defeating the goal of having a RAM disk in the first place! The performance loss is substantial.

Hitachi RAID: 166 seconds (no RAM disk)
32GB RAM disk: 256 seconds
50GB RAM disk: 376 seconds

Once the RAM disk fills up, it sits idle (unless one goes back in Photoshop History, which will read from it).

Here’s what’s responsible for the performance loss: virtual memory paging. The Page outs figure should always remain at zero for an optimal system. In my case, that 2.92GB was paged out to my boot drive, an Intel 80GB SSD, which is not particularly fast at writes.

Using a 50GB RAM disk causes virtual memory paging

But wait — 64GB memory is helpful if used right!

See this performance test using the 64GB memory vs 32GB, etc.

diglloydHuge benchmark, varying the amount of memory


The value of a RAM disk for Photoshop CS4 scratch is marginal compared to a fast 4-drive RAID 0 stripe, but if the scratch size and RAM disk size and available memory are balanced, a modest gain in performance is available.

A user without a fast 4-way stripe will naturally see larger gains. But as this was written four Hitachi 2TB drives cost about $720, while 64GB memory cost about $3600. And of course those hard drives can be used not only for a fast scratch partition but ~8TB of data storage. So to max-out your system, get the hard drive upgrade done first, then add monster memory.


OWC Thunderblade Thunderbolt 3 SSD

Blazing fast, up to 16TB.


√ No more slow and noisy hard drives!

Deals Updated Daily at B&H Photo
View all handpicked deals...

Sony Alpha a7R II Mirrorless Digital Camera (Body Only)
$1798 $1198
SAVE $600 | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__