All of lore.kernel.org
 help / color / mirror / Atom feed
From: jvogt <jvogt@adon.li>
To: fio@vger.kernel.org
Subject: correct file size to use
Date: Sat, 15 Mar 2014 12:10:49 +0100	[thread overview]
Message-ID: <53243539.5010405@adon.li> (raw)

Hi list

I was wondering:
When i start
fio --name=/srv/mail/test --size=10M --direct=1 --runtime=60 
--time_based --group_reporting --refill_buffer --rw=read --numjobs=1

I get as result:
read : io=1177.4MB, bw=20093KB/s, iops=5023, runt= 60000msec

But when I do a
fio --name=/srv/mail/test --size=10G --direct=1 --runtime=60 
--time_based --group_reporting --refill_buffer --rw=read --numjobs=1

The result is:
read : io=976692KB, bw=16278KB/s, iops=4069, runt= 60001msec
(decrease of 20%, in some scenarios it's even worse with more than 30%)

So how does the file size influence the speed (iops, bandwith)? My 
understanding was that it is not important from which filesize we are 
reading from - important is the block size and if the filesize is not 
big enough, fio just restarts to read the file from the beginning. How 
can that be explained? And which sizes should be used to get reliable 
results?

Thanks
Josef

             reply	other threads:[~2014-03-15 11:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-15 11:10 jvogt [this message]
2014-03-16 12:12 ` correct file size to use Ming Lei
2014-03-16 23:16   ` Matthew Eaton
2014-03-17  2:02     ` Carl Zwanzig
2014-03-17  2:55     ` Ming Lei
2014-03-17 20:13       ` jvogt
2014-03-17 20:34         ` Sitsofe Wheeler
2014-03-17 20:40           ` jvogt
2014-03-18  0:54             ` Carl Zwanzig

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=53243539.5010405@adon.li \
    --to=jvogt@adon.li \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.