Saturday, November 30, 2019

Re: Softdep and noatime

On 30.11.2019 14:12, Raymond, David wrote:
> I am switching to OpenBSD from Linux and I have questions about the
> use of softdep and noatime in mounting disks. I have a variety of
> systems with a mix of SSDs and rotating disks.
>
> Softdep seems to have some advantages in speeding file access, but it
> is not the default. Are there any downsides in using softdep?

https://www.openbsd.org/faq/faq14.html#SoftUpdates

plus 'man mount' option softdep:

(FFS only) Mount the file system using soft dependencies. Instead of
metadata being written immediately, it is written in an ordered fashion
to keep the on-disk state of the file system consistent. This results in
significant speedups for file create/delete operations. This option is
ignored when using the -u flag and a file system is already mounted
read/write.

The options async and softdep are mutually exclusive.

>
> On SSDs in particular, is it worth setting noatime to reduce the
> number of disk writes?
>

Why would you want to do that? Are you using it in other OS?
Then why and where did you get that idea?

> Dave Raymond

No comments:

Post a Comment