You can improve thumbnail sweep performance by using a temporary directory on a fast storage device such as a RAM disk or RAID array.
The thumbnail generation process stores information in a temporary folder while the generation takes place. The performance of a thumbnail generation sweep can be improved by setting the temporary directory to a local directory on your operating system.
The temporary directory is heavily used during the generation of thumbnails. The files that are produced during the thumbnail generation sweep have a short lifetime and are deleted as soon as the sweep is finished. To improve the performance of the sweep, you can use a faster disk such as a RAID disk array or RAM disk. Setting the temporary directory to a directory on a network drive can cause the sweep to run more slowly. In general, RAM disks have considerably faster access times than other forms of storage media.
The user that runs the Content Platform Engine server must have the ability to create the temporary directory and to create files in that directory.
To update the temporary directory location: