Date: Wed, 10 Jan 2007 09:59:51 +0530 From: <unixtools@hotmail.com> To: "Fluffles" <etc@fluffles.net>, <freebsd-geom@freebsd.org>, <freebsd-fs@freebsd.org> Subject: Re: Capturing I/O traces Message-ID: <BAY106-DAV9106EC451F32D13407891AEB20@phx.gbl> References: <45A38D38.3020407@fluffles.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, To capture appication IO, the best option on freebsd is ktrace. I have no idea how to trace all the io calls triggered by the kernel. Sunil Sunder Raj http://daemon.in ----- Original Message ----- From: "Fluffles" <etc@fluffles.net> To: <freebsd-geom@freebsd.org>; <freebsd-fs@freebsd.org> Sent: Tuesday, January 09, 2007 6:10 PM Subject: Capturing I/O traces > Hello list, > > I was wondering if any method is known to "capture" I/O traces. My goal > is to be able to simulate I/O access patterns generated by applications > such as MySQL or KDE and compare these to other storage systems. This > way i can provide more realistic benchmarks (not synthetic) without > actually running the application i'm testing. For example, I would like > to capture the I/O that occurs when KDE boots, and then be able to > reproduce this I/O access on say a gmirror and graid3. This way i can > gather more realistic benchmark results. On Windows several commercial > applications exist that 'simulate' access patterns used by applications, > i was wondering if any BSD/Linux equivalent exists. > > One thought that comes to mind is the gnop geom class; with verbose mode > this provides a text log of all the I/O accesses. But it does not > provide the exact time/concurrency etc, only the offset, length, I/O > action (read/write) and the serial order of those requests. And even > with this information it's not easy to reproduce them; i would have to > write an application that reads this log and then be able to reproduce > it. I was hoping to find a more elegant solution. If you guys know of > any, please share it with me. :) > > Regards, > > Veronica > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY106-DAV9106EC451F32D13407891AEB20>