Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 11:04:28 -0600
From:      Ian <freebsd@damnhippie.dyndns.org>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: filesystem performance (was: enable/disable softupdates in rc init idea)
Message-ID:  <B907F13B.D021%freebsd@damnhippie.dyndns.org>
In-Reply-To: <20020515204323.G19317-100000@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


> From: Dmitry Morozovsky <marck@rinet.ru>
>> But I've always been under the impression that softupdates helps with write
>> performance, especially writing filesystem metadata, and very little writing
>> happens on my root filesystems, I believe.
> 
> A bit of. If you mount / with atime turned off. And if not -- each time
> you access e.g. /etc/resolv.conf....
> 
> Sincerely,
> D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]

I use the noatime option on all my filesystems.  If anyone knows of a good
reason to not do that, feel free to let me know.  (Other than the obvious
reason, of course, that I can't see when a file was last accessed; I've
decided I can live without ever knowing that.)

Speaking of filesystem metadata performance, back in the FreeBSD 3.x days I
discovered you got an order of magnitude type performance improvement by
formatting a filesystem with fragsize == blksize; specifically, setting both
to 8k.  The reason for the improvement was that this eliminated a whole
bunch of read-modify-write operations on directory and inode blocks.  (It
never quite made sense to me why the system wanted to RMW those blocks
anyway, repeatedly issuing physical reads for the same blocks over and over
when they should have already been buffered at the bio layer.)

I'm curious whether this is still a factor in the 4.x world.  I no longer
have a conveniently instrumented custom scsi driver for monitoring physical
sector-level IO like I had in 3.x, so I can't just poke it and see if it
twitches anymore.

-- Ian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B907F13B.D021%freebsd>