fio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Fu <vincentfu@gmail.com>
To: mmoole <mmoole@gmail.com>, fio@vger.kernel.org
Subject: Re: fio terse output Write/Read Bandwidth (mean) = zero depending on ...blocksize, filesize?
Date: Mon, 17 Apr 2023 10:34:17 -0400	[thread overview]
Message-ID: <7b2f76ca-42bb-dc73-dd07-2cc79729ecb0@gmail.com> (raw)
In-Reply-To: <f2bd3a9d-8585-4148-8952-9d5ded6f889f@gmail.com>

On 4/17/23 07:44, mmoole wrote:
> Dear fio Team,
> 
> I am running fio in a loop with varying values for some parameters:
> FIO_RESULT=$(fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --bs=$BLOCK_SIZE --iodepth=64 --readwrite=randrw --rwmixread=75 --sync=sync --numjobs=5 --group_reporting --size="$TEST_FILE_SIZE" --filename="/$ZPOOL_NAME/$TEST_FILE" --output-format=terse)
> 
> For each run a zfs pool is created and afterwards discarded.
> 
> Now the output I analyse in Excel looks strange at some points:
> * some combination of those values lead to output of a lot of zeros in relevant columns, especially Write Bandwidth (mean) and Read Bandwidth (mean) and their accompanying columns.
> * it seems that small test file size and large block size lead to that, but not exclusively?
> * on the other hand Write Bandwidth (KB/s) column gives huge values compared to other runs, how does that make sense?
> 
> See picture of collapsed table attached. (https://imgur.com/a/V5FsmmU )
> 
> 
> 
> Would it help to provide the full table, or is there a logical explanation for this, like something regarding block size, multipliers, filesize, r/w percentage or so on?
> 
> 
> greetings
> Sven
> 
> 
> 

Fio will report two types of bandwidth figures:

(1) overall bandwidth: (total bytes) / (total time)
(2) average of bandwidth values from periodic samples taken during the 
job run

You are observing a situation where (1) is non-zero but (2) is zero.

All the evidence you have presented suggests that your jobs are 
finishing too quickly and fio has not collected any bw sample data and 
reports zeros for the sample-based statistics.

For more details see:

https://fio.readthedocs.io/en/latest/fio_doc.html#interpreting-the-output

Vincent

      reply	other threads:[~2023-04-17 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17 11:44 fio terse output Write/Read Bandwidth (mean) = zero depending on ...blocksize, filesize? mmoole
2023-04-17 14:34 ` Vincent Fu [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=7b2f76ca-42bb-dc73-dd07-2cc79729ecb0@gmail.com \
    --to=vincentfu@gmail.com \
    --cc=fio@vger.kernel.org \
    --cc=mmoole@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).