• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Great SSD article

I thought I would check up on SSD with great prices now. Thanks for linking the article, tons of great info.
 
There is something in the article that is something to note.

Still, sometimes even streaming across multiple I/O channels to multiple NAND chips isn't enough to keep up with the data coming in across the bus that the computer expects the SSD to accept, so quite a few consumer SSDs contain some amount of DDR2 or DDR3 SDRAM, usually between 128 and 512 MB. Having a chunk of cache sitting there lets the SSD quickly receive data that it needs to write, even if it's too busy to actually write it at the moment; the data sits in the SDRAM cache until the controller is able to find time to send it down and actually commit it to NAND. All this happens transparently to the computer and you, the end user—regardless of whether or not the data has actually been written, the SSD controller reports back to the operating system that the write was completed successfully.

This greatly decreases the effective latency and increases the throughput of the SSD, but there's an obvious problem. The SDRAM in an SSD's cache is the same kind of SDRAM used for main memory—the kind that erases itself if it loses power. If the computer were to suffer a power loss while the SSD has data in cache that hasn't yet been committed to NAND, then that data would be completely gone, with consequences that could range from annoying to catastrophic. The most common consequence of a loss of uncommitted write cache would be file system corruption, which might or might not be repairable with a chkdsk or fsck; depending on what was being held in cache, the entire file system on the SSD could be unrecoverable.

This is obviously a bad thing, and most SSD manufacturers who bolster their drives' performance with a large SDRAM cache also include some mechanism to supply power to the SSD long enough to dump its cache contents out to NAND, usually in the form of a large capacitor. Whatever the mechanism, it only needs to provide the drive with power for a short amount of time, since it doesn't take terribly long to write out even a full 512MB of data to an SSD. However, not every SDRAM-cached SSD has a set of cache-powering capacitors—some have nothing at all, so be aware of the specs when picking one out. Most have something, though, and the speed benefits of stuffing some RAM into an SSD more than balance out the risks, which are quite manageable.

Since writing flash is slow, the SSD controller has a large local dram buffer between 128MB and 512MB. Writing cannot be done to fast, because faster writing to a flash cell means higher voltages which means more cumulative damage which means shorter life span.

When a power failure occurs, this means that if the controller has no backup capacitor or a battery source to power it, all that data is lost.
This can be solved by an ups but adds to the costs. For laptops and any other mobile computer, this is not an issue since these have rechargeable batteries anyway and will continue to function.

For a desktop pc without an ups however...
I was thinking that an option may be to plug between the powercable of the SSD and the powercable a small unit that switches over to a rechargeable battery at a power fail to allow an SSD to finish writing. At normal operation, the SSD is powered from the internal PSU from the desktop pc and the battery is trickle charged. At powerfail, the SSD is powered from the battery. With a simple switch mode power supply 5V and 12V can easily be generated from a simple 3.6V battery. Just enough for a few minutes. This could be a market. 🙂
But the success of such a device depends on how much data windows or any other operating systems caches before it issues a write towards the local storage such as a HDD or SSD.

Also, windows just as most operating systems also caches small disk writes in ram until a threshold size is reached and then writes the content of the cache in ram to the storage such as HDD or SDD. I wonder what the size of this write cache is for windows 7. I assume it is selected depending on the device attached ?
 
Last edited:
When reading about the Samsung 830 SSD specifications, the 256GB version has 256MB local sdram for caching data and calculations.
The 128Gb version i am interested in also has 256MB local sdram.

But as can be seen in this anandtech article the 830 does not have a capacitor to power the SSD when a power failure occurs.

http://www.anandtech.com/show/4863/the-samsung-ssd-830-review

_DSC2164sm.jpg


_DSC2165sm.jpg


I think an auxiliary SSD power device might come in handy for desktop users.
SATA is a hot swappable standard. I do not expect problems when the SSD is still powered up for a minute but the rest of the hardware is off.
 
Last edited:
Back
Top