↝ OWC / MacSales.com... ↜
↝ diglloyd Deal Finder... ↜
Buy other stuff at Amazon.com...
High capacity, high-performance fault-tolerant storage for photography and video.
Non-RAID or RAID-0/1/4/5/10.
Capacities up to 84 Terabytes!
When More Is Less: Photoshop Slower With 12 Cores Than 6
See the diglloydMedium benchmark.
For several years, I’ve lamented the scalability issues with Photoshop. Yet nothing has changed with CS5; the 2010 12-core Mac Pro at 3.33GHz shows severely impaired performance compared to the 6-core model. It’s not only not better, it’s worse—a lot worse (see graph below). And 12 cores are slower than the 4-core model too!
OWC Drive Dock for backup drives or extra storage.
USB-C about $119
USB 3.1 about $75
Thunderbolt 2 + USB about $180
More cores and more memory?
Giving CS5 twice the memory (48GB) and twice the cores (12) causes its performance to decline by 32%. Throwing money at a problem is not always the solution!
Photoshop is the problem; it does not scale beyond 4 cores
While the 6-core model is slightly faster than the 4-core model, it also has a 50% larger on-chip cache. And don’t confuse the small gain seen with 6 cores (vs 4) with scalability; that marginal increase means that it does not scale from 4 to 6 cores.
As further confirmation, the 8-core 2.93GHz model is faster than the 12-core 3.33GHz model in this test; all the results are consistent: more than 4 cores means marginal improvement, followed by degraded performance.
Below is a graph with more machines at other speeds. The rule holds— too many cores is a drag on performance (the iMac is slow because of only 16GB memory).
Disabling hyperthreading is easy, but you’ll have to download Apple’s developer tools to get the Processor control panel (maybe there is some other program that I’m unaware of). But it’s good for a 25% performance gain with the 3.33GHz 12-core Mac Pro!
CPU cores can be disabled, making it possible to analyze the behavior with and without hyperthreading (hyperthreading = virtual cores) and various numbers of real hardware CPU cores.
That a user should have to disable CPU cores to improve CS5 performance is not funny.
The graph below show a number of variants with varying numbers of cores with and without hyperthreading. All machines at 3.33GHz.
HT-off means that hyperthreading is off (no virtual cores) N/6 means that N cores of 6 are used, N/12 means N cores of 12 Which particular cores are disabled can also affect the results, but the pattern holds.
The 2010 3.33GHz 6-core is the easy winner, with the 12-core 3.33GHz machine far behind. Note that with hyperthreading disabled, the 3.33GHz 6-core gains 7% more performance.
That the 12-core 3.33Ghz model is 31% slower than the 3.33GHz 6-core model is surprising. More suprising is that with a single CPU core, the hexacore still outperforms. This makes no sense, but I re-ran the tests multiple times with very consistent results. Some is screwball in Photoshop land.
Why does Photoshop CS5 perform so much worse with 12 CPU cores?
In general, more threads incur scheduling and synchronization overhead in attacking the problem (e.g., shared mutex locks and similar synchronizers). Such issues are a well-understood challenge in multi-threaded architectures, and often a serious problem in scaling to more CPU cores. I’ve written quite a lot of such high-contention computer code in multi-threaded server software, so those statements are based on the realities of software design as a professional software engineer.
My reckoning is that the internal CS5 code architecture was designed for 2-4 cores some years ago, and is algorithmically inappropriate for systems with more than 4 cores—hence minimal improvement when going from 4 to 6 cores, and a sharp degradation beyond that. Will Adobe fix this? We can hope, but past actions are a strong predictor of the future.
Here is what I observed for thread allocation in CS5. Oddly, 12 cores with and without hyperthreading show the same number of threads allocated (12 hardware cores or 24 virtual cores). Perhaps a hard-coded limit exist.
1 core: 30 threads 2 cores: 34 threads 4 cores: 42 threads 8 cores: 58 threads 12 cores: 68 threads 24 cores: 68 threadsAll the internal reasons that CS5 degrades are known only to Adobe;, but the tests speak for themselves.
Up to 128GB for 2019 iMac 5K!
Up to 64GB for 2015/2017 iMac 5K
Save nearly 50% over Apple pricing
$699 SAVE $450 = 39.0% Apple 12.9" iPad Pro (Mid 2017, 512GB, Wi-Fi Only, Gold) in Electronics: iPads and Tablets
$5499 SAVE $800 = 12.0% Apple 15.4" MacBook Pro with Touch Bar (Mid 2018, Space Gray) in Computers: Apple Macs
$2549 SAVE $300 = 10.0% Apple 15.4" MacBook Pro with Touch Bar (Mid 2018, Space Gray) in Computers: Apple Macs
$18 SAVE $32 = 64.0% Energizer Multi-Fit LCD Timer Remote Shutter Release in Accessories: Photo Accessories
$7995 SAVE $3720 = 31.0% Leica Leica SL (Typ 601) Mirrorless with 50mm Lens Bundle in Cameras: Mirrorless
$170 SAVE $130 = 43.0% Ooma Home Security Starter Kit with Butterfleye Camera in All Other Categories