From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ata Bohra <ata.husain@hotmail.com>
Cc: Xen developer <xen-devel@lists.xensource.com>
Subject: Re: Trace Disk I/O per guest domain!
Date: Mon, 31 Aug 2009 15:08:01 -0400 [thread overview]
Message-ID: <20090831190801.GA18197@phenom.dumpdata.com> (raw)
In-Reply-To: <SNT112-W601993871C0544026DFCC89DF20@phx.gbl>
On Tue, Sep 01, 2009 at 12:19:33AM +0530, Ata Bohra wrote:
>
> Dear All,
>
>
>
> I am trying to trace all the disk I/O accesses made by the xen guest domains to dom0 domain. I would request for critics or comments in doing the same. Its easy to run "iostat -x" on all domains and dom0 to get the disk i/o utilization stats, but I am just looking if there can be any other way than running this utility in all domUs but using simply dom0 to get all guest domain stats along with dom0 accesses (different from domUs) also.
>
The way we did it (VirtualIron) in the past to narrow down a specific problem [1] was to
instrument the blkback.c. Each time a bio was submitted we would add it to a list
along with the domid. And obviously in the bio_endio callback this entry would be
removed.
>From there on, you can add SysFS interfaces to keep track of how much I/O is going
from/to each domain.
[1]: http://lists.xensource.com/archives/html/xen-devel/2008-12/msg00222.html
Oh way, you said "utility." Umm.. blktrace, but that still doesn't give you the
granularity you want.
next prev parent reply other threads:[~2009-08-31 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-31 18:49 Trace Disk I/O per guest domain! Ata Bohra
2009-08-31 19:08 ` Konrad Rzeszutek Wilk [this message]
2009-08-31 19:09 ` Pasi Kärkkäinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090831190801.GA18197@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=ata.husain@hotmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.