From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 29 16:49:14 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4ABC106567A for ; Wed, 29 Jul 2009 16:49:14 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 950588FC17 for ; Wed, 29 Jul 2009 16:49:14 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (c-24-6-210-150.hsd1.ca.comcast.net [24.6.210.150]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n6TGnDXs096471; Wed, 29 Jul 2009 09:49:13 -0700 (PDT) Message-ID: <4A707D88.7090703@rawbw.com> Date: Wed, 29 Jul 2009 09:49:12 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: Stanislav Sedov References: <4A6F98F7.2080304@rawbw.com> <20090729124939.0082e1d6.stas@FreeBSD.org> In-Reply-To: <20090729124939.0082e1d6.stas@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: How to profile the disk io performed through mmaps? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 16:49:15 -0000 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? Yuri