On Tuesday, December 31, 2024 10:44:58 AM MST Marc Haber wrote:
> On Tue, Dec 31, 2024 at 10:32:09AM -0700, Soren Stoutner wrote:
> > On my system, which has a Western Digital Black SN850X NVMe (PCIe 4)
> > formatted ext4, dpkg runs really fast (and feels like it runs faster than
> > it did a few years ago on similar hardware).  There has been much talk on
> > this list about performance penalties with dpkg’s current configuration,
> > and some requests for actual benchmark data showing those performance
> > penalties.
> 
> Doing fsyncs to often after tiny writes will also cause write
> amplification on the SSD.
> 
> I should use eatmydata more often.

As pointed out earlier in the thread, the answer to the question of how fsyncs 
affect SSD lifespan can vary a lot across SSD hardware controllers, because not 
every fsync results in actual writes to the flash storage, and the SSD hardware 
controller is often the one who decided if they do or not.

In the case of my SSD, total TB written so far over the lifetime of the drive 
is 4.25 TB.

This drive is about 5 months old.  It has a rated lifetime endurance of 1,200 
TBW (Terabytes Written).  So, assuming that rating is accurate, it can run 
under the current load for 117 years.

-- 
Soren Stoutner
so...@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to