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...
Amazon
As an Amazon Associate I earn from qualifying purchases.
877-865-7002
Today’s Deal Zone Items... Handpicked deals...
$4499 $2999
SAVE $1500

$799 $429
SAVE $370

$149 $99
SAVE $50

$2198 $1798
SAVE $400

$80 $28
SAVE $52

$3498 $2998
SAVE $500

$2999 $1699
SAVE $1300

$2397 $2197
SAVE $200

$1697 $1297
SAVE $400

$2998 $2898
SAVE $100

$2198 $1798
SAVE $400

$190 $161
SAVE $28

$580 $450
SAVE $130

$2997 $2697
SAVE $300

$1799 $1599
SAVE $200

$2198 $1998
SAVE $200

Upgrade the memory of your 2020 iMac up to 128GB
OWC Black Friday

Best Deals of the Year!


Promo code BFCM2021 good thru Nov 30
Check for new deals daily!

Slow Memory Allocation / Warmup

2011-01-27 - Send Feedback
Related: memory, optics, Photoshop, software

When I first tested Photoshop CS5 in March 2010, I was stunned to see how much slower it was than CS4.  Then I noticed a curious thing— running tests more than once showed far better results on subsequent runs.

diglloyd warmup scripts

That finding led me to document what I call the “Photoshop warm up bug”; whereby Photoshop CS5 suffers from inefficient memory allocation until “warmed up”.

I wrote a C++ test program to verify that memory allocation could be done in a few seconds, not the minute or so being taken by Photoshop CS5. (I am also a software developer, e.g., diglloydTools).

And then I set about to develop a javascript that forces the warm up to occur as efficiently as possible (users of my diglloydTools software can download the warmup scripts).

Don’t launch/quite/launch Photoshop

The graphs below show run time with and without “warmup”.    It makes a compelling case for avoiding a launch/quit cycle, and instead leaving Photoshop running without quitting so that memory remains allocated and ready to go within Photoshop.

Of course, whatever is causing this problem could be fixed by Adobe (or Apple) at some point. I do not have an explanation from Adobe as to the cause, but clearly it has to do with inefficient memory allocation.

Startup issue only

The warmup issue is a one-time issue, not an ongoing problem; once Photoshop has allocated plenty of memory, subsequent work proceeds apace (e.g., work on a file, close it, open another file, no problem).

Results shown here are for the 3.33GHz 6-core for diglloydMedium.  The diglloydSpeed1 benchmark (not shown) shows very little effect (less than 2%), but that’s because it allocates much less memory.

The penalty worsens with larger files and 12 cores versus 6 cores.

Photoshop CS5 warm/cold performance with 6-core Mac Pro
Photoshop CS5 warm/cold performance with 12-core Mac Pro

diglloyd.com | 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__