Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was recently given two SSDs - OCZ SOLID SATA-II, 128 GB each. At present, they are in raid 0, giving me 256 GB storage and 252 MB/s read rate.

I've been told that SSDs have a limited lifespan and you must take measures to protect them. What are these, and how do I do so?

share|improve this question
    
We've made a blog post about maximizing the lifetime of your SSD. –  Tom Wijsman May 10 '11 at 15:03

2 Answers 2

There are various tricks you can use depending on your operating system.

  • If possible have enough RAM in your system so you don't ever need any swap space or page file.
  • Have all temporary storage (/tmp, /var/tmp, %TEMP%, whatever your OS has) point to a RAM disk.

Basically take all the precautions you can to reduce the amount of unnecessary writes to the SSDs.

It's good to still have a hard drive in the system for scratch space or swap / page files, etc.

share|improve this answer
    
I have a 500 GB HDD for bigger stuff, but I wanted to put swap on the SSDs, for speed. Should I not do this? –  Thomas O Apr 3 '11 at 22:44
    
Swap is a sure-fire way of terminating your SSDs early. You'd be much better off increasing your RAM to reduce the need for swap. –  Majenko Apr 3 '11 at 22:45

What operating system are you using? If you're using a filesystem that supports journaling (ext3 or ext4), you may want to turn off journaling (journaling makes extra writes).

You are generally guaranteed to get at least 1,000,000 writes to each block, so you will probably want to upgrade your storage anyway by the time it starts to wear out.

share|improve this answer
    
I'm using Ubuntu 10.10 and/or Windows XP Pro SP3. –  Thomas O Apr 3 '11 at 22:42
    
On Windows XP, journaling is disabled by default, so no worries there. (Source)‌​. Disabling journaling on Linux is done in fstab using the noatime switch. Google it. This may help –  tjameson Apr 3 '11 at 22:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.