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


About two years ago, several Samsung 860 EVO SATA SSD users started reporting problems with their drives in Linux. Later it was also established that the same or a very similar issue also exists on the 870 EVO model. In the meantime, Linux engineers have said they are investigating the issue and while it took a while, earlier today it was reported that fixes for the issue had been sent upstream for implementation. final work.

Based on the results, it was determined that the Queued Trim commands on the 860 and 870 SSDs caused such problems on Intel, ASmedia and Marvell SATA AHCI controllers and the problem turned out to be the worst on older AMD systems.

As a result, Queued Trims has 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 to address the issue.

NCQ is a technology over SATA that allows the system to optimize queuing and movement of data according to the workload for the best performance. TRIM, on the other hand, allows the drive to intelligently free up space that is no longer deemed necessary for the storage device, without deleting the necessary data. This helps prevent rewriting in used spaces and is generally considered to be good for the health of the reader.

Oddly enough, it appears that Queued TRIM has already been disabled on all of Samsung’s 800 series SSDs, but the South Korean giant has apparently told Linux that it is not needed for models other than 840 drives and 850. However, user reviews of the 860 and 870 inverters have shown the opposite.

Therefore, it is probably best to avoid all Samsung 800 series SATA SSDs if you are an active Linux user.

Source: Bugzilla

Source link


Leave A Reply