How to profile the disk io performed through mmaps?

Stanislav Sedov stas at FreeBSD.org
Wed Jul 29 20:05:10 UTC 2009


On Wed, 29 Jul 2009 09:49:12 -0700
Yuri <yuri at rawbw.com> mentioned:

> Stanislav Sedov wrote:
> > Yes, it should be possible to monitor files written to via mmapped region
> > with EVFILT_VNODE kevents.  Please note, however, that changes to mmapped
> > region may be propagated to the files not immediately depending on the
> > region attributes.
> >   
> 
> 
> But is there any command line utility that wraps kqueue functionality or 
> I have
> to write my own code to do this?
> 

I'm not sure, but FAM should be able to detect these.  gamin, for instance,
uses kqueue to monitor events.  You may be willing to try it.

-- 
Stanislav Sedov
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090729/7234713f/attachment.pgp


More information about the freebsd-hackers mailing list