All of lore.kernel.org
 help / color / mirror / Atom feed
* Trace Disk I/O per guest domain!
@ 2009-08-31 18:49 Ata Bohra
  2009-08-31 19:08 ` Konrad Rzeszutek Wilk
  2009-08-31 19:09 ` Pasi Kärkkäinen
  0 siblings, 2 replies; 3+ messages in thread
From: Ata Bohra @ 2009-08-31 18:49 UTC (permalink / raw)
  To: Xen developer


[-- Attachment #1.1: Type: text/plain, Size: 646 bytes --]


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. 

 

Thanks!

Ata

_________________________________________________________________
News, sports, entertainment and fine living…learn the ropes on MSN India
http://in.msn.com

[-- Attachment #1.2: Type: text/html, Size: 885 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trace Disk I/O per guest domain!
  2009-08-31 18:49 Trace Disk I/O per guest domain! Ata Bohra
@ 2009-08-31 19:08 ` Konrad Rzeszutek Wilk
  2009-08-31 19:09 ` Pasi Kärkkäinen
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Rzeszutek Wilk @ 2009-08-31 19:08 UTC (permalink / raw)
  To: Ata Bohra; +Cc: Xen developer

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trace Disk I/O per guest domain!
  2009-08-31 18:49 Trace Disk I/O per guest domain! Ata Bohra
  2009-08-31 19:08 ` Konrad Rzeszutek Wilk
@ 2009-08-31 19:09 ` Pasi Kärkkäinen
  1 sibling, 0 replies; 3+ messages in thread
From: Pasi Kärkkäinen @ 2009-08-31 19:09 UTC (permalink / raw)
  To: Ata Bohra; +Cc: Xen developer

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. 
> 

Use LVM volumes for domU disks in dom0, and then use iostat in dom0?

-- Pasi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-31 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-31 18:49 Trace Disk I/O per guest domain! Ata Bohra
2009-08-31 19:08 ` Konrad Rzeszutek Wilk
2009-08-31 19:09 ` Pasi Kärkkäinen

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.