C
craignorris
John,
When a computer program needs more memory capacity than the installed RAM provides, it will use a technique called "page swapping" whereby a chunk of the data in RAM is written to hard disk so that the RAM is freed up for the next thing the program wants to do. This is covered under the heading of "virtual memory" in Windows. Later, when the data which was temporarily written to disk is needed again by the program, another chunk of data is written to disk so that the earlier data on the disk can be read back into the RAM again. These chunks of data are sometimes called "pages" and therefore the technique is called "page swapping". The Windows operating system calls it Virtual Memory, and Photoshop opens a temporary file for the purpose on whatever hard disk you defined under Edit>Preferences>Plugins & Scratch disks.
Once Photoshop gets into page swapping, the performance will suddenly slow down dramatically, especially if you've left the scratch disk setting at the default "startup" setting. Photoshop will usually give a warning about degraded performance if the scratch disk and Windows Virtual Memory disk are on the same disk partition, and recommends using a separate physical drive for the scratch disk.
You mentioned in your earlier post about adding an extra 512MB of RAM, that Photoshop no longer "seized up". That seizing up was due to the slowness of swapping the data between memory and the scratch disk. Even with the extra 512MB, Photoshop will still seize up on you if you perform enough operations on the image to run out of RAM and get into page swapping. To see what I mean, try rotating an image 90 degrees many times in succession, until the allocated RAM gets used up.
If the amount of RAM you now have is enough to do the usual image adjustment operations without getting into scratch disk usage, then you needn't worry about any of this. But if you are frequently running out of RAM, then a high performance scratch disk may be cheaper than buying extra memory.
The highest performance scratch disk is usually a RAID Zero (or RAID0) pair of IDE hard disks. "RAID" means Redundant Array of Inexpensive Disks. RAID Zero is a non-redundant mode whereby the data is striped across the array of disk drives, thus increasing the read and write performance dramatically. This is the best thing to use for a scratch disk because Photoshop can get the data on and off the RAID Zero array much faster than it could with just your c: drive.
You can buy a PCI RAID host adaptor and then you connect two new hard disks to that. Then in Photoshop you define the RAID0 array, which will have a drive letter like e: under Edit>Preferences>Plugins & Scratch disks.
You can also define a RAID One (RAID1) array whereby two drives are mirrored. The data is written to both drives simultaneously, thus protecting you from potential total data loss in the event of a disk drive failure. RAID1 doesn't provide any performance benefit, so for the purposes of the discussion in this thread, RAID0 should be of the main interest.
The RAID0 array must be defined in Windows 2000 under Control Panel>Administrative Tools>Computer Management>Storage. Here one would set up a 4GB partition at the start of the RAID for the scratch disk, and the remaining part of the RAID can be used for your image library.
I hope this answers your question.
Kind Regards,
Craig
When a computer program needs more memory capacity than the installed RAM provides, it will use a technique called "page swapping" whereby a chunk of the data in RAM is written to hard disk so that the RAM is freed up for the next thing the program wants to do. This is covered under the heading of "virtual memory" in Windows. Later, when the data which was temporarily written to disk is needed again by the program, another chunk of data is written to disk so that the earlier data on the disk can be read back into the RAM again. These chunks of data are sometimes called "pages" and therefore the technique is called "page swapping". The Windows operating system calls it Virtual Memory, and Photoshop opens a temporary file for the purpose on whatever hard disk you defined under Edit>Preferences>Plugins & Scratch disks.
Once Photoshop gets into page swapping, the performance will suddenly slow down dramatically, especially if you've left the scratch disk setting at the default "startup" setting. Photoshop will usually give a warning about degraded performance if the scratch disk and Windows Virtual Memory disk are on the same disk partition, and recommends using a separate physical drive for the scratch disk.
You mentioned in your earlier post about adding an extra 512MB of RAM, that Photoshop no longer "seized up". That seizing up was due to the slowness of swapping the data between memory and the scratch disk. Even with the extra 512MB, Photoshop will still seize up on you if you perform enough operations on the image to run out of RAM and get into page swapping. To see what I mean, try rotating an image 90 degrees many times in succession, until the allocated RAM gets used up.
If the amount of RAM you now have is enough to do the usual image adjustment operations without getting into scratch disk usage, then you needn't worry about any of this. But if you are frequently running out of RAM, then a high performance scratch disk may be cheaper than buying extra memory.
The highest performance scratch disk is usually a RAID Zero (or RAID0) pair of IDE hard disks. "RAID" means Redundant Array of Inexpensive Disks. RAID Zero is a non-redundant mode whereby the data is striped across the array of disk drives, thus increasing the read and write performance dramatically. This is the best thing to use for a scratch disk because Photoshop can get the data on and off the RAID Zero array much faster than it could with just your c: drive.
You can buy a PCI RAID host adaptor and then you connect two new hard disks to that. Then in Photoshop you define the RAID0 array, which will have a drive letter like e: under Edit>Preferences>Plugins & Scratch disks.
You can also define a RAID One (RAID1) array whereby two drives are mirrored. The data is written to both drives simultaneously, thus protecting you from potential total data loss in the event of a disk drive failure. RAID1 doesn't provide any performance benefit, so for the purposes of the discussion in this thread, RAID0 should be of the main interest.
The RAID0 array must be defined in Windows 2000 under Control Panel>Administrative Tools>Computer Management>Storage. Here one would set up a 4GB partition at the start of the RAID for the scratch disk, and the remaining part of the RAID can be used for your image library.
I hope this answers your question.
Kind Regards,
Craig