* [Patch 0/2] blkiomon: I/O monitor based on blktrace data
@ 2008-07-16 11:22 Martin Peschke
2008-07-16 13:28 ` Alan D. Brunelle
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Martin Peschke @ 2008-07-16 11:22 UTC (permalink / raw)
To: linux-btrace
In order to analyse I/O performance problems which could be reported by
customers we want to provide a little monitoring tool. Primarily, we
would like to be able look at a history of request size and request
latency histograms per device.
The D and C traces provided by blktrace are exactly what we need for
that purpose. So, running blktrace with appropriate filters (-a option)
makes this approach feasible.
Patch 1/2 allows users to get binary output from blkparse on stdout.
Patch 2/2 contains blkiomon, an I/O monitoring tool, which reads
blkparse data from stdin and which periodically writes I/O statistics.
I would like to contribute this little tool to the blktrace source tree.
I think it would complement blkparse and btt quite well.
Martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Patch 0/2] blkiomon: I/O monitor based on blktrace data
2008-07-16 11:22 [Patch 0/2] blkiomon: I/O monitor based on blktrace data Martin Peschke
@ 2008-07-16 13:28 ` Alan D. Brunelle
2008-07-16 14:34 ` Martin Peschke
2008-07-16 14:43 ` Alan D. Brunelle
2 siblings, 0 replies; 5+ messages in thread
From: Alan D. Brunelle @ 2008-07-16 13:28 UTC (permalink / raw)
To: linux-btrace
Martin Peschke wrote:
> In order to analyse I/O performance problems which could be reported by
> customers we want to provide a little monitoring tool. Primarily, we
> would like to be able look at a history of request size and request
> latency histograms per device.
>
> The D and C traces provided by blktrace are exactly what we need for
> that purpose. So, running blktrace with appropriate filters (-a option)
> makes this approach feasible.
>
> Patch 1/2 allows users to get binary output from blkparse on stdout.
>
> Patch 2/2 contains blkiomon, an I/O monitoring tool, which reads
> blkparse data from stdin and which periodically writes I/O statistics.
>
> I would like to contribute this little tool to the blktrace source tree.
> I think it would complement blkparse and btt quite well.
>
> Martin
Hi Martin -
Is there some reason why you don't just parse the textual output from
blkparse itself? [I believe that's what Chris Mason does w/ his
seekwatcher for example.]
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Patch 0/2] blkiomon: I/O monitor based on blktrace data
2008-07-16 11:22 [Patch 0/2] blkiomon: I/O monitor based on blktrace data Martin Peschke
2008-07-16 13:28 ` Alan D. Brunelle
@ 2008-07-16 14:34 ` Martin Peschke
2008-07-16 14:43 ` Alan D. Brunelle
2 siblings, 0 replies; 5+ messages in thread
From: Martin Peschke @ 2008-07-16 14:34 UTC (permalink / raw)
To: linux-btrace
On Wed, 2008-07-16 at 09:28 -0400, Alan D. Brunelle wrote:
> Martin Peschke wrote:
> > In order to analyse I/O performance problems which could be reported by
> > customers we want to provide a little monitoring tool. Primarily, we
> > would like to be able look at a history of request size and request
> > latency histograms per device.
> >
> > The D and C traces provided by blktrace are exactly what we need for
> > that purpose. So, running blktrace with appropriate filters (-a option)
> > makes this approach feasible.
> >
> > Patch 1/2 allows users to get binary output from blkparse on stdout.
> >
> > Patch 2/2 contains blkiomon, an I/O monitoring tool, which reads
> > blkparse data from stdin and which periodically writes I/O statistics.
> >
> > I would like to contribute this little tool to the blktrace source tree.
> > I think it would complement blkparse and btt quite well.
> >
> > Martin
>
> Hi Martin -
>
> Is there some reason why you don't just parse the textual output from
> blkparse itself? [I believe that's what Chris Mason does w/ his
> seekwatcher for example.]
Hi Alan,
we would like to spend as few CPU cycles as possible.
Having a little c-program consuming binary data is less expensive than
having blkparse generate textual output which would be parsed by some
script.
This is a monitoring tool, and there might be millions of requests.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Patch 0/2] blkiomon: I/O monitor based on blktrace data
2008-07-16 11:22 [Patch 0/2] blkiomon: I/O monitor based on blktrace data Martin Peschke
2008-07-16 13:28 ` Alan D. Brunelle
2008-07-16 14:34 ` Martin Peschke
@ 2008-07-16 14:43 ` Alan D. Brunelle
2008-07-16 15:15 ` Martin Peschke
2 siblings, 1 reply; 5+ messages in thread
From: Alan D. Brunelle @ 2008-07-16 14:43 UTC (permalink / raw)
To: linux-btrace
Martin Peschke wrote:
> On Wed, 2008-07-16 at 09:28 -0400, Alan D. Brunelle wrote:
>> Martin Peschke wrote:
>>> In order to analyse I/O performance problems which could be reported by
>>> customers we want to provide a little monitoring tool. Primarily, we
>>> would like to be able look at a history of request size and request
>>> latency histograms per device.
>>>
>>> The D and C traces provided by blktrace are exactly what we need for
>>> that purpose. So, running blktrace with appropriate filters (-a option)
>>> makes this approach feasible.
>>>
>>> Patch 1/2 allows users to get binary output from blkparse on stdout.
>>>
>>> Patch 2/2 contains blkiomon, an I/O monitoring tool, which reads
>>> blkparse data from stdin and which periodically writes I/O statistics.
>>>
>>> I would like to contribute this little tool to the blktrace source tree.
>>> I think it would complement blkparse and btt quite well.
>>>
>>> Martin
>> Hi Martin -
>>
>> Is there some reason why you don't just parse the textual output from
>> blkparse itself? [I believe that's what Chris Mason does w/ his
>> seekwatcher for example.]
>
> Hi Alan,
> we would like to spend as few CPU cycles as possible.
>
> Having a little c-program consuming binary data is less expensive than
> having blkparse generate textual output which would be parsed by some
> script.
>
> This is a monitoring tool, and there might be millions of requests.
Hi Martin -
Haven't had time to think this through, but if blktrace is sending
binary data to blkparse, why not just replace blkparse w/ blkiomon?
Taking data directly from blktrace itself?
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Patch 0/2] blkiomon: I/O monitor based on blktrace data
2008-07-16 14:43 ` Alan D. Brunelle
@ 2008-07-16 15:15 ` Martin Peschke
0 siblings, 0 replies; 5+ messages in thread
From: Martin Peschke @ 2008-07-16 15:15 UTC (permalink / raw)
To: linux-s390, linux-btrace
On Wed, 2008-07-16 at 10:43 -0400, Alan D. Brunelle wrote:
> Haven't had time to think this through, but if blktrace is sending
> binary data to blkparse, why not just replace blkparse w/ blkiomon?
> Taking data directly from blktrace itself?
Good point.
Still I think I want all the trace sorting blkparse does for me.
I didn't want to reimplement that functionality.
I don't need other capabilities of blkparse, though, like generating
some basic statistics.
Perhaps, it would make sense to move some blkparse code to a separate
c-file, which could be linked by other tools in the package, blkiomon?
Would be fine with me to make this all as light-weight as possible, e.g.
get rid of blkparse and a pipe.
Martin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-16 15:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 11:22 [Patch 0/2] blkiomon: I/O monitor based on blktrace data Martin Peschke
2008-07-16 13:28 ` Alan D. Brunelle
2008-07-16 14:34 ` Martin Peschke
2008-07-16 14:43 ` Alan D. Brunelle
2008-07-16 15:15 ` Martin Peschke
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).