Wednesday, October 16, 2024

SSD cache issue – despite flushing, there is a risk of data loss in the event of a power outage

Date:

Based on his own testing, developer Russ Bishop reports that data loss can occur with some NVMe SSDs despite the supposed buffer flushing (cache flushing). This occurred with two of the four tested NVMe SSDs from different manufacturers. Bishop wants to check more.

Backed up cache data will be lost

Bishop, who works as a programmer at Apple, writes on Twitter: “I tested a random selection of four NVMe SSDs from four vendors. Half lose download data during power outages“. What is meant is that the data then the Clear cache (flush) they were lost when in fact they should already have been safely transferred to the memory cells of non-volatile NAND flash memory.

Data is usually only temporarily cached for a short time and transferred to permanent memory as quickly as possible. However, if the behavior observed by Bishop occurs at this very moment, the result is data loss.

that the data in the cache disappearing in the event of a power outage is normal and is due to the volatile DRAM cache in SSDs (alternatively HMB in RAM in non-DRAM SSDs) and can only be avoided with backup capacitors, which are only available in some SSDs business.

However, Bishop conducted his tests with SSDs from traditional consumer customers without such guarantees. The “power failure” was simulated by pulling on the power cord after the successful download was reported.

Two out of four SSDs lost data

The two NVMe SSDs that lost data were a 2TB SK Hynix Gold P31 and a 512GB Sabrent Rocket. With a Samsung 970 Evo Plus with 2TB and a Western Digital Red SN700 with 1TB, the written data was preserved.

Bishop wants to check other SSDs

According to Russ Bishop, he has “completely automated” the testing procedure and wants to check the following additional SSDs for the issues described:

The mentioned models also include SSDs without a dedicated DRAM cache, such as the Samsung 980 (test) or the Kingston NV1. These can only use a small portion (in the double-digit megabyte range) of system RAM as a buffer via the NVMe Host Memory Buffer (HMB) feature.

Ebenezer Robbins
Ebenezer Robbins
Introvert. Beer guru. Communicator. Travel fanatic. Web advocate. Certified alcohol geek. Tv buff. Subtly charming internet aficionado.

Share post:

Popular

More like this
Related

How to Use Video Marketing to Promote B2C Products?

Video marketing has emerged as a powerful tool for...

Adapting to Change: The Future for Leopard Tortoise Environments

Leopard tortoises, known for their striking spotted shells and...

Debunking Common Misconceptions in Nail Care

Acrylic nails, a popular choice for those seeking durable...

Top Reasons to Buy Instagram Likes from InsFollowPro.com

Buying Instagram followers is a strategy some individuals and...