View Single Post
  (#6) Old
germanium_jack germanium_jack is offline
Member
 
Posts: 57
Join Date: Oct 2008
Location: The planet "Dirt"
Default Re: Swap and Temp files on SD? - 10-14-2008, 03:59 PM

I only thought about it to have the temporary and swap file data writes going somewhere else to reduce the number of writes to the SSD and help it "live" as long as possible.

I'm guessing that the drives are compressed for the same reason. If a file that is being written is 400,000 bytes long, and it is written to the SSD in uncompressed mode, it will use up 400,000 byte write cycles plus the directory write cycles. With compression running in RAM, the number of bytes actually written to the SSD would be reduced. If the file only compressed by 25%, it would reduce the number of byte write cycles down to 300,000 plus the directory write cycles. This would eliminate 100,000 byte write cycles to the SSD.

So while running the SSD (like any other drive) compressed, throughput will be slower due to the extra software overhead of the compression and decompression, but the number of byte write cycles to the SSD would be reduced. This might result in a longer service life of the SSD.


"Germanium" Jack
Reply With Quote