From: Jens Axboe <axboe@kernel.dk>
To: George Smith <glsmith555@gmail.com>, fio@vger.kernel.org
Subject: Re: Per-thread and aggregate bandwidth reporting
Date: Thu, 23 Oct 2014 11:52:25 -0600 [thread overview]
Message-ID: <54494059.8030207@kernel.dk> (raw)
In-Reply-To: <CAGRFgs23OL8CDXOA5ENik+B+kPk2s_U_E+kYA9PAr4opux3jYQ@mail.gmail.com>
On 10/23/2014 11:04 AM, George Smith wrote:
> Uh oh, silence is never good :) Please let me know if I haven't
> included key information, missed something obvious, etc.
>
> Here's maybe a clearer example of what I'm talking about. The output
> file is from a read test using 5 threads:
>
> # grep 'read :' output.out
> read : io=51200MB, bw=116673KB/s, iops=113 , runt=449367msec
> read : io=51200MB, bw=189201KB/s, iops=184 , runt=277106msec
> read : io=51200MB, bw=143385KB/s, iops=140 , runt=365650msec
> read : io=51200MB, bw=114654KB/s, iops=111 , runt=457279msec
> read : io=51200MB, bw=183110KB/s, iops=178 , runt=286324msec
>
> # grep READ output.out
> READ: io=256000MB, aggrb=573269KB/s, minb=114653KB/s,
> maxb=189201KB/s, mint=277106msec, maxt=457279msec
>
>
> The sum of the threads is 747023, but aggrb is 573269. The bw= value
> in each thread line is the amount of I/O (from io=) divided by the
> time the I/O took.
>
> The aggrb= value is the total amount of I/O done (which is the sum of
> each thread's io= value), divided by maxt, which seems to be the
> maximum time seen during the run (which happens to be with my 4th
> thread).
>
> So it appears that this is the discrepancy. I'm not sure if it's
> correct to say the aggregate bandwidth is the total I/O divided by the
> max time that one of the threads in the group took to complete. Seems
> like taking the average time and dividing total I/O by that would be
> more correct.
>
> Am I missing the spirit of what the READ line is supposed to be conveying to me?
I think you deduced it correctly. And yes, it is a bit misleading, in
that it differs from the sum of the reported bandwidths. Neither number
really makes sense, however.
--
Jens Axboe
next prev parent reply other threads:[~2014-10-23 17:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 17:55 Per-thread and aggregate bandwidth reporting George Smith
2014-10-23 17:04 ` George Smith
2014-10-23 17:52 ` Andrey Kuzmin
2014-10-23 18:08 ` George Smith
2014-10-23 17:52 ` Jens Axboe [this message]
2014-10-23 18:18 ` George Smith
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=54494059.8030207@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=glsmith555@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox