One way to accelerate File IO operations is by moving the files to a RAM disk.

On Linux this is extremely simple todo using via tmpfs.

tmpfs acceleration
# Speed Up /tmp Directory
mount --bind -ttmpfs /tmp /tmp

# Accelerate Scripts Directory
mount --bind -ttmpfs /home/webroot /home/webroot