Date: Wed, 28 Feb 2001 13:37:22 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Peter Dufault <dufault@hda.hda.com> Cc: Anton Berezin <tobez@tobez.org>, hackers@FreeBSD.ORG Subject: Re: how to actually find out whether data hit the disk? Message-ID: <200102282137.f1SLbMs91698@earth.backplane.com> References: <200102281357.f1SDvVW27830@hda.hda.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:> is it possible to actually find out whether data hit the disk or not for :> a particular run of 1-7? : :Answer to your question: : :Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in :mmap until 4.3 when Matt Dillon plans to make that the default behavior. I plan on making it the default behavior only for Linux emulation, to emulate what Linux does. For FreeBSD native you still need to specify MAP_NOSYNC. Eventually I hope to make it the default behavior for FreeBSD native but some work needs to be done on the VM heuristics first (or on an incremental system sync) to avoid collecting too many dirty pages. -Matt 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?200102282137.f1SLbMs91698>