10 ms·
How to estimate an SSD’s working life
- biggerChris 4y ago
- LordHeini 4y agoI gave up thinking about working live of SSDs. While I know that SSDs will die eventually, this has yet to happen to any of my private drives. Some of my drives are over 10 years old and still work something unheard of when it comes to rotating rust. And those are regularly used too some with ridiculous uptimes measured in years. The drives I replaced where changed for capacity reasons and not wear. Our company runs a bunch of servers with SSDs and even there they hold up pretty well. The last error was caused by a faulty controller some months ago.
- m463 4y agoI had a kingston drive go bad. It failed catastrophically, it did not degrade or become read-only. I lost everything on the drive. Since then I don't buy off-brand drives. I usually use samsung drives and have had no problems.
- viraptor 4y ago> Since then I don't buy off-brand drives Off-brand? Did you know Kingston produces >60% of world's DRAM and >20% of SSDs?
- cyberpunk 4y agoIsn't it Kingston though who doesn't actually manufacture any chips? I was fairly sure Kingston just slap their brand any old rubbish and sell it.
- viraptor 4y agoThey buy from Kioxia and Sandisk who are not exactly off-brand either.
- fomine3 4y ago60% is highly unlikely
- viraptor 4y agoI made a mistake with "produces". The stat is specifically from here: https://www.businesswire.com/news/home/20220906005155/en/Kingston-Technology-Remains-Top-DRAM-Module-Supplier-for-2021 https://www.businesswire.com/news/home/20220906005155/en/Kin... The title is actually "top third-party DRAM module supplier in the world".
- deleted 4y ago[deleted]
- fomine3 4y agoI wonder is this "third-party" ranking meaningful. All first-party Samsung/Micron(Crucial)/Hynix ships a lot of modules and OEMs like Lenovo generally adopt them. I agree that Kingston is one of the top brands.
- sigg3 4y agoI've only had early Intel SSDs die on me. But they were early ones that were low capacity and cheap to backup.
- KleinPoes 4y agoWhen shopping around I usually consult the SSD spreadsheet to find the specs I want. https://docs.google.com/spreadsheets/d/1B27_j9NDPU3cNlj2HKcrfpJKHkOf-Oi1DbuuQva2gT4/edit#gid=0 https://docs.google.com/spreadsheets/d/1B27_j9NDPU3cNlj2HKcr... I stick to Samsung for PCIE4 and TLC+Marvel for anything else. I've only had an old OCZ Agility 3 64gb die, but it had a cruel life of being a cctv storage drive and still lasted about 8 years.
- adql 4y agoMy samsung 970 EVO threw bad blocks at me and destroyed windows install... at 90-something life left too
- gattilorenz 4y agoSame happened to me with a Samsung 850 EVO still under warranty. The only real "solution" is backups, backups, backups. Always has been.
- adql 4y agoWe had that on Samsungs, just drive invisible to system, 850, 860, PRO and EVO and I suspect newer too, we just didn't had any fail yet
- bluedino 4y agoKingston is definitely not an off-brand drive. Anecdotally I've had more Samsung drives fail on me than any other brand. Everything from OEM drives to retail EVO drives.
- icelancer 4y agoWe had two SSDs with high reliability ratings fail for us sequentially in a RAID array in a server, causing partial data loss. It definitely happens.
- WrtCdEvrydy 4y ago> two SSDs with high reliability ratings fail for us sequentially in a RAID array in a server, Happens all the time when you buy storage in batches. We learned a lesson, go through 3-4 suppliers and split your orders over a three month period. Buying from one place in bulk is just guaranteeing data loss in your future.
- baruch 4y agoI know that this idea nugget comes up time and time again when discussing drives, but I'm working on large storage systems for over 10 years now and dealing with the drives and their reliability and have yet to see such an occurrence. I've dealt with deployed systems that had (in many different clusters) a total of upwards of 100K HDDs and also with 10K SSDs and for extended periods. I saw tons of drive failures of many types but never even once did I see two or more drives of the same batch fail soon one after the other.
- WrtCdEvrydy 4y agoIt's not so much batch these days as conditions. Individual sellers probably use the same shipping method for every order and they may order in large batches which are transported at the same time. Although SSDs are a bit more resilient, hard temperature spikes in a single batch won't be detected after shipping. In the past, we would do this for hard drives because although parked heads are safe, high G-loads could actually unpark a head.
- icelancer 4y agoYeah I found this out post-incident from the Backblaze blog, which I read pretty religiously but this particular nugget of info escaped me.
- 4y ago
- CTDOCodebases 4y agoI've been lucky with SSDs too. I have only had one fail on me (OCZ). Over the same period of time I have had 4x 2TB drives fail. The hard drives were for bulk storage too. The SSDs have been system drives.
- shakow 4y ago> something unheard of when it comes to rotating rust. That's false. I have a dozen original disks from 1988-1994 PCs that are still working to this day, and much more from the late 90's-early 00's.
- olabyne 4y agoCorrect me, but maybe the hard disk drives from that era are more reliable because of the low bit density ? And also survivor bias.
- zigzag312 4y agoIt depends more on manufacturer/series/batch. In my experience good HDDs easily last 10+ years.
- fshr 4y agoThat guy was claiming 34 years of use. The disks would be incredibly low capacity compared to today.
- recycledmatt 4y agoYou also tend to see a higher rate of failure in the first few years which then drops off over time
- ClumsyPilot 4y agoi have two NAS 3TB WD Red drives that are about 10 years old and still going stong
- shakow 4y agoIt would be survivor bias if I ignored the failing disks. However, all of these are from machines which are in my family from the beginning. I don't have a precise tracking of all the HDDs we ever had, but I remember maybe 4-5 of out of maybe 20 failing over the course of ~30yrs, which is not incredibly awesome, but far from ‶unheard of″.
- 4y ago
- adql 4y agoFor us in heavy write load lifetime ("till zero wear level indicator") is around 4-5 years (with some as short as 2), but I had case of personal SSD dropping bad blocks with 95% life left. We do have some that sit at 1% life left and refuse to die tho
- yakubin 4y agoI have a bunch of 3.5” external spinning hard drives, which are about 5 years at this point. Contrary to internet legends that that’s a recipe for data loss and really they should be in a NAS checking their integrity 24/7, they exhibit no data corruption whatsoever. (I do verify that periodically.)
- ejb999 4y agoI have 5 external SSD's that I use for backups (crucial brand), none more than 8 years old and 3 of the 5 have failed completely - luckily I keep multiple backups in multiple places, but no one should be lulled into a false sense of security with these things. They will and do fail, and often at the worst possible time. It sometimes keeps me up worrying if I have enough redundant backups in place.
- zerkten 4y agoCan you post model numbers? I've never had good experiences with Crucial SSDs (internal or exteral) compared to Samsung, SanDisk and Intel. I've always bought the higher end models and not run an M.2 SSD in a small external enclosure like some do.
- windowsrookie 4y agoI have never had an internal SSD fail. But I have had a SanDisk Extreme Portable SSD die after about 14 months. Looking at the reviews a ton of people have had the same thing happen to them. External SSD's seem to be significantly less reliable. My theory is manufacturers are only designing them for short burst of data transfer. I often transfer 100's of gigabytes at a time and these external drives get extremely hot when doing so.
- rootusrootus 4y agoI've had one external SSD fail. No internal ones. Guessing there's a difference in how they're built.
- Amezarak 4y agoAdding onto the other comments here, this is not my experience at all. If a "spinning rust" harddrive makes it past a year or two, it seems to go on basically indefinitely. I have a drive from 2009 in active use, plus six (out of six) just about at ten years old in a NAS that get scrubbed monthly and have no errors. I've also had several that were around that age and only got replaced for performance or space reasons. I've only had one fail several years in, and I'm pretty sure it was environmentals (smoke) that did it in.
- jjav 4y ago> Some of my drives are over 10 years old and still work something unheard of when it comes to rotating rust. Not at all unheard of! HDDs tend to fail young, or last a very long time. The oldest working hard drive I have is in my SPARCstation10, so they're about 30 years old now. In my ZFS home server nearly all the drives are from its original build in 2010, so over 12 years old now. I had to replace one drive early in the life of that system (year 2-ish, forgot exactly) and the rest are going strong.
- robin_reala 4y agoThey missed out the heuristic of unpatched HPE SSDs lasting exactly 40k hours. https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00097382en_us https://support.hpe.com/hpesc/public/docDisplay?docLocale=en... This took down HN: https://news.ycombinator.com/item?id=32028511 https://news.ycombinator.com/item?id=32028511
- Phiwise_ 4y agoWow, so that's what did it. That's absurd. You know, sometimes I regret looking too deeply into the firmware and hardware side of development. Makes me wonder if I'm not also sitting atop a ticking time bomb I haven't prepared for because the failure mode is so orthogonal to the otherwise entirely reasonable model of the hardware that I can also actually fit inside my head in a reasonable amount of time. Not a very comfortable feeling.
- endorphine 4y agoEven though I don't use any external drives, I occasionally flirt with the idea of buying an SSD to collect music. But every time I get a little bit paranoid about the idea of "what if it suddenly dies and I loose everything?" and then I start thinking about backuos, at which point I'm like "nah scree this". Are there any recommendations for particular manufacturers to look for? (Seagate, Samsung, Toshiba etc) Also, how much is the average lifetime of a consumer-grade SSD these days? I always think they'll die in 5 years, but that's totally out of my head and not from experience.
- dale_glass 4y agoFor me they've been rock solid, and I've yet to see one die. I replace them much earlier than that because they just get too small to be useful. I've got a 240 GB Intel SSD with 49254 hours on it. That's 5.6 years worth of constant work. Still kicking. Not doing anything heavy though. The only reason it's still doing anything is because it's in a firewall. It does run Prometheus though, so it's not completely idle.
- eCa 4y agoMy daily computer (tower pc) is coming up on 9 years. The OS drive is a 250gb Samsung SSD. I’d estimate that this computer on average has been running about 8 hours per day during its lifetime. But this is very much YMMV. (New computer is on its way, finally.) Also, SSD only for music collection seems expensive. I’d get a 2TB (or whatever size seems reasonable) spinner, and put the rest of the funds towards backups (like Backblaze).
- nyanpasu64 4y ago
- dale_glass 4y agoWhat's the wear-out failure mode of a modern SSD? Has anyone experienced it? Does it fail to read? Does it go read-only? Do OSes actually keep track of the stat and pop up a warning "Only 5% life left!"?
- pifm_guy 4y agoMore than half the failures I have seen are 'electronics/firmware' problems. Ie. It is not caused by degradation of the flash memory, but instead caused by the controller going bad, refusing to initialize, having a bad internal power supply, etc. Obviously without the manufacturer's internal debug tools it's really hard to properly root cause issues.
- Unrectified 4y agoI thought about this as well.. I wish there was an easy way to find out which ssd brands get easy fwupd updates and such
- Forge36 4y agoI've had two failures. One started audibly clicking and I replaced before full failure (it support said it was common). Second failure was complete disconnect from the OS (USB drive) no warning. Once it cooled down i tried again, device appeared and reported no disk installed
- dale_glass 4y agoHow can a SSD click?
- Yizahi 4y agoIn the old test of Sata SSDs, all written to death, most of the drives was accessible after the last eventual write. None or almost none of the drives were even visible to the OS after system reboot. It seems that while memory itself may still be readable, the controller and OS can't handle such failure mode and it certainly wasn't tested. So I wouldn't expect any modern SSD to be readable after exhausting all writes completely. https://techreport.com/review/27909/the-ssd-endurance-experiment-theyre-all-dead/ https://techreport.com/review/27909/the-ssd-endurance-experi...
- chupasaurus 4y ago> APFS doesn’t try to write the changed data to the same blocks, but uses copy-on-write to write new blocks each time. While pretty much every SSD controller by other vendors does it by itself because bringing it to OS level is a waste of CPU cycles.
- jotm 4y agoIME, if it worked fine for a year and has less than 100TB written, it's good for another 3-4. They usually fail early or very late. Assuming good cooling.
- dcm360 4y agoMost SSD's will provide metrics that are quite readable for estimating the lifetime left for the drive. Most nvme-drive expose a line with 'Percentage used' in the nvme log (just use smartctl to read the nvme log). With sata-drives it is a bit more hit or miss, but the couple of drives I have lying around at the moment record wear leveling in Wear_Leveling_Count, which does provide the raw wear leveling count and the lifetime left as normalized VALUE.
- rkagerer 4y agoHard Disk Sentinel is great for helping with this. The developer has been at it for years, figured out all kinds of quirks of different disks and controllers.
- revolvingocelot 4y ago>just use smartctl to read the nvme log "sudo smartctl -l ssd /dev/sdaWhatever", for anyone interested.
- mixmastamyk 4y agoapt install smartmontools
- revolvingocelot 4y agoIf you're using Ubuntu, just ask your system administrator to check on your drive for you :^)
- randyrand 4y agosmartctl --all /dev/disk0 Percentage Used: 2% Data Units Written: 97,255,284 [49.7 TB] This is after 1 year of full time development. My drive is 1TB (with 16GB RAM) so it should be 2.5PB Total Byte Written Lifespan.
- adrian_b 4y agoAfter a year and a half of usage, on a 2-TB SSD: Percentage Used: 2% Data Units Read: 1,118,827,429 [572 TB] Data Units Written: 432,707,145 [221 TB] Power Cycles: 484 Power On Hours: 1,106 The power-on hours, during which the read-write activity happened, correspond to only 46 days, because the rest of the time the SSD was presumably powered-down by the OS, due to inactivity.
- jghn 4y agoJust over 2 years on a 500GB M1 mac Percentage Used: 14% Data Units Read: 1,101,421,696 [563 TB] Data Units Written: 902,660,422 [462 TB] Power Cycles: 238 Power On Hours: 2,489 Assuming the %age used is even close to accurate, I'll be upgrading to a new device long before the disk craps out.
- dt3ft 4y agoWhy is this not as simple as getting a notification in every major operating system?
- duffyjp 4y agoIt really should be. I posted a little anecdote* about KDE doing just that after using the same drive in Windows for years without a peep. * https://news.ycombinator.com/item?id=33866560 https://news.ycombinator.com/item?id=33866560
- russianGuy83829 4y agoWhy is this article written for mac only?
- defrost 4y agoAnother approach is to look at hard use data from racked storage providers. Eg: BackBlaze: 2022 Drive Stats Mid-year Review > As of June 30, 2022, there were 2,558 SSDs in our storage servers. This compares to 2,200 SSDs we reported in our 2021 SSD report. We’ll start by presenting and discussing the quarterly data from each of the last two quarters (Q1 2022 and Q2 2022). https://www.backblaze.com/blog/ssd-drive-stats-mid-2022-review/ https://www.backblaze.com/blog/ssd-drive-stats-mid-2022-revi...
- Rzor 4y agoIt's worth to read it all, but the gist of it is: And the Winner Is… At this point we can reasonably claim that SSDs are more reliable than HDDs, at least when used as boot drives in our environment. This supports the anecdotal stories and educated guesses made by our readers over the past year or so. Well done. We’ll continue to collect and present the SSD data on a regular basis to confirm these findings and see what’s next. It is highly certain that the failure rate of SSDs will eventually start to rise. It is also possible that at some point the SSDs could hit the wall, perhaps when they start to reach their media wearout limits. To that point, over the coming months we’ll take a look at the SMART stats for our SSDs and see how they relate to drive failure. We also have some anecdotal information of our own that we’ll try to confirm on how far past the media wearout limits you can push an SSD. Stay tuned.
- maltris 4y agoLow TBW SSDs from Samsung are quite accurate in their TBW value. I've seen a lot of them die right around their indicated TBW span.
- TacticalCoder 4y agoI just replace them once they reach 20% of "percentage (of their lifespan) used or so and then they become yet more drives on which I put on-site / offline backups. They're so cheap I don't mind.
- tokamak-teapot 4y agoDid the question about Apple’s new laptops and their apparently high writes in general usage get resolved? And was it incorrect/misleading reporting, or somehow not a problem (life of SSD still likely to be ‘long enough’) or is it still potentially the case that the machines will be ‘bricked’ due to the non-replaceable SSD dying early? I don’t mind having to have the SSD replaced by Apple if the cost is reasonable, just as I do with batteries, but would be good to know what to expect.
- drooopy 4y agoAccording to the guy behind Asahi Linux, there was no misreporting. It was an actual bug and those excessive write operations happened. https://twitter.com/marcan42/status/1396374313591140357?ref_src=twsrc%5Etfw https://twitter.com/marcan42/status/1396374313591140357?ref_... While I don't like it being that way, I can definitely see the benefits of non-upgradeable RAM. The performance of the SOC on my "lowly", entry-level M1 Air is out of this world. But an SSD that's glued on to the motherboard has 0 benefits that I can think of and basically only serves to give any computer a hard coded expiration date. And thinness is not an excuse. There are computers as thin as the Air that have removable storage drives.
- yakubin 4y agoNot to mention that thinness is not a thing in case of Mac Mini.
- metadat 4y ago"Thin" is also no longer a word I'd use to describe the current M1 Macbook Pros; they're significantly thicker and heavier than their Intel counterparts of old (bigger battery required to achieve that legendary battery life?)
- buran77 4y ago> significantly thicker and heavier than their Intel counterparts That's really hyperbolic. The 13" M1 MBP is 0.7mm thicker and 30g heavier than the equivalent Intel of not so old, 2015-2019 when the dimensions dropped to the lower bound.
- eemil 4y agoI don't care about SSD reliability (and failure modes) on laptop/desktop computers. I even run my desktop with two SSDs in RAID 0. Even if you have a RAID 1 setup (two SSDs operating redundantly), there are plenty of points of failure, many of which are more likely than a modern SSD failing: * Theft * Physical damage * Water damage * Data corruption * rm -rf You need backups in any case, even if SSDs were 100% reliable.
- chemmail 4y agoThat is why I put all my temp and cache files on my Optane Disk.
- taubek 4y agoWhat is Optane disk?
- sigwinch28 4y agoI assume GP is referring to https://www.intel.com/content/www/us/en/products/details/memory-storage/optane-memory.html https://www.intel.com/content/www/us/en/products/details/mem...
- taubek 4y agoThanks! I must dig into this. Seems like it is for Intel CPU based computers only.
- scns 4y agoOn Linux you can use part of your RAM as a compressed swap. There is zram and another program i don't remember.
- doublepg23 4y agoIt’s too bad Optane failed. It legitimately improved latency over NAND flash.
- locusm 4y agoNewEgg has been offloading Optane drives recently.
- petercooper 4y agoFor some reason I was obsessed with this topic for a few hours once and ended up finding this YouTube video where someone basically did the experiment I was considering doing: https://www.youtube.com/watch?v=jHpSIBpvU0A https://www.youtube.com/watch?v=jHpSIBpvU0A .. hammering at some old SSDs non-stop to see how quickly he could break them.
- Yizahi 4y agoI do very simple mental calculation. Preface .There was a test about memory endurance of the SSD, where they were actually written to death and precise number of data was measured (not estimated). That was in the age of Sata SSDs, so not super recent, but memory cells were actually more durable in those times, due to bigger tech process and lower number of bits per cell. In the end 256 Gb drives failed after writing 1-3 petabytes of data. So when I'm buying 1 Tb modern mid range drive, I expect about 4 Pb of writes on it, but I halve that number because of the worse tech process and more levels per cell, and additionally halve again due to by personal build (SFF PC) operating at higher temperatures, not good for the lifespan. None of my drives have reached even 10% of 1 Pb yet, so I don't care too much about memory lifespan.
- duffyjp 4y agoOver the summer I had this idea I wanted a full linux install on a USB stick I could move from machine to machine. Years ago I had splurged on a really nice Sandisk Extreme 64GB (200MB/s+) and so I installed to that. After installing, on the first boot KDE immediately informed me my drive was moments from death. I really appreciated that, as I had no idea. I didn't know a thumb drive even had SMART capabilities. I had been using that drive in Windows for random things and it certainly never told me. Checking SMART it said something to the tune of data loss expected within 24 hours. Yikes.
- sokoloff 4y agoDid you backup the disk and then run it to see if the prediction was correct? My first instinct would be to do the backup (of course), but a close second would be "yeah, that's probably not so precise as to make me be quite that lucky today..."
- duffyjp 4y agoI thought about running `stress -d` on it and letting it go for an hour/day but decided I'd rather just label the drive "BAD" and keep it in my junk drawer. Sometimes tasks don't require reliability and I'd rather not destroy it if I can get a few more uses out of it.
- Unklejoe 4y agoOne thing I've always wondered about is how the ECC is handled on a modern SSD with regards to data retention. SSDs often have a data retention spec that basically defines how long you have until your bits start flipping, and it usually falls off a cliff w.r.t. temperature, which can make SSDs non-ideal for offline backups. However, I've read that reading from the SSD periodically allows it to detect these errors. Some say that even keeping it just powered on is enough. My question is, do SSDs run some sort of internal scrub while they're powered on? I don't think so, based off of some power consumption tests I've done. Also, if they do detect an ECC error, will they actually re-write the block in question, or just correct it and return a successful IO, while leaving the compromised data still on the media?
- andromeduck 4y agoIIRC, it periodically scans the blocks level metadata during lulls. Reads don't take much power but for some larger drives something like 20% of activity was towards maintenance and the guaranteed retention period without power was only something like 2-3 months.
- hilbert42 4y agoI use USB stick/thumb drives in STBs/PVRs and no doubt they take a thrashing when repeatedly recording TV programs. Like most of us, I've many of them and whilst I try to keep the TV ones separate from those I use on my computers they often get mixed when I need one for my PC in a hurry. What I want to know is there any general purpose utility that is capable of testing a variety of brands of these devices and doing a decent assessment of their state/reliability? It seems that drive manufacturers don't provide much help here as I've not seen any such utilites for them. I raised this matter with a SanDisk rep at a trade show several years back and he said he didn't know of any. Same problem applies to SD cards (SDHC, SDXC, etc.), so any info on them would also be useful.
- beardedscotsman 4y agoIsn’t the problem with this, that they work till they fail. You can run some software that can tell you how dead the drive is, but you can’t figure how likely it will die. Some drives I think have some stats you can access, but generally you can’t tell until it fails. There used to be a great site before that was a data center publishing physical hdd stats, not looked for it for a long time, but I presume they would have ssd stats these days too.
- hilbert42 4y agoI think you're right about working until they fail but I've only ever had anecdotal evidence to this effect. I also reckon much of the problem comes from the fact that information about them is proprietary—simply manufacturerers just don't tell us much about them as to do so may reveal trade secrets. Several decades ago I was involved in work where we had to have as large storage as possible irrespective of cost, back then a 1GB SanDisk was worth somewhere between $1k and $2k (we replaced single-sep time lapse remote monitoring film cameras with TV and needed large storage). We approached SanDisk (about the only manufacturer with such large drives at the time) and they were very reticent about telling us anything worthwhile—even though we were a large international organization and had clout. We needed to know the reliability so we had to investigate it ourselves, whilst we made some progress it was never fully satisfactory. Anecdotal info we learned from various sources was that manufacturerers had ways of testing them by altering the threshold voltage—the point where the gate potential would switch from 0 to 1. At a critical point one could check how many gates failed to switch and this voltage altered over time/with use. Monitoring this could provide useful info such as knowing when to retire a device before it failed. How accurate this info is I don't know but it seems to make sense. If true, we users should be demanding of manufacturerers utilities that are capable of doing such testing. Trouble is, manufacturerers continue to maintain this secrecy. PS: several days ago I put a brand new SanDisk 128GB in one of my PVRs and it's really hot to touch even when it's on standby (not recording TV). This isn't the first time I've noticed how hot they get. This isn't the PVR's fault as I've several different brands and the thumb drive gets very hot in each one including my PC. One wonders what this elevated temperature does to the reliability/service life.
- otterpro 4y agoThis is why I prefer separate SSDs (NVM.e) on my system based on usage. * `/root`, System/OS: fastest SSD with plenty of spare space * `/home`: 1+ TB for data, games, media, etc... * swap, `/tmp`, `/var`: separate cheap SSD (or even HDD) for frequent and unimportant writes
- trap_goes_hot 4y agoHas there been an evaluation on whether the SMART data is valid/accurate? It would seem that the vendor is incentivized to not report the most accurate data so their drive doesn't come across as bad and/or to avoid warranty claims.