Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Upgrade the memory of your 2018 Mac mini up to 64GB
Small Business Tax Write-Off?
Now is the time to purchase computer or photo gear for 2018 federal tax write-off. Consult with Lloyd.

Slow Memory Allocation / Warmup

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.

Cycling

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
Deals Updated Daily at B&H Photo
View BEST Deals Right Now
B&H Deal ZoneDeals by Brand/Category/Savings
Deals expire in 13 hours unless noted. Certain deals may last longer.
$599 SAVE $200 = 25.0% Canon 17-40mm f/4 EF L USM in Lenses: DSLR
$519 SAVE $130 = 20.0% Canon 70-200mm f/4 EF L USM in Lenses: DSLR
$449 SAVE $100 = 18.0% DJI Goggles Racing Edition in Video: Drones
$299 SAVE $50 = 14.0% $149 FREE ITEMS DJI Spark Quadcopter (Sunrise Yellow) in Video: Drones
$50 SAVE $100 = 66.0% Lowepro DroneGuard CS 400 in Video: Drones
$2497 SAVE $300 = 10.0% $29 FREE ITEMS Nikon 70-200mm f/2.8 AF-S NIKKOR E FL ED VR in Lenses: DSLR
$1099 SAVE $100 = 8.0% Sigma 85mm f/1.4 DG HSM Art in Lenses: DSLR
$898 SAVE $500 = 35.0% Sony a7 II Mirrorless in Cameras: Mirrorless
$898 SAVE $506 = 36.0% $19 FREE ITEMS Sony a7 II Mirrorless with Accessory Kit in Cameras: Mirrorless

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2008-2017 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__