266 points · by elorant · 10y ago · 140 comments
In other words, assuming good wear leveling, each bit can only be rewritten ~2K times, which is actually quite low for endurance... the capacity is high and they're using that to hide the fact that it's low, but if this was e.g. SLC flash with 100K endurance, you'd be able to write 50x more.
No mention of retention either, which makes me think SSDs today are more for temporary nonvolatile not-quite-RAM storage and not for more permanent applications.
To reach a full rewrite a day, that's like 200Mb/s consistently over the span of a 24 hour day. If your loads/usage looks like this, you're probably expecting your drives to fail and are ready to replace them.
http://www.anandtech.com/show/9652/samsung-details-3rd-gen-v...
(which are only $79.50 on Amazon)
And it will still be in favor of microsd, which can be read by a tiny connector + tiny controller in a smartphone.
Their EVO drives suffer from read degradation slowly over long periods of time. See EVO 840, after about a year it was down to 20MiB/s of continuous read speed. An SSD they call that thing. They refused warranty and released a "Speed up flash warez tool now.exe" as help, which all it did was move the data around on the SSD in the background so as to keep up the charade that their SSDs dont suffer from manufacturing/design error.
They marketed it as warranty so and so, speed such and such, and in fact its a piece of shit, and Samsung does not stand by its own product.
Even their newest Samsung EVO 850 is marketed as write speed ~500mb/s, but that is only true for the first 3gb, due to their usage of "TurboWriteCache", which means it has some kind of DRAM or faster real flash disk, and the rest of the disk is below 100mb/s in write speed.
Perhaps, they should not offer warranty on their "low-end consumer" drives, or lie in marketing/product specifications?
So that we as low-end consumers can make informed decisions? I bought SanDisk Extreme Pro instead, they are very fine disks, and did not cost much more than the evo. Recommend SanDisk strongly.
It's a perfectly fine tradeoff for a consumer drive. Just because it doesn't fit your use case doesn't make it junk.
Is this solely aimed at replacing drives in existing enclosures? Not much good there as most of them will be SAS6. They'll still work, but not nearly as fast as SAS12 nor NVMe.
Similarly, SAS supports multipath for HA while PCI-E does not appear to offer that ability. If it does, then I have yet to hear of an example of hardware implementing it.
Lastly, the idea is likely to appeal to those that care about density. For that purpose, it is better to lower costs and requiring a multitude of PCI express slots is not a great way of doing that. Motherboards with more PCI-E slots are expensive due to the layers needed to accommodate the circuits required by them. Assuming JBODs for such things exist (using a chip to share lanes among multiple devices), they would be expensive and also add to cost.
There is also a decent write up on this here:
NVMe scales just fine. As for the livelihood of those selling these storage appliances, well check out NetApp stock price lately.
Also,I wouldn't want to run thousands of these SAS drives in today's storage appliances. Even with high performance, the control plane and rebuild/rebalance stuff would be a nightmare. Trying to imagine a 50 node Isilon cluster with these things... not pretty.
As for being different than virtio because it needs PCI-E lanes, what keeps QEMU from emulating however many are needed?
The easiest problems are the ones that go away if you throw money at them and NVMe drastically expands the set of such problems. Most small-mid-sized companies have DBs in the 10Gb-1TB range. If you have a single table that's 100GB in size, you can parse through every single row in just under a minute! This means you can actually use an easy to implement O(n) algorithm instead of trying to make O(1) or O(log n) fit your problem. NVMe SSDs are not that advantageous for companies that are built to scale horizontally on AWS. They are amazing when you have a monolithic DB that you can't partition/shard/cluster easily.
You're forgetting seek latency. It's orders of magnitude better with SSD, but it's still not necessarily zero. Depending on how the data is laid out and queried you can pay the seek cost per row, which multiplied by the number of rows (100GB+) isn't trivial.
Have you tried to buy one in the past year? If you're not in the Fortune 100, fat effing chance! Here's how it goes, Samsung announces NVMe product, companies beat down their door screaming "take my money!" and Samsung conveniently "cancels" the product for sale. They made it. They just sold their entire production run to a handful of customers. Maybe, just maybe you can get a couple hundred units if you're willing to wait 3-4 months and someone returns some or changes an order after delivery (and you get the returns).
Even second tier (non Intel, non Samsung) suppliers are sold out. About the only thing you can buy now is HGST because no one wanted their stuff in the first place, and they jacked up their prices in response to other vendors' product shortages.
Yes, NVMe is on fire right now. Everyone wants it. I wouldn't put new tech like this into a 3-4 year old system because of a sunk cost fallacy. NVMe is not also exactly "new". They're already on version 1.2 (or 1.3) of the spec. Intel has gone through 2 major NVMe product revisions (with the third out in 3 months).
Also, Samsung isn't exactly breaking 3D NAND ground here. Novachips did it last year, and in a NVMe interface, too.
But, you know, I'm not a fortune 100 company, and this seems to have a reasonable shipping time:
http://www.newegg.com/Product/Product.aspx?Item=N82E16820167...
..it would be more like Redundant Array of Prohibitively Expensive Drives.
(I'll show myself out)
I happen to have a 950 Pro, and normal usage keeps the temperature at reasonable levels (though I stuck heatsinks on mine), but this is much more dense (512 vs 2 on the 950 Pro).
To give a specific example, let's say you have a 10-node Ceph cluster with 10 of these SSDs in each node filled up to 75% capacity. During a rebuild you throttle down to 50 MBps per SSD. After a single drive failure, the remaining 99 SSDs will work together to redistribute the data in about 40 minutes:
$ python3 -c "print(round((15.36 * 1024 * 1024 *.75) / (50.0 * 99) / 60.0, 2))"
40.67The 50 MBps per drive may seem like a low number, but that actually means each node has to move data at roughly 5 Gbps over the cluster network.
* Edited to fix the python line where the multiplication characters converted to italics formatting.
~4 hours to read/write a whole drive ain't too bad. Of course there might be other bottlenecks in your raid, or you only reserve so much speed for rebuild, but the drives size is not the problem.
http://blog.macsales.com/30725-owc-tests-speed-of-ssd-in-201...
I would've expected Samsung to be able to best that. They make the chips, after all.
Has the thinking changed?
This is a very good thought and you should be thinking it.
However, it is really only applicable to raid mirrors. Raid stripes will not have identical wear lifespans.
All of our mirrored boot devices are either:
- current intel enterprise SSD paired with the previous generation intel enterprise SSD
or:
- current intel enterprise SSD paired with current samsung enterprise SSD
That way if there is a usage related failure (or some weird firmware bug triggered by use pattern) they don't seize up identically.
Well there are different RAID settings. My product is an indexing engine (indexes Git repositories) and I've personally found RAID 0 reduces indexing time by about 30% compared to a single drive. I have a machine that has 4 SSDs running RAID 0 and I've found the performance gain after 3 SSDs is negligible.
It seems like 3 SSDs running RAID 0 is the best combination given my very limited sampling size.
You mean due to exhausting their endurance? This is something you monitor, you should have plenty of time to replace the drives before it becomes a concern.
For other failures, how's it going to be any different from normal HD's? There's always the risk that having the same models/batches in the same conditions might lead to a cluster of failures, but RAID's still likely to save you from plenty of other failure modes.
For instance, the recent Google study[1] suggests that uncorrectable errors with SSDs are actually more common than HD's: "More than 20% of flash drives develop uncorrectable errors in a four year period... significantly higher rates .. than hard disk drives".
I've certainly seen enough IO errors from SSDs to know I want to defend against them. Not to mention the silent data corruption I've seen (and been protected from, yay ZFS).
1: http://0b4af6cdc2f0c5998459-c0245c5c937c5dedcca3f1764ecc9b2f...
He's talking about something else. Physical drives fail due to physical reasons, but SSDs fail for logical reasons.
A weird firmware bug or an unexpected usage pattern or wear pattern (not just burning the entire things lifetime up) can cause the SSD to die.
If you have a mirror, and you have two identical SSDs, and you produce such a condition ... then no more mirror. They both die identically.
See my response to the parent about how you can easily address this by mixing SSDs in mirrors.
You know where this is going, right?
I was a SysAdmin at the time and one of the things I was responsible for was Oracle Financials. It was at the core of everything that mattered at that company -- and I was absolutely convinced that short of a water balloon fight in the machine room, my raid configuration was 100% reliable.
The first disk died late on Friday. I had two on-hand so I casually replaced it -- and before I got back to my desk another had died.
I placed an order for more drives and went back to the machine room and replaced it.
By Monday morning, things were starting to get serious -- I had to drop back to raid 5 because a few more had died over the weekend and my replacements wouldn't arrive till Tuesday.
You see, all the drives in all our raid enclosures had come from the same batch -- and they all -- every single one of them -- died within 90 days of the first one.
The chances may have been low, but reality has sharp teeth and loves the taste of overconfident sysadmin ass.
TRIM is well supported by modern host-based controllers designed for SSDs.
I've got pretty much the same setup (albeit with several more spinning disks) in a bunch of servers and have yet to have any problems (* crosses fingers *).
A first gen i5 2.4GHz can generate XOR for RAID5 at 4GB/s. Newer generations at faster core speeds should be able to beat that significantly.
...
I went and tested this on a Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz
[1053854.445872] avx : 17860.000 MB/sec
[1053854.475878] raid6: sse2x1 gen() 6554 MB/s
[1053854.492857] raid6: sse2x2 gen() 9070 MB/s
[1053854.509853] raid6: sse2x4 gen() 11273 MB/s
[1053854.526848] raid6: avx2x1 gen() 21554 MB/s
[1053854.543844] raid6: avx2x2 gen() 25152 MB/s
[1053854.560838] raid6: avx2x4 gen() 29167 MB/s
[1053854.560839] raid6: using algorithm avx2x4 gen() (29167 MB/s)
[1053854.560840] raid6: using avx2x2 recovery algorithm
http://www.amazon.com/Samsung-2-5-Inch-SATA-Internal-MZ-7KE2...