Architecture and function
A high-performance RAM-based SSD.An SSD is commonly composed of either NAND flash (non-volatile) or SDRAM (volatile).
SSDs based on volatile memory such as SDRAM are categorized by fast data access, less than 0.01 milliseconds (over 250 times faster than the fastest hard drives in 2004) and are used primarily to accelerate applications that would otherwise be held back by the latency of disk drives.
DRAM-based SSDs typically incorporate internal battery and backup disk systems to ensure data persistence. If power is lost for whatever reason, the battery would keep the unit powered long enough to copy all data from random access memory (RAM) to backup disk. Upon the restoration of power, data is copied back from backup disk to RAM and the SSD resumes normal operation.
However, most SSD manufacturers use nonvolatile flash memory to create more rugged and compact alternatives to DRAM-based SSDs. These flash memory-based SSDs, also known as flash drives, do not require batteries, allowing makers to replicate standard disk drive form factors (1.8-inch, 2.5-inch, and 3.5-inch). In addition, nonvolatility allows flash SSDs to retain memory even during sudden power outages, ensuring data retrievability. Just like DRAM SSDs, flash SSDs are extremely fast since these devices have no moving parts, eliminating seek time, latency and other electro-mechanical delays inherent in conventional disk drives. (Though flash SSDs are significantly slower than DRAM SSDs).
Solid state drives are especially useful on a computer which already has the maximum amount of RAM. For example, some x86 architectures have a 4 GB limit, but this can effectively be extended by putting the paging file or swap file on an SSD. These SSDs do not provide as fast storage as main RAM because of the bandwidth bottleneck of the bus they connect to, but would still provide a performance increase over placing the swap file on a traditional hard disk drive.
Open casing of 2.5” traditional hard disk drive (left) and solid state drive (center).DRAM based SSDs may also work like a buffer cache mechanism. Whenever data is written to memory, the corresponding block in memory is marked as dirty and all dirty blocks can be flushed to the actual hard drive based on the following two strategies:
Time (e.g. every 10 seconds, flush all dirty data),
Threshold (when the ratio of dirty data to SSD size exceeds some predetermined value, flush the dirty data).
[edit] Advantages
This article may require cleanup to meet Wikipedia's quality standards.
Please improve this article if you can. (October 2007)
Faster startup (as no spin-up is required).
Faster random I/O (compared to hard disk drives).
Extremely low read and write latency (seek) times, roughly 5 orders of magnitude faster than the best current hard disks drives.[citation needed]
Faster boot and application launch time when hard disk seeks are the limiting factor. See Amdahl's law.
In some cases, somewhat longer lifetime[citation needed] – Flash storage typically has a data lifetime on the order of 10 years before degradation. If data is periodically refreshed, it can store data indefinitely.[citation needed]
The disassembled components of a hard disk drive (left) and of the PCB and components of a solid state drive (right).Few to no moving parts.
For small SSDs, lower power consumption and heat production.
For small SSDs, no noise – Lack of moving parts makes the SSD completely silent (although high-end SSDs may include cooling fans).
Better mechanical reliability – Lack of moving parts almost eliminates the risk of mechanical failure. High level of ability to endure extreme shock, high altitude, vibration and temperatures,[citation needed] which apply to laptops and other mobile devices, or when transported.
Relatively deterministic performance [1] – unlike hard disk drives, performance of SSDs is almost constant and deterministic across the entire storage. This is because "Seek time" can be constant, so fragmentation has less impact on performance than on physical drives.
For very low-capacity SSDs, lower weight and size. Size and weight per unit storage are still better for traditional hard drives, and microdrives allow up to 20 GB storage in a CompactFlash 42.8×36.4×5 mm (1.7×1.4×.2 in) form factor.
[edit] Disadvantages
Flash based SSDs also have several disadvantages:
Price – As of early 2007, flash memory prices are still considerably higher per gigabyte than those of comparable conventional hard drives – around US$8 per GB compared to about US$0.25 for mechanical drives.[citation needed]
Vulnerability to certain types of effects, including abrupt power loss (especially DRAM based SSDs), magnetic fields and electric/static charges compared to normal HDDs (which store the data inside a Faraday cage).
Limited write cycles. Typical Flash storage will typically wear out after 100,000-300,000 write cycles, while high endurance Flash storage is often marketed with endurance of 1–5 million write cycles (many log files, file allocation tables, and other commonly used parts of the file system exceed this over the lifetime of a computer). Special file systems or firmware designs can mitigate this problem by spreading writes over the entire device, rather than rewriting files in place.[1]
Slow random write speeds – as erase blocks on SSDs generally are quite large, they're far slower than conventional disks for random writes.[2]
In some cases,[3] SSDs have substantially lower throughput than conventional hard disks. In spite of the decreased latency, this can lead to dramatically lower performance than hard disk drives. More expensive SSDs can have much greater bandwidth than HDDs, so this isn't universally a problem.