Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "Georg Schönberger" <gschoenberger@thomas-krenn.com>
Cc: fio@vger.kernel.org, Peter Xu <xzpeter@gmail.com>
Subject: Re: How to get IOPS when using terse output
Date: Mon, 18 Feb 2013 09:45:19 +0100	[thread overview]
Message-ID: <20130218084519.GD6003@kernel.dk> (raw)
In-Reply-To: <617220590.349712.1361176670900.JavaMail.root@thomas-krenn.com>

On Mon, Feb 18 2013, Georg Sch�nberger wrote:
> ----- Original Message -----
> > From: "Jens Axboe" <axboe@kernel.dk>
> > To: "Peter Xu" <xzpeter@gmail.com>
> > Cc: fio@vger.kernel.org
> > Sent: Monday, 18 February, 2013 9:08:29 AM
> > Subject: Re: How to get IOPS when using terse output
> > 
> > On Wed, Feb 13 2013, Peter Xu wrote:
> > > Hi, all,
> > > 
> > > I failed to find IOPS results for read/write under terse mode (with
> > > --minimal param when invoking fio program), while IOPS does exist
> > > in normal
> > > output without --minimal param.
> > > 
> > > It seems that I even cannot calculate it out only with the tersed
> > > output
> > > (since I don't know the total number of IO). Then, how should I get
> > > IOPS
> > > results when using terse output?
> > 
> > As Carl mentions, the IOPS are there. But let me make a suggestion to
> > move over to the json format instead. It's easy to parse by computers
> > and humans, and new performance metrics can be added without causing
> > breakage in existing setups. The minimal/csv format is somewhat
> > fragile
> > for that.
> > 
> > That said, IOPS is there in the minimal output :-)
> > 
> > --
> > Jens Axboe
> > 
> Maybe you consider that version 3 of the terse output is only used
> since Fio version 2.0.3!  Before that I think that IOPS are not in the
> terse output (http://freecode.com/projects/fio/releases/341331).  In
> the current Debian (http://packages.debian.org/squeeze/fio) and Ubuntu
> LTS releases (http://packages.ubuntu.com/precise/fio) the Fio version
> is before 2.0.3 and therefore the terse output is not of version 3.

Ah yes, good point, I always seem to assume that people are running fio
out of the git repo. But yes, the IOPS is a recent(ish) addition. Though
2.0.3 is more than a year old at this point.

> As Jens said, you can also switch to JSON format instead.
> So maybe you are stuck to use Fio from the git repo to have a newer version.

Yep, json is an even newer addition than terse v3, so an update is in
order in any case.

-- 
Jens Axboe


      reply	other threads:[~2013-02-18  8:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 10:44 How to get IOPS when using terse output Peter Xu
2013-02-13 16:36 ` Carl Zwanzig
2013-02-13 17:07 ` Carl Zwanzig
2013-02-18  8:08 ` Jens Axboe
2013-02-18  8:37   ` Georg Schönberger
2013-02-18  8:45     ` Jens Axboe [this message]

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=20130218084519.GD6003@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=gschoenberger@thomas-krenn.com \
    --cc=xzpeter@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