Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Akash Verma <akashv@google.com>
Cc: fio <fio@vger.kernel.org>
Subject: Re: Should group_reporting be clumping together different groups?
Date: Sat, 29 Sep 2012 09:59:14 +0200	[thread overview]
Message-ID: <5066AA52.7030008@kernel.dk> (raw)
In-Reply-To: <CAFFT=U=BbSVnFPYP1D81397OZVNv1Zv-_h69Y1KWS=nSu+x58g@mail.gmail.com>

On 2012-09-29 09:32, Akash Verma wrote:
> That's odd, because I understood it differently. I have gone through
> the HOWTO again to be sure. Please bear with me; I'm copying
> succeeding lines from the HOWTO from version 2.0.9:
> 
> new_groupStart a new reporting group. If this option isn't given,
> jobs in a file will be part of the same reporting group
> unless separated by a stone wall (or if it's a group
> by itself, with the numjobs option).
> 
> numjobs=intCreate the specified number of clones of this job. May be
> used to setup a larger number of threads/processes doing
> the same thing. We regard that grouping of jobs as a
> specific group.
> 
> group_reportingIf 'numjobs' is set, it may be interesting to display
> statistics for the group as a whole instead of for each
> individual job. This is especially true of 'numjobs' is
> large, looking at individual thread/process output quickly
> becomes unwieldy. If 'group_reporting' is specified, fio
> will show the final report per-group instead of per-job.
> 
> Is it just me? Reading that, I don't see any confusion about the
> group_reporting flag being specifically for clumping together results
> that would otherwise be discrete for each job clone because of
> numjobs.
> 
> Even here, the description for new_group implies that jobs in a job
> file are in the same reporting group, unless <condition 1> and
> <condition 2>. But it seems to be the default behavior to not have
> them in the same reporting group. For example, I used the file
> included in the first email, but without numjobs and group_reporting.
> Then I get one report for each job.
> 
> In my opinion, the current functionality is fine, but the
> documentation isn't clear on it.

OK, I see what you mean wrt numjobs=. It is implied that this
constitutes a group of its own, which it doesn't. I agree that the
current behavior is fine, in fact it'd be a bother if numjobs= did imply
a new group. I'll get the documentation updated for that specific case
soon - or I'll take a patch as well, of course :-)

-- 
Jens Axboe


  reply	other threads:[~2012-09-29  7:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-29  2:11 Should group_reporting be clumping together different groups? Akash Verma
2012-09-29  6:26 ` Jens Axboe
2012-09-29  7:32   ` Akash Verma
2012-09-29  7:59     ` Jens Axboe [this message]
2012-09-29  8:08       ` Akash Verma
2012-09-29  8:34         ` Akash Verma
2012-09-29  7:34   ` Akash Verma

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=5066AA52.7030008@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=akashv@google.com \
    --cc=fio@vger.kernel.org \
    /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