Linux patch disables TRIM and NCQ on Samsung 860/870 SSDs in Intel and AMD systems

Samsung 860 and 870 EVO SSD with no Linux support

About two years ago, several users of the Samsung 860 EVO SATA SSD started reporting issues on their drives in Linux. Later it was also established that the same or very similar problem also existed on the 870 EVO model. Linux engineers stated meanwhile that they were looking into the problem and while it took a while, earlier today, it was announced that patches for the issue have been sent upstream for final implementation.

According to the findings, it has been determined that Queued Trim commands on the 860 and 870 SSDs are causing such issues on Intel, ASmedia, and Marvell SATA AHCI controllers and the problem has been found to be the worst on older AMD systems.

As a result, Queued Trims have been disabled on the new patch for Intel, ASMedia, and Marvell SATA controllers and for older AMD machines, Native Command Queuing (NCQ) has been disabled entirely as a cure for the issue.

NCQ is a technology on SATA that allows the system to optimize queuing and movement of data as per workload for the best performance. TRIM on the other hand allows the drive to intelligently free up space that is no longer determined necessary for the storage device to hold on to, without deleting necessary data. This helps to avoid rewriting in used spaces and it is generally considered a good thing for drive health.

Curiously, it seems that Queued TRIM was already disabled on all Samsung 800 series SSDs but the South Korean giant apparently told Linux that it wasn't necessary for models outside of the 840 and 850 drives. However, user feedback on 860 and 870 drives has shown otherwise.

As a result, it may probably be best to avoid all Samsung 800 series SATA SSDs if you're an active Linux user.

Source: Bugzilla

Report a problem with article
This is a promotional image from Top Gun Maverick
Next Article

Microsoft Flight Simulator Top Gun: Maverick expansion pushed to May 2022

1525181269_comptia
Previous Article

Get this CompTIA A+ & Network Certification Prep Bundle for only $45

32 Comments - Add comment

Advertisement