Tuesday, September 17, 2024

Re: softdep as well as noatime on each partition?

On 9/17/24 09:19, Ronny Machado wrote:
> Hi list,
>
>
> I've seen that kind of statement on any laptop install tutorial...but I
> wonder (No benchmark done in any case). Is it really necesary on nvme
> disks? One of my laptops has an nvme and it seems faster than others I
> have with SSD...until I put softdep and noatime on fstab and
> remount, again, this is a "perception" thing, no benchmark to back it up...
> Could anyone advice on that issue? Are softdep and noatime necessary?
As Mr. Hansteen said, softdep was removed versions ago.

Noatime only matters when the CPU outruns the mass storage long enough
for memory to fill with dirty inodes.
Then the system seems to pause while they are pushed out to storage.
Using a SSD and the large RAM in modern systems that rarely happens.

Using rotating rust and (relatively) little RAM doing a grep through
many thousands of small files it's not too hard to cause the situation.

Softdep could fill RAM with dirty inodes pretty easily.

geoff steckel

No comments:

Post a Comment