Coughlin: SSDs will not kill disk drives
blocksandfiles.com
blocksandfiles.com
Whitepaper store link (I have to assume the description isn't updated for each new issue...?) https://tomcoughlin.com/product/digital-storage-technology-n...
Entertainment Storage Alliance: http://www.entertainmentstorage.org/
I agree that HDDs aren't going anywhere, but this is a nothing article on an apparently nothing whitepaper.
HDD manufacturers do seem to see trouble brewing. Eg, one interesting thing to me is that hard disks are getting more complex. We now have:
* Helium
* HAMR
* SMR
* Dual actuators
Helium and HAMR improve density, but add cost. SMR improves density but results in drives that need special handling. Dual actuators improve performance, but increase points of failure.
Things like HAMR and SMR seem to be a sign that there's not that much more density to squeeze out without taking special measures.
One problem is that as drives get larger and larger, RAID sync times keep on growing. Even assuming faster RPM drives and multiple actuators it seems we're getting quite closer to where this becomes a serious problem.
Not when you measure the cost per unit of cargo delivered.
Hard drive technology pretty much always got more complex as time goes on. Do you think bits shrink themselves?
20+ years ago, we had "Get Perpendicular" explaining why perpendicular bits were a good idea. https://archive.org/details/get-perpendicular
All future technologies are more complex than our past techs. I mean, should we say that future SSDs are doomed because they're going for 4-bits per cell and 300+ layers of silicon rather than the single-layer single-bit simple designs from 10 years ago?
SSDs are getting more complex but at least from my point of view unnoticeably so. Yeah, it has 4 bits per cell and 300 layers, but as an user I don't have to think about it. I went from 240 GB to 2 TB and it was an improvement by all parameters. Speed got faster, size got bigger. No downsides whatsoever.
SMR on the other hand is absolutely infuriating when you bump into its limitations. It's not automatically better, it's extra capacity with a tradeoff.
There's tradeoffs everywhere. IMO, I stick with the "last generation", because the new stuff almost always has stability and/or data-loss issues. Even top-end Samsung drives on the newest tech seems to lose data.
Or the SanDisk loss-of-data problem on their SSD drives.
---------
https://www.theverge.com/22291828/sandisk-extreme-pro-portab...
The only reason why TLC became usable was because new load-balancing algorithms would keep track of which bits were being erased (each erasure uses up your drive's limited durability).
It would then have a mini-computer analyze which cells were least used (aka: load-balancing) and move your data over to the less used sections of the drive. Furthermore, drives would compress the data to minimize writes (and therefore erasures).
Its not exactly a simple technology, and a lot of things have gone wrong in practice.
--------
When your software says "Write to SSD-location #10,000", it _DOESN'T_ write there. It enters the load balancing algorithm, it finds a new location that has least been used. It pretends that new location is #10,000. It sets the "old Location-10,000" to the TRIM state, and then the OS runs a garbage collector over your data at some future point to keep this whole scheme working.
I'm imagining a PDP-11 dedicated to controlling and wear-leveling an array of flash chips, and smiling.
The idea is not quite as silly as you might think; there are real, actual PDP-11s still running RTOSes and "embedded" applications like nuclear power plant monitoring/control... some of which will be supported until the 2050s at least.
Each generation adds new features to the SSD firmware that I don't necessarily need, that will change wear-leveling (and other such details).
Then 6 months later, we learn that Sandisk Extreme was the drive with the messed up firmware. Or the "Slow Reads" from the Samsung 840.
I absolutely agree with your other point of sticking to older, well tested drives,
If it is not plugged in, i.e. unpowered, don’t count on anything more than three months. Thread with sources: <https://news.ycombinator.com/item?id=27573332>
While SSDs are inferior for long term data persistence if it’s irreplaceable data you should be bring the file system online on a schedule and let it run checksums. If something errors restore from another copy. The magic of digital storage is perfect copies at low cost. The loss of any one copy is fine as long as it has been copied forward elsewhere.
"Remember that the figures presented here are for a drive that has already passed its endurance rating, so for new drives the data retention is considerably higher, typically over ten years for MLC NAND based SSDs."
It is kinda obvious that if you pass the numbers considered safe then bad things shall happen.
But a SSD sitting on a shelf starting to lose bits after three months seems incredibly low.
People don't know about that and they'd be screaming by now.
I don't think it's that bad.
In that thread is also this post:
<https://news.ycombinator.com/item?id=27573332#27573720>
Which contains this link:
<https://web.archive.org/web/20210502042514/http://www.dell.c...>
Which in turn contains this text and table:
I have unplugged my SSD drive and put it into storage. How long can I expect the drive to retain my data without needing to plug the drive back in?
It depends on the how much the flash has been used (P/E cycle used), type of flash, and storage temperature. In MLC and SLC, this can be as low as 3 months and best case can be more than 10 years. The retention is highly dependent on temperature and workload.
┌────────────────┬─────────────────────────────────┐
│NAND Technology │ Data Retention @ rated P/E cycle│
├────────────────┼─────────────────────────────────┤
│SLC │ 6 Months │
├────────────────┼─────────────────────────────────┤
│eMLC │ 3 months │
├────────────────┼─────────────────────────────────┤
│MLC │ 3 Months │
└────────────────┴─────────────────────────────────┘Modern hard drives have warrantee limits on how many bits you can read/write during their service lifetime, since they lower the head from about 10nm to 1-2nm during reads and writes, and head lifetime is correlated with the number of hours it spends at that 1-2nm height.
With workload specifications in the range of 500TB/year (IIRC - I took a quick look and couldn't find any recent specs) that works out to less than QLC levels of endurance. It's not the same, though - if you read/write every byte of a hard drive 300(?) times the failure rate rises and the vendor gets nervous; if you overwrite QLC 3000 times it's on its last legs, and 1 or 2K more writes will almost certainly kill it.
SSDs have quite predictable durability, mostly because the unit that fails is less than 1GB, so the law of large numbers kicks in.
Note also that "durability" is a soft target - the normal failure mode is that blocks retain their data for shorter and shorter times before hitting the ECC error limit, so if your storage system moves data around every few months you can push the flash harder than in e.g. a laptop, where you don't want to risk losing all your data if it sits powered down on a shelf for half a year.
You're forgetting the controller, which has no qualms with dying 100% unexpectedly. I don't know why consumer SSDs have such poor quality controllers that they can randomly die, something that HDDs seemingly haven't struggled with in decades.
Without access to vendor tools (like a JTAG debugger and source for the controller) I'm not sure it's possible to tell whether the controller itself failed, or it just decided not to wake up because the flash was dead.
But yeah, it sucks.
Finally, I'd note that a lot of earlier SSD vendors came out of the USB device market, where they were used to making things that had the reliability requirements of your average Happy Meal toy. There are only 2.5 hard drive vendors or so at present, in large part because the ones who weren't fairly good at reliability are dead now.
There are at least these two reasons: proper testing of endurance of a device is not possible, you can only test that in a pretend kind of way. We are talking about years of service that have to be somehow emulated in at least weeks... and, of course, you cannot really account for physical behavior of materials from which the disk is made by simply running multiple I/O workloads. Now, add to this that the larger the storage capacity, the harder it is to check durability because throughput becomes the bottleneck. I.e. if you emulate device wear by running more I/O workloads, then, proportionately to the size of the device, you will be able to run fewer of them per unit of storage, because you are bounded by the throughput.
Any real (good) tests so far rely on previous generation of devices, and don't necessarily reflect the current situation. I.e. if your SSDs survived for only five years, who's to say that the next generation you will buy will last more or less? They are very likely not the same kind at all...
Also, it's really silly to measure disk durability in units of time... I mean, most tests that intend to measure durability model it by running I/O workloads, so, they'd typically measure durability in something like "how many times can a unit of storage be written over". The usage patterns vary dramatically across different kinds of workloads. So, if, eg, you are running a build server, you will wear your storage a lot faster than if you are running a (well-configured) database server, and still much faster than if you were running a video streaming service, and still much faster if that's a (well-configured) Web server... and the difference could be an order of magnitude between these.
I'd be interested to see a study on how prevalent either of them are.
But what about consumers? They don't consider TCO the same way. They don't look at energy or space constraints. They only look at cost per megabyte. As long as SSD is more, they will keep buying spinning rust for backups.
The fact that Costco always has backup disks on the shelves tells me that it's a pretty popular item amongst consumers.
Username checks out.
But yeah, there are a bazillion ways to store the hdd somewhere where it wouldn't be a noisense and don't care about the wear level
A number of file systems also support transparent tape usage: a stub is left in the directory structure and if anyone tries reading it the bits are fetched from a robot.
That’s a neat feature, but I’d expect a lot of software to behave badly if local file system operations suddenly started exhibiting tape-level latency.
(That's obviously at the OS layer rather than the filesystem layer. But the application didn't know where the file was until it asked for it.)
In the enterprise/HPC space, GPFS and Lustre.
Add a deep sleep mode and bam, you got a stew goin’.
The market is simultaneously the hand that giveth and taketh away
Or was this tried another way? I’m hoping that open firmwares create an environment where we can start treating the computer as a network. It’s a slim hope but not entirely insane.
there was also iscsi. I tried to use to it in a couple jobs and it was really poorly performing, and not very reliable. I _suspect_ that's just because it was never paid attention to properly? maybe because it was using TCP instead of a reliable but unordered protocol.
thinking about it, I'm off on the bandwidth numbers. SSDs move out quite a bit...so maybe you wouldn't replace your primary OS drive. But for secondary and tertiary storage ethernet drivers would really be nice
PCIe fabrics are still kicking around. I agree that's another enabling technology that just hasn't found a home. You would think with this USBc stuff that would suddenly be of great interest.
So basically a storage area network (SAN):
Which isn’t surprising as even today there is demand for tape. The question is how long the demand will remain vaguely mainstream vs when it will become more niche. The 2028 estimate of storage being dominated by SSDs seems vaguely reasonable to me.
Pure’s bravado of staying zero hard drives will be sold after 2028 seems silly but inline with what a flash storage company would say. But from a directional standpoint it probably is right that many use cases will get further eroded by SSDs. One big challenge with hard drives is access speed (throughout and latency) compared to nvme, and hard drives being used more as cold and near line storage is definitely going to continue. Write once access never in many cases.
Or what HDD companies would themselves. I recently was forced to buy WD JUCT, which are SATA-2 (!), 5400rpm, 16MB. There were literally no other non-SMR 2.5 drives at tgat moment, even WD REDs.
Simple extrapolation puts the crossover a few years into the future last I checked, though there are other aspects as well.
Will HDDs die next decade? Surely not. But given flash can go 3D surely its just a question of time until HDDs are like tapes now.
Hard drives spent a decade in the wasteland, with little growth in per-platter capacity (google "superparamagnetic limit" for more info) and gains mostly due to packing more platters by filling the enclosure with helium to reduce aerodynamic drag. (fun fact - cast aluminum is porous to helium, which caused no end of trouble)
With HAMR and other recent energy-based workarounds to those density limits, hard drives have a number of years of major TB/$ gains ahead of them, while flash is in the optimizing stage - going from e.g. 96 to 144 3D layers, and diminishing returns (at the expense of big performance costs) going from 3 bits per cell to 4 bits ("QLC") for a 33% boost in capacity. (QLC to PLC only gains an additional 25%, at an even higher cost)
If you're managing an exabyte of data or more, HDD is probably an important part of your storage mix for a good number of years going forward - devices are currently maybe 5x cheaper than big QLC drives at the moment, the ratio is probably even better when you price out the systems that house them[*], and HDD $/TB is probably going to improve faster than SSD $/TB for a number of years.
I started my career working on Asynchronous Transfer Mode networking; ever since then I'm highly skeptical of anyone saying "our technology will eliminate <entrenched technology X> in five years". Unlike ATM vs Ethernet I think it's quite possible that HDDs will fade to irrelevance in 10-15, but 5 years is ridiculous. If you narrow the statement to "no one will sell 3rd party HDD-based storage systems", it might be true - HDDs will go into AWS, Google, big Ceph deployments, etc.
* it's actually a bit difficult to spec a system that doesn't add close to 100% to the cost of the drives themselves for either HDD or SSD, and it also depends on how CPU- and memory-efficient your storage system needs. (e.g. Ceph can be a pig, and note DRAM prices didn't fall in the 2011-2021 decade) There are a number of competitive capacity HDD systems on the market - typically 4U 60-drive machines - while the EL.1 SSD format has just come on the market and you'll probably pay a big premium for systems optimized to house them.
Since I need cold storage, I hope that hard disks continue to be around.
https://www.newegg.com/intel-2tb-670p-series/p/N82E168201674...
For the majority of consumer use cases even 1/4 of that is pretty generous, and Apple just bumped up the MacBook Air from 128GB to 256GB.
Even our fancy pants enterprise storage arrays have a 30:1 or 40:1 ratio of HDD to SSD (cache). But of course, those prices aren't coming down anytime soon!
I assume a lot of this comes down to "object storage": S3 and similar services. As I understand it, these would do actual data storage in HDD (or other cheaper medium for glacier and slower access storage). Metadata caching could use SSD.
This is true when you compare them to media designed for long-term storage. But HDDs aren't all that terrible at it. I recently needed to dig out a 30 year old hard drive to recover some data from it, and it worked flawlessly.
Flash replaced mini-drives in iPods when the price of "enough" flash (2GB or so) dropped to that of a mini-drive.
SSDs replaced HDDs in laptops when the price of a "big enough" SSD (256 MB?) became competitive with an HDD.
Every reduction in flash cost after each transition was a win for the vendor, since they could keep storage constant and reduce the price. (unlike HDDs, where the price stays constant and the amount of storage goes up)
In each case some users (over-represented here) wanted more storage, and vendors didn't care, or were happy to sell more flash for a price premium.
Enterprise systems aren't single drives, but I believe they still have a concept of "enough" - if the savings from HDD are marginal, or the performance loss from concentrating data on fewer and fewer HDDs becomes too much, they'll switch to pure flash. Anecdotally that's already happening. (also, to be honest, another driver is probably because people like to spend their employer's money on high-tech shiny things, which often pays off better career-wise than saving money)
For the Googles and Amazons of the world there will probably never be a value of "enough", and HDD won't fade until the IOPS/TB ratio becomes ridiculously bad. Maybe not even then, as HDD may still be the best way to store data for a few decades.
Oh yeah, it really boggles my mind Apple still offers new MacBooks with 256 GB drives (unupgradably soldered on-board!). I can't imagine how insane it takes to be to pay the money it costs for it. Also RAM - 64 GB SODIMM can be bought almost dirt-cheap and they put 8 GB, again - built in the CPU, practically impossible (although some crazy hackers managed) to upgrade.
https://en.wikipedia.org/wiki/Magnetic-tape_data_storage#Via...