Date: Thu, 30 Jul 2009 00:06:09 +0400 From: Stanislav Sedov <stas@FreeBSD.org> To: yuri@rawbw.com Cc: Stanislav Sedov <stas@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: How to profile the disk io performed through mmaps? Message-ID: <20090730000609.c9a1bea2.stas@FreeBSD.org> In-Reply-To: <4A707D88.7090703@rawbw.com> References: <4A6F98F7.2080304@rawbw.com> <20090729124939.0082e1d6.stas@FreeBSD.org> <4A707D88.7090703@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Thu__30_Jul_2009_00_06_09_+0400_bB1CRnDO9lVfkJcc Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 29 Jul 2009 09:49:12 -0700 Yuri <yuri@rawbw.com> mentioned: > Stanislav Sedov wrote: > > Yes, it should be possible to monitor files written to via mmapped regi= on > > with EVFILT_VNODE kevents. Please note, however, that changes to mmapp= ed > > region may be propagated to the files not immediately depending on the > > region attributes. > > =20 >=20 >=20 > But is there any command line utility that wraps kqueue functionality or= =20 > I have > to write my own code to do this? >=20 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. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__30_Jul_2009_00_06_09_+0400_bB1CRnDO9lVfkJcc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJKcKuxAAoJEKN82nOYvCd0jqoQAJNnjQC4in2T8IZ2lmuUIeWT SVgJzn3rmKLZsoOIRwwGdhZ0NoQjSws4LRyE6wKwkgpEgwQgUpfqW7fMEfB16ew/ W7mjbvC1c5+fvL3MfVKCrYdq1g9/CzfBMRJc0CicJLmG3Dvz4Fzd1NPmwDcfAIS8 K9HPDnfWz1RkLjSw2vvSuGdcFFxoqY0gnUv5D3WFdbFVfF3yxe2e8ZyvC/K2D0Db tT3aSQkCLPtvVNZI7FinAYspkPJJBx4Xg9A5vr9YVDSLcPa27VYtfvULoez1vZ4I uvxyWtamaPvJD1Sy92nAXqO/nFntNeuj5RiYoSbBkXLNskpbmJF2fx89BICesMzx 8BLkwVy2qfDPLrz2CwUPNkXwaYJke5yUt7nS+oTU37LuxR9NXfwscAu+a75LQXKn C3a5vnEl8EYUyBzmuzCt7OGqTfK+TPMXmH8DuFfRWT3LlW6CKp4Keoauoa4bvLee YzaPnwwEN+mKeS82Qi0Ue2kMr+UzaUGyyyyPQ3pyIAlBVFwNrs6+Ua8Y8RcnOYRq MXfJsSNXn0wBGylHffzS38GN5JiboKkhL8DBOYIdTigKX4bt8wiJ4VbH7zB3al8Y i+QqfvXzRbaqHMGmUOAnDEQapSQmvtdoEAfU0Tjm0qR75ERuHlAoZ+42+IIKFMll oI2GXy5RzhSWAnwuix/D =xaFQ -----END PGP SIGNATURE----- --Signature=_Thu__30_Jul_2009_00_06_09_+0400_bB1CRnDO9lVfkJcc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090730000609.c9a1bea2.stas>