Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd B&H Deal Finder...
Buy other stuff at Amazon.com...
Upgrade the memory of your 2018 Mac mini up to 64GB
877-865-7002
Today’s Deal Zone Items... Handpicked deals...
$799 $499
SAVE $300

$449 $379
SAVE $70

$1000 $850
SAVE $150

$799 $299
SAVE $500

$249 $234
SAVE $15

$290 $250
SAVE $40

$1149 $799
SAVE $350

$1199 $999
SAVE $200

$1299 $1099
SAVE $200

$2799 $2449
SAVE $350

$3899 $3899
SAVE $click

$18599 $17099
SAVE $1500

$369 $239
SAVE $130

$1500 $999
SAVE $501

$764 $399
SAVE $365

$600 $450
SAVE $150

$1499 $629
SAVE $870

$1499 $629
SAVE $870

$7995 $7495
SAVE $500

$420 $170
SAVE $250

$700 $700
SAVE $click

$2999 $2399
SAVE $600

$1699 $899
SAVE $800

$169 $99
SAVE $70

$1498 $998
SAVE $500

$200 $150
SAVE $50

$370 $300
SAVE $70

$999 $949
SAVE $50

$1099 $999
SAVE $100

$580 $340
SAVE $240

OWC Envoy Pro EX SSD
Blazingly fast Thunderbolt 3 SSD!

Up to 4TB capacity, USB-C compatible.

USB-C model also available


Great for travel or for desktop!

Photoshop CS4 oddities

Last updated 2009-06-01 - Send Feedback
Related: optimization, Photoshop, RAID, software

This page contains Photoshop observations made during the course of testing. See also Configuring Photoshop, Speeding up Saving/Opening, Monitoring System Performance and Storage.

Photoshop RAID performance perhaps not exploited

This is a programmer/nerd discussion, feel free to skip it.

Using 'iostat', it can be seen that only about 1/3 of the disk speed is exploited (based on extensive testing of my RAID setup). This appears to be an internal Photoshop bottleneck, since neither the disk bandwidth nor CPU cores are exploited more than fractionally: computation is neither CPU-bound nor I/O-bound; the I/O is underutilized as are the CPU cores. The operations in question are not ones resistant to parallel techniques.

This oddity led me to investigate—

Using Apple’s Instruments program for software developers, I recorded the numerous disk I/Os that Photoshop performs to its scratch disk. The test volume used a 32K RAID stripe size.

Photoshop PBReadSync size:  1051232 = 1MB + 2656 bytes
Photoshop PBWriteSync size: 1051648 = 1MB + 3072 bytes

The concern here is that the writes are done with a non-integral number of bytes relative to the stripe size: there are 3072 bytes “left over” that a single drive must handle, unless the OS can zero-pad the block those bytes fall into. It is unclear, based on varying usage scenarios and Mac OS X caching, whether this issue is responsible for failure to exploit available disk bandwidth with 3/4/5/6 drive striped scratch volumes. Reads are not at issue since whole blocks are always read.

DiskTester results (which bypass system caching) show that write speed drops from a median speed of 492MB/sec to 118MB/sec on a 6-drive striped RAID when 1025K chunks vs 1024K chunks are written on the 2nd and subsequent passes. A 2-drive stripe sees a 57% performance loss. Whether there are 2 or 3 or 5 or 10 drives in the stripe, write performance is limited to (roughly) the speed of a single drive. Whether the scratch drive is used in this manner in general Photoshop operation is unclear, but if so, it would be a major performance hit.

Adequate memory for caching seems to mask the performance loss. See the test results.

Adobe could eliminate this as a potential issue by always writing scratch data in integral multiples of the stripe size (this could be a preference setting to choose the size). Or choosing 128K would solve the issue for virtually all striped RAID configurations.

 

OWC Accelsior 4M2 PCIe SSD
6000 MB/sec!
Mac or PC.


Ideal for Lightroom, Photoshop, video.
Capacity up to 16TB!
OWC Thunderblade Thunderbolt 3 SSD

Blazing fast, up to 16TB.

YEE HAH!



√ No more slow and noisy hard drives!
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).



Save the tax, we pay you back, instantly!
View all handpicked deals...

QNAP TS-253Be 2-Bay NAS Enclosure
$449 $379
SAVE $70

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__