All of lore.kernel.org
 help / color / mirror / Atom feed
* correct file size to use
@ 2014-03-15 11:10 jvogt
  2014-03-16 12:12 ` Ming Lei
  0 siblings, 1 reply; 9+ messages in thread
From: jvogt @ 2014-03-15 11:10 UTC (permalink / raw)
  To: fio

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-03-18  0:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-15 11:10 correct file size to use jvogt
2014-03-16 12:12 ` 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

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.