4 ms·
> I tend to buy Samsung and Intel, both working well in my devices. It's a generalisation, but be careful of using new Samsung consumer SATA drives (860, 870)
by justinclift 5y ago
> I tend to buy Samsung and Intel, both working well in my devices.
It's a generalisation, but be careful of using new Samsung consumer SATA drives (860, 870) if you're using Linux.
The Linux kernel has workarounds in place for the older ones (840, 850 series). But the workarounds for the newer models are only starting to be looked at this week:
https://bugzilla.kernel.org/show_bug.cgi?id=203475 https://bugzilla.kernel.org/show_bug.cgi?id=203475
Without those workarounds (eg disabling NCQ trim), there are data loss problems.
- Const-me 5y agoThanks for the warning. Fortunately, I’m unaffected because running Windows. I’m running Linux on top in WSL1 and VMWare. Also running Linux on ARM devices which have neither SATA nor PCIx. When I need fast disks in them to compile my C++ code, I simply use a network-mounted drive to build, gigabit LAN is good.
- wtallis 5y ago> disabling NCQ trim Fixed support for queued trim was part of the marketing claims for the 860 series. Whatever's going on with the 860 and newer drives requires deeper investigation, because there's plenty of reason to believe that simply applying the old workaround is not accurately targeting the real problem.
- justinclift 5y agoThe old workaround was to turn off support for NCQ (queued) trim, instead just using standard trim. It doesn't seem to have any real downsides. :)
- wtallis 5y ago> It doesn't seem to have any real downsides That depends greatly on what your software's policy for issuing Trim commands is. Partly because of the dearth of drives properly supporting queued trim, it is common for Linux distro to only run trim commands via cron job, rather than issuing them in real time during a workload.
- alias_neo 5y agoThanks, I had no idea about this. I've been using Samsung drives in all of my machines and servers and I run Linux exclusively. With a mixture of 850, 860 and 870's I must be at least partially affected.
- aidenn0 5y agoAre 860s new? They are what's in my system and while I don't remember when I upgraded it was definitely pre-COVID... [edit] smart says they have 631 days of power-on time, so maybe 2019? [edit] I seem to remember having issues a while back but I haven't seen any since I upgraded my firmware to RVT04B6Q
- justinclift 5y agok, I probably should have said "newer" (than 850 model) rather than "new". The 870 model though, is pretty new. :)