Do SSD disks do not last as long with Windows XP as with other OS?

9

1

We do software development (Visual C++) on Windows, and already had a few cases where developers using SSD disks with Windows XP had to replace their disks after a (one, 1) year of usage, because they were broken. (Timeframe 2010 - 2012)

Obviously, compiling a lot means a very high number of writes - Visual Studio Compiler likes to write a lot of temp files in addition to all the build artifacts created by a normal C++ project anyway.

Now, I know that the TRIM command is not supported on XP, but I always understood that to be a performance thing, not a longevity thing for the drives???

Also, given that some claim that a modern(ish) SSD drive should last 51 years with full write utilization, how can it be that a developer, even doing many compilations during an 8 hour working day, can trash his SSD -- and what has this to do with Windows XP (vs. Win 7)?

Note: This is a developer shop, so naturally everyone has his own clever explanation of this and that. But this is a developer shop, so the expertise of the people here lie with SW development, and not with HW reliability.

And given all the myths about SSD disks on the net, I really have a hard time finding reliable infos on why an SSD should fail earlier (or anyway) on Windows XP ....

DISCLAIMER: Note that I do not necessarily claim that these SSD disks really broke because they were used on Windows XP with a write heavy usage pattern. I'm asking whether there is any existing evidence (because my co-workers claimed so), that an SSD drive will fail earlier on XP than otherwise (because of missing TRIM or other reason) ...


Having followed a few links, I would like to especially highlight the most upvoted answer for the question SSD on Windows XP. (Note that this answer (from 2010) is a quote of the article -- from 2007 (!) -- it links to. The gist of the article/answer seem to be that SSD drives can go bust with lots of write operations and that, somehow(?), XP is worse in this regard. Looking at the 51-years-claim I linked to above, the statements in this answer don't make any sense to me.

Also, there's the MS article from 2009, where the only reference to TRIM and wear is:

As an added benefit, the Trim operation can help SSDs reduce wear by eliminating the need for many merge operations to occur.

But the same article states under Flash wears out:

At some point, a flash cell simply stops working (...) If frequently updated data (e.g., a file system log file) was always stored in the same cells, those cells would wear out more quickly (...) Wear leveling logic is employed by flash controller firmware to spread out writes (...) most devices will last years under normal desktop/laptop workloads.

So, while MS seemed it worthwhile to mention additional wear-time benefit under the TRIM command section, the also mentioned the drives firmware as the main factor to maintain the drive by spreading out writes.

Really, this leaves me quite confused !?! :-)

Martin

Posted 2012-03-26T12:39:24.220

Reputation: 2 055

Question was closed 2012-03-27T02:44:24.607

Have you verified that the disks did break from wearing out the flash? How much data had been written to the disk? – Oggy – 2012-03-26T13:22:33.993

1The plural of anecdote is not data. – EBGreen – 2012-03-26T13:28:40.350

What do you mean by "broken"? Presumably unusable sectors? Could the hardware/OS/drivers not be wear levelling properly? http://en.wikipedia.org/wiki/Wear_leveling What make/model of drives are they?

– Jamie Kitson – 2012-03-26T13:38:20.747

1@EBGreen - "The plural of anecdote is not data" - exactly :-) - That's why I'm asking here, whether there is any existing evidence or data on this topic, because quite frankly my google skills failed me on this one. (You find much more anecdotes than reliably looking data.) – Martin – 2012-03-26T14:31:26.107

2How this disks died? As the developer of some ssd life measurement tool, I can note that there is no difference between XP and 7, except noted by Shinrai. Win7 write a bit optimized data to page file and other system files, but there is no so huge difference. – crea7or – 2012-03-26T15:05:09.513

2@random - Was this an admin close? (Because only three votes?) How is this not constructive? I clearly state in the question that I'm not sure, and that "the net" is of no help! Btw.: The answers so far were really helpful, no "opinion, debate, arguments" in sight! – Martin – 2012-03-27T11:41:23.397

I also find some aspects in the answers interesting. BTW, have you applied the latest firmware updates for the disks? I am aware of failures caused by outdated firmware. Some Crucial disks crashed after 5000 hours due to firmaware bugs, http://www.neoseeker.com/news/18098-64gb-crucial-m4s-crashing-after-5000-hours-fix-coming/

– Horst Walter – 2012-03-27T12:35:34.293

@Martin - Admin votes are always binding (there's actually no way for an admin to vote-to-close without immediately closing the question, I believe). I've also voted to reopen - I think there are objective answers to this. I do still think more details about specifically what SSDs you've used and how they've failed would probably help, though - this is a little BROAD as it currently stands. – Shinrai – 2012-03-27T14:13:34.073

It was not an admin close, just a moderator finalised one. Am seeing the question as localised benchmarking with want for extended conjecture – random – 2012-03-27T16:30:47.963

@Shinrai - yes, more details about the failed disks will be added, as soon as I'm able to talk to my co-workers. – Martin – 2012-03-27T17:26:19.517

@random - Well, I guess we'll have to differ wrt. localised and Windows XP + SSD disks. (And it's not about benchmarking/performance at all, it's about whether the disk'll go bust after "a year".) – Martin – 2012-03-27T17:27:47.517

Answers

9

One other big problem is partition alignment - Windows XP aligns to old disk style by default, but SSDs need 4KB alignment internally. Otherwise you're doubling the volume of writes because a lot of things will overlap internally. (I'm not really qualified to talk about this at extensive length, so maybe somebody can elaborate at this - it's not really my area of expertise.)

That said, I am still fairly surprised if your disks are failing this fast. SSDs can be pretty failure prone unless you're careful about what you buy - this wouldn't surprise me nearly as much from OCZ or Crucial SSDs as it would from Intel ones (which I can vouch for in dozens on XP machines with no problem).

My personal opinion? XP may not be helping, but it's probably mostly a red herring.

Shinrai

Posted 2012-03-26T12:39:24.220

Reputation: 18 051

You can use tools such as the WD Align utility to correct WinXP sector alignment on existing installations. Other ways of having correct sector alignment include formating the HDD originally with the WinVista or Win7 disc then install WinXP on that. – Shiv – 2016-08-03T00:01:20.213

3I've seen many OCZ and crucial SSDs fail quick, and have Intels still running strong, even in xp. Quality matters – Canadian Luke – 2012-03-26T15:24:43.733

Windows 2003 lets you partition-align on format, so I expect XP would, too. Your explanation is good enough for this context. – None – 2012-03-27T08:03:42.247

1@RandolphWest - XP absolutely does not support 4K alignment naturally, I'm afraid. I've always had to use a third party tool for it (although I think creating the partition with something other than the Windows installer, and then installing without formatting MIGHT work) – Shinrai – 2012-03-27T14:10:28.193

I was talking about not-31.5KB alignment, as opposed to 4KB alignment specifically (in the context of SQL Server, we align for 64KB). Sorry for not being clear. – None – 2012-03-28T14:34:54.003

1@RandolphWest - You can't do anything natively in XP other than old style sector 63 alignment - you're stuck with 31.5KB. When I said '4K alignment' I meant 4KB sector sizes as opposed to 512 byte sector sizes, sorry for being unclear. It is in theory possible to do this by hand from within Diskpart but there's no way to do it from within the installer utility myself, is my point. (I believe Server 2003 is 4K-sector aware, so this is a difference, but don't hold me to that as I don't deal with Windows Server much) – Shinrai – 2012-03-28T14:40:11.370

1There is no way to do it from the installer itself, sure, but it IS possible to format the drive with correct partition alignment and then install onto it. I think we're agreeing here. – None – 2012-03-28T15:13:45.093

1

TRIM is also good for keeping the drive health up. The reason is simple: On writing a SSD swapps blocks very often for limiting the maximum count of write operations for each block.

On a SSD never trimmed the only available blocks for swapping are those from the reserved free space (blocks that are not directly accessible because the SSD has more flash memory available internally than it offers to the outside).

On a SSD well trimmed the pool of available blocks also contains those that are free on disk. Therefore the write operations can be spread among more blocks.

Robert

Posted 2012-03-26T12:39:24.220

Reputation: 4 857

1It's a myth. Windows does not save into pagefile very often. Mostly it's not a problem at all. Firefox, Chrome, Google Earth and even driver updates writes much, much more. – crea7or – 2012-03-26T17:00:17.420

2@crea7or - Robert didn't mention the pagefile at all in his answer ... ??? – Martin – 2012-03-27T11:44:58.097

@Martin - yep, my false. "swapps" was interpreted as pagefile :) – crea7or – 2012-03-27T11:50:39.527

1

I cannot visualize how different flavors of an OS can reduce the MTBF of an SSD! The whole idea of an SSD is to increase storage reliability, access times and life expectancy of the storage medium. How many SSD's has this happened to? Have you experimented with different SSD manufacturers?

Frank R.

Posted 2012-03-26T12:39:24.220

Reputation: 431

"whole idea of an SSD is to increase storage reliability, (...)and life expectancy" - these two points are really quite new to me. I was under the impression that, especially with "first generation" SSD disks, life expectancy, due to the inherent limit of writes to a cell, was significantly worse than with traditional platter disks. – Martin – 2012-03-27T11:38:09.163

in the sense of no moving parts vs. a spinning disc with moving heads.. as time moves forward, SSD's will get better, just like everything else which evolves! – Frank R. – 2012-03-27T22:58:26.990