Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 1998 21:07:36 +1100
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        mike@smith.net.au
Cc:        hackers@FreeBSD.ORG
Subject:   Re: sync writes with softupdates enabled
Message-ID:  <98Oct30.210712est.40347@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
I wrote:
> All I can think of is that the MMAP'd history file is causing the
> kernel to unnecessarily perform sync writes to try and keep the
> MMAP and VFS images in sync.

Mike Smith <mike@smith.net.au> wrote:
>That's almost certainly correct.  Try running without mmap.  It used to 
>be faster that way; maybe it is again?

I tried rebuilding it without DBZ-MMAP and it no longer does any sync
writes to /usr.  I haven't tried following up Luoqi's suggestion as to
the possible cause, but this behaviour would seem undesirable - it
would seem to nullify many of the advantages of using mmap(2) [I
accept that there's a fair amount of black magic involved in making
it work at all without a unified buffer cache].

Peter

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98Oct30.210712est.40347>