logoalt Hacker News

valicordyesterday at 10:33 PM5 repliesview on HN

> OS page cache can generate writes

Is this a hallucination? What am I missing? Why would heavy reads generate writes?


Replies

fallingbanannayesterday at 10:41 PM

Good catch! Disk reads do generate writes to cache. But the cache itself is in RAM, not on disk. So it shouldn’t cause additional wear of SSD.

TacticalCoderyesterday at 10:39 PM

> Is this a hallucination? What am I missing? Why would heavy reads generate writes?

I take it heavy reads means more stuff goes into RAM, meaning other stuff has to be cached?

I've got same question as GP: e.g. is there a way to set moderately fast consumer NVMe SSDs (I've got both a Samsung 990 Pro and a WD SN850X) in a complete read-only mode to prevent "wear"?

onlyrealcuzzoyesterday at 10:36 PM

Spilling

show 1 reply