Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSDs with TRIM issues
Date: Mon, 22 Jun 2015 00:45:07
Message-Id: 20150622004452.GC2920@workstation.happypenguincomputers.com
In Reply to: [gentoo-user] SSDs with TRIM issues by Adam Carter
1 On Wed, Jun 17, 2015 at 12:24:55PM +1000, Adam Carter wrote:
2 > /* devices that don't properly handle queued TRIM commands */
3 > Micron_M500*
4 > Crucial_CT*M500*
5 > Micron_M5[15]0*
6 > Crucial_CT*M550*
7 > Crucial_CT*MX100*
8 > Samsung SSD 8*
9 >
10 > from drivers/ata/libata-core.c
11
12 Then read further:
13
14 * Whitelist drives that are known to reliably return zeroes
15 * after TRIM.
16
17 * The intel 510 drive has buggy DRAT/RZAT. Explicitly exclude
18 * that model before whitelisting all other intel SSDs.
19 */
20 { "INTEL*SSDSC2MH*", NULL, 0, },
21
22 { "Micron*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, },
23 { "Crucial*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, },
24 { "INTEL*SSD*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, },
25 { "SSD*INTEL*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, },
26 { "Samsung*SSD*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, },
27 { "SAMSUNG*SSD*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, },
28 { "ST[1248][0248]0[FH]*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM, }
29
30 > More info:
31 > http://linux.slashdot.org/story/15/06/16/201217/trim-and-linux-tread-cautiously-and-keep-backups-handy
32 >
33 > Also, my samsung 840 is slow (multisect is off and cant be enabled with
34 > hdparm). Tried update the bios but the boot cd crashed on my machine (AMD
35 > chipset related) so i will have to put it in another machine and try
36 > again...
37 >
38 > Samsung EVOs also have a firmware bug that causes them to slow down.
39
40 I chose long ago not to use queued TRIM (when OCZs were the rage).
41
42 From a cursory read this sounds like *only* ext4 fs. I have XFS on all my
43 SSDs. Two are Samsung 840 Pro Series, and 850 Pro Series. The 840 I've had
44 over a year and it is golden. The 850 I've had only a couple of months, and
45 due to work requirements it is running Windows atm. Still, there is nothing
46 like what I read in this article happening with either.
47
48 I also have a Micron C400 RealSSD mSATA 32GB -- no problems with it, either.
49 It's running Funtoo atm with VFAT /boot for UEFI, swap, all other XFS.