Monday, July 11, 2011

Solid State Drives, some theory and a selection of videos

Today I have been looking for information about SSD disks because I am probably interested in using them for my future home-made NAS solution. Having found this SSD topic pretty interesting, I have decided to write a post about it.

Let's start form the acronym: SSD means Solid State Drives, which is a new technology spreading very fast and finally reaching the end-user. In general terms, SSD can be defined as a hybrid device which stores your data (as well as your Operating System, of course) in a semi-conductor device known as flash memory with no mechanical parts (no moving heads or spinning disks).


Thanks to their construction, SSDs have rock solid advantages over standard mechanical hard disk drives. These advantages can be summarized as follow:
  • No spin-up time
  • Extremely low random access time (about 0.1ms)
  • Consistent read time throughout the SSD (while on a HDD if the data is written in a fragmented way, read ops will have varying response times)
  • Zero defragmentation
  • No noise (great for a home NAS)
  • Very light (SSDs size is 2,5" with SATA connectors)
  • Lower power consumption (Excellent for the environment and for your monthly bill)
  • Unaffected by magnetic fields
  • Very robust
As you can see some of this advantages are exactly what can be found on everybody's wishlist for a consumer NAS, that is no noise and low power consumption.
    There are of course some disadvantages that SSD designers and constructors are trying to workaround.


    The first inconvenient is the cost per GB, even for cheap Multi Level Cells drives, and this is driving most end-users away from buying 512GB SSD drives. The 2$/GB makes these hard drives very expensive, especially if compared with mechanical disks. Let's see some selling prices for well-known 120GB models (128GB for the Samsung 470 and the Crucial m4) to better catch how pricey SSDs are:

    • 199$ - OCZ Technology 120 GB Vertex 2 Series SATA II 2.5-Inch Solid State Drive MLC OCZSSD2-2VTXE120G (a video review is here)
    • 210$ - Corsair Force 3 120 GB SATA III 2.5-Inch Solid State Drive CSSD-F120GB3-BK
    • 217$ - Kingston SSDNow V100 128GB SATA II 2.5 Inch Solid State Drive SV100S2/128GZ
    • 229$ - Lexar Media Inc Crucial 128 GB m4 SATA III 2.5-Inch Solid State Drive CT128M4SSD2 (video here)
    • 240$ - OCZ 120 GB Vertex 3 SATA III 2.5-Inch Solid State Drive MLC VTX3-25SAT3-120G  based on the SF-2200 series controllers from SandForce (video review here)
    • 240$ - Corsair 120 GB Force Series Ultra Fast TRIM Supported Solid State Drive MLC CSSD-F120GB2-BRKT
    • 248$ - Samsung 470 Series 128GB SATA II Solid State Drive MZ-5PA128
    • 258$ - Intel 320 Series 120 GB SATA II 2.5-Inch Solid-State Drive Retail Box
    • 266$ - OWC Mercury Extreme Pro 120 GB 2.5-inch SATA SSD based on SandForce 1200 controller
    • 275$ - Intel X25-M 120 GB Solid State Drive with Internal SATA and Power Cables MLC Flash Technology, 2.5-Inch (here the Intel announcement for one of the best value SSD of the moment)
    • 280$ - Intel 510 Series 120 GB SATA II Version 3 2.5-Inch Solid-State Drive
    • 370$ - Transcend 120 GB SATA II Ultra Series 2.5 Inch SSD with DRAM Cache TS120GSSD25D-M
    Quite expensive for a NAS where you just wanted to store many TB of data, isn't it? Maybe better used as Operating System disk, even though you can already use a cheap USB key to start an OS like Freenas.
    OCZ Vertex 3 120GB SATA III
    Let's continue. The second weakness of a SSD is the Mean Time Between Failure (MTBF): the longevity of this type of drives is shorter than the one of standard HDD because of the fact that the number of write cycles to any memory cell is limited and once you have consumed your quota for that block the disk starts to become unreliable. This second longevity problem has definitively slowed down the adoption of SSDs in production environments where reliability is everything. As reported by Portman Wills, who made the experiment, the reliability of SSDs over time is very low: he bought 8 SSDs two years ago and all of them failed pretty soon as reported here:
    • Super Talent 32 GB SSD, failed after 137 days
    • OCZ Vertex 1 250 GB SSD, failed after 512 days
    • G.Skill 64 GB SSD, failed after 251 days
    • G.Skill 64 GB SSD, failed after 276 days
    • Crucial 64 GB SSD, failed after 350 days
    • OCZ Agility 60 GB SSD, failed after 72 days
    • Intel X25-M 80 GB SSD, failed after 15 days
    • Intel X25-M 80 GB SSD, failed after 206 days
    Of course these were consumers SSDs with cheaper MLC technology but the outcome of the experiment has scared away many of us, I can tell.

    Another general concern is SSD maximum available size in GB. RunCore (a Chinese company) has released in December 2010 a big 3.5-inch SSD with a capacity of 1TB (2 x 500GB SSD drives and 2 x SandForce SF-1200 controllers). This SSD supports SATA III at 6.0 GB. The price? You better not to ask.

    RunCore 1 TB SSD
    So much for the theory. I spent some days watching videos explaining the advantages of SSD drives over HD and I am happy to share them with you, and maybe this will help you to decide whether to buy a SSD or just wait for 2012, year in which SSD are supposed to massively enter the consumer marketplace.

    The first video is Samsung SSD Awesomeness, where Paul took 24 Samsung SSD drives and put them in RAID-0 to test their speed and reliability to heavy stress. This video is very exciting for those interested in computer hardware assembly and, believe me, it is very very very funny.

    Another interesting video about SSD is the one by Samsung where the performances of SSDs and HDDs are compared. Seeing this video, it looks like Samsung is willing to become a big actor of the SSD industry.

    Intel has also made its video advertising the advantages of Intel SSDs, mainly for corporations looking to lower their Cost of Ownership. Another video from Intel showing the differences between SSDs and HDDs can be found here.

    A more technical video giving an insight of the technology is the one by Explaining Computers. In particular, the difference between Single Level Cells SSDs (faster but expensive) and Multi Level Cell (slower but cheaper) SSDs is explained in simple terms.

    Robustnesswise, you have to watch the Intel commercial video showing you that SSD drives are karateproof while HDD are not! Ok, you aren't probably going to your server room, pull out the disk bay and kick your hard disk drives as shown in the video, but it is a good robustness test indeed.

    Digging even more, a video I enjoyed watching is the Consumer SSD Solid State Drive Buyer's Guide by Linus where three generations of OCZ Vertex SSD drives are compared to each other and a technical description of each is given. Linus does also a good job of explaining that RAID-0 SSD arrays are less risky than RAID-0 arrays made up of standard HDDs because SSDs are less prone to fail (even if nobody can guarantee that your raid controller will never fail...).

    Getting back to the technology behind, I appreciated this other video by Linus explaining with a good example how the TRIM operation speeds up cell deletion in SSD drives. As an added benefit, the TRIM operation does help SSDs reduce wear by eliminating the need for many merge operations to occur. Today TRIM is supported only by Windows 7 and by Linux starting from kernel 2.6.33.2.

    For the ones of you who like DYI and have some spare time, have a look at this pretty cool video where you can learn to change your old HDD in a fast performing SSD drive by raiding USB keys. Astonishing and pretty simple at the same time, even if it does not explain how to remove the "removable bit" from the USB keys in order to convert them in dynamic disks.

    This is all for SSD disks for the moment. I will start testing them pretty soon. In the meanwhile, if you have already tested some of them, please do not hesitate to share your opinion and to report performance, problems or whatever you fell like to share.

    0 commentaires:

    Post a Comment

    Related Posts Plugin for WordPress, Blogger...