qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] block IO latency tracker without using QMP socket.
@ 2014-08-27 14:58 Anshul Makkar
  2014-08-27 15:13 ` Benoît Canet
  2014-08-28 12:36 ` Stefan Hajnoczi
  0 siblings, 2 replies; 6+ messages in thread
From: Anshul Makkar @ 2014-08-27 14:58 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

Hi,

I am writing a block IO latency tracker.

As obvious,  I am calculating the latency by tracking the interval between
start of IO and end of IO.
(firing my latency tracker from function BlockDriverAIOCB *raw_aio_submit()
raw-posix.c when job is submitted).

The latency data per QEMU process will be written to shared memory and then
another app uses this shared memory to read the data. That's a simple
architecture.

Can't use "info blockstats" QMP command as qmp socket is used and blocked
by some other process in our subsystem.

Just want a suggestion whether my approach is correct given the constraint
that I can't use qmp socket or if any alternative is possible.

Thanks
Anshul Makkar
www.justkernel.com

[-- Attachment #2: Type: text/html, Size: 967 bytes --]

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

end of thread, other threads:[~2014-08-28 17:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 14:58 [Qemu-devel] block IO latency tracker without using QMP socket Anshul Makkar
2014-08-27 15:13 ` Benoît Canet
2014-08-28  8:18   ` Markus Armbruster
2014-08-28 12:36 ` Stefan Hajnoczi
2014-08-28 15:00   ` Benoît Canet
2014-08-28 17:14     ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).