Bookmark and Share Printer-friendly version Email to a Friend

Flash SSDs - Inferior technology or closet superstar?

( 01 Oct 2004 )
by Kelly Cash

There's been a lot of talk in the storage industry recently about solid-state disks (SSDs) and their ability to dramatically speed up a computing environ-ment's performance. One thing that is rarely discussed is the difference between different types of solid-state technology. There are two basic types of memory used by SSDs: DRAM and Flash memory.

A general perception in the computing industry is that only DRAM is robust enough for enterprise use. That sentiment doesn't give enough credit to Flash memory. As with any two different technologies, each has its advantages. This paper explains the differences in effort to help determine which technology is best suited for one's IT environment.

Speed
It's common knowledge that writing to Flash memory is much slower than writing to DRAM. Isn't speed the main purpose of installing an SSD in the first place? Yes. However, to say that Flash technology is "slower than DRAM" is to sell it short.

First, reading data from Flash memory is very similar to the speed of reading from DRAM. Second, the better manufacturers of Flash SSDs incorporate a DRAM cache in the drives to speed up writes. The best of those manufacturers have algorithms inside the devices which are able to flush that data from cache to Flash in the background without impacting performance. If we graph the relative performance of the two types of SSD and a traditional rotating disk, it looks like the graph below.

This graph is close to scale-one pixel width represents 10 micro-seconds (µs). Typical access times are: DRAM SSD: 10 to 50µs, Flash SSD: 35 to 100µs, Rotating Disk: 5000 to 10000µs (5 to 10ms). We can see from the graph below that the DRAM-based SSD is indeed faster than the Flash-based SSD; it may even be three times as fast. However, we must ask the question: "Is that performance difference significant?" Considering how much faster each SSD technology is than rotating disk, the answer may well be "No." Chances are good that other differentiators below will be more important to many IT environments.

Longevity/lifespan
Unlike DRAM, Flash memory chips have a limited lifespan. Further, different Flash chips have a different number of write cycles before errors start to occur. Flash chips with 300,000 write cycles are common, and currently the best Flash chips are rated at 1,000,000 write cycles per block (with 8,000 blocks per chip). Now, just because a Flash chip has a given write cycle rating, it doesn't mean that the chip will self-destruct as soon as that threshold is reached. It means that a Flash chip with a 1 million erase/write endurance threshold limit will have only 0.02 percent of the sample population turn into a bad block when the write threshold is reached for that block. The better Flash SSD manufacturers have two ways to increase the longevity of the drives.



This graph is close to scale- one pixel width represents 10 microseconds (µs).

In the first way, a "balancing" algorithm is used. This monitors how many times each disk block has been written. This will greatly extend the life of the drive. The better manufacturers have "wear-leveling" algorithms that balance the data intelligently, avoiding both exacerbating the wearing of the blocks and "thrashing" of the disk: When a given block has been written above a certain percentage threshold, the SSD will (in the background, avoiding performance decreases) swap the data in that block with the data in a block that has exhibited a "read-only-like" characteristic.

Second, should bad blocks occur, they are mapped out as they would be on a rotating disk. With usage patterns of writing gigabytes per day, each Flash-based SSD should last hundreds of years, depending on capacity. If it has a DRAM cache, it'll last even longer.

Data integrity
Most Flash SSD makers employ error-checking algorithms and are able to correct a few bytes in a 512-byte block. Some of the less-robust error-checking will miscorrect three byte errors about 20% of the time. The best Flash SSD providers can correct six random byte errors (and detect nine) in a 512-byte block. They will also never miscorrect a three-byte error. This level of error-checking gives security that the data integrity of the drive will last much longer than we as IT professionals will have to worry about it.





Volatility
Unlike DRAM, Flash is inherently non-volatile. There's an old axiom which states that "a computer's attention span is only as long as its power cord." This definitely holds true for DRAM as well.

While Flash memory will retain its data beyond 10 years without power, little more than 10 milliseconds without power will give DRAM a most annoying case of amnesia. To prevent this, DRAM-based SSD makers must add batteries and disks to keep the data from being lost during a power failure. Though rechargeable, these batteries must be maintained (replaced) on a regular basis (maintenance cycles vary; consult the SSD's manufacturer) to ensure their ability to completely backup the data in the SSD. The batteries maintain power to the memory and disk(s) long enough to transfer the data from DRAM to the non-volatile storage.

Two things to consider are: Some power failures happen in rapid succession. This may cause the backup operation of the SSD to start over, which essentially drains the batteries prematurely. This may mean that the batteries will not retain enough power to complete a backup cycle. Second, backup and restoration of the data takes time. It can take 30 to 60 minutes or more to backup and restore the data. The backup time usually isn't painful, but the restoration can cause extended downtime.

Consider the scenario of a power failure and successful data backup to disk. When power returns, the server(s) can be up and ready long before the SSD's data is restored from its backup disk. This can mean that the server will be unavailable for an extra hour or so. Depending on the application, this could range from a mere annoyance to a business-threatening outage.

Form factor
Most DRAM-based SSDs are large, rack-mount devices. They require large internal power supplies, fans, batteries and disk drives to provide non-volatility. In comparison Flash-based SSDs are much smaller, usually the same form factor as a conventional disk.

Flexibility
Because the form factor of flash-based SSDs is so much smaller, they are inherently more flexible in their use. They can often be used in place of traditional disks in storage arrays or in a server's internal disk bays. Embedded applications or mobile systems often require the much smaller footprint of a Flash-based SSD.

Reliability
Both types of SSD are quite reliable since there are few, if any, moving parts. Even the backup disks of the DRAM-based SSDs are typically spun down during normal operation. This means that both types of SSDs are much more reliable than a traditional disk. However, for more demanding environments the smaller, more rigid Flash-based SSDs are often more desirable. They typically withstand greater vibration and temperature ranges than DRAM-based SSDs.

Some Flash-based SSDs are even considered "ruggedized" by NASA and the U.S. Military. These drives will withstand intense extremes that would reduce a rack-mount box to rubble.

Power consumption/heat dissipation
One benefit of flash memory is that is uses much less power than DRAM chips. Because of this, Flash-based SSDs generate much less heat than their DRAM counterparts. This also means that they don't need cooling fans, whereas the DRAM-based SSDs do. Again, fans take space and require power themselves, which in turn generates heat and noise.

Cost
No IT department would purchase a solution without looking at its price tag. While DRAM chips and Flash memory chips are similar in price, the overall cost per megabyte is generally lower for Flash-based SSDs. This is due to the simpler design, and the lack of need for backup batteries and disks, and the enclosures in which to hold them.
Some of the cost of the DRAM-based SSDs is the extra sheet metal for holding the batteries and disks, as well as the labor involved in assembling it all.

Summary
Now that we've taken an in-depth look at the different functionality and features, it should be clear to see that Flash memory is useful for more than just consumer devices-it's also well-suited for the enterprise. Of course, one type of SSD will likely be better suited to the needs of your applications and IT environment than the other. Clearly though, it can be seen that Flash memory has quite a list of capabilities that make it a "superstar" technology for many IT organizations.

Author's Information
Kelly Cash has been in the systems performance arena over 15 years, specializing in server and storage optimization. During his career he's been an engineer focusing on performance for such companies as Sun Microsystems, Data General, and
AIM Technology. He has also held positions in the IT space, such as the chief UNIX IT technologist for Cadence Design Systems.


 
Printer-friendly version Email to a Friend
 
Article Rating 
Average Rate: No rating yet
 
Poor Quite Good Good Very Good Excellent
 
 
ADVERTISEMENT
 
Related Content 
 
 
ON-DEMAND WEBCASTS


 
 
Highest Rated  
Feedback Loop  

ADS BY GOOGLE 
 
 
 
ADVERTISEMENT
Press Release 
 
TECHNOLOGY NEWS
 
 
 
PRODUCT NEWS
 
FEATURED SPONSORS
 
 
 
DESIGN CENTERS
 
ADVERTISEMENT
     
Reference Designs 
   
     
 
 
 
 

 

RSS
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

POLL
What type of environmental regulation do you think will be most beneficial for the tech industry?
Proper recycling and disposal
Push for power efficiency and energy conservation
Chemical/lead regulation
View results


 
     
 
Power Technology E-newsletter 
Power.org Releases Power Architecture 32-bit Application Binary Interface Supplement
EDNA, May 11
POL Regulators Designed for Energy-efficient Computing
EDNA, March 11
Fairchild Revolutionizes Power Savings
EDNA, January 11
Lattice Transforms Board Power and Digital Management
EDNA, November 10
 
Analog E-newsletter 
12V Dual-channel Synchronous Buck Converter Features Integrated FETs
EDNA, February 10
Power MOSFETs features reduced top-side thermal impedanc
EDNA, January 10
 
     
 
KNOWLEDGE CENTER
 
Texas Instruments: DaVinci™ Technology
 
Texas Instruments: Safe Bet Series
 
 
INDUSTRY LINKS
 
Photonics Association (Singapore)
Singapore Industrial Automation Association (SIAA)
Taiwan Semiconductor Industry Association (TSIA)
 
 
OUR SPONSORS
 






Keithley Instruments
With more than 60 years of measurement expertise, Keithley Instruments has become a world leader in advanced electrical test instruments and systems from DC to RF (radio frequency). Our products solve emerging measurement needs in production testing, process monitoring, product development, and research...
 
 
 
     
 

EDN India | EDN Taiwan | EDN Korea | EDN Japan | EDN China | EDN | EDN Europe

 
ABOUT EDN Asia | CONTACT US
   
© 2012 EDN Asia All rights reserved.