Flexible I/O Tester development
 help / color / mirror / Atom feed
* Block size of zero in log files
@ 2014-06-25  0:33 Hinson, Roger
  2014-06-25 15:20 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Hinson, Roger @ 2014-06-25  0:33 UTC (permalink / raw)
  To: fio@vger.kernel.org

��������������� Hi,

��������������� I'm new to using FIO.� I'm using FIO 2.1.10, although I had the same problem with FIO 2.1.7.� The log files are not listing the blocksize.� I looked around and can't find anything obvious that I'm doing wrong, although I see posts with it working for people.� Has anyone seen and solved this?

Here is a snippet from my FIO config file.

[global]
thread
group_reporting=1
direct=1
norandommap=0
randrepeat=0
refill_buffers
buffer_compress_percentage=0
ioengine=libaio
#filename=/dev/dm-0:/dev/dm-1:/dev/dm-2:/dev/dm-3:/dev/dm-4:/dev/dm-5

log_avg_msec=1000

[128kB_SeqWr_dm0_1stPass]
write_bw_log=128kB_SeqWr_dm0_1stPass
write_lat_log=128kB_SeqWr_dm0_1stPass
write_iops_log=128kB_SeqWr_dm0_1stPass
filename=/dev/dm-0
bs=128k
rw=write
numjobs=1
iodepth=8

[128kB_SeqWr_dm1_1stPass]
write_bw_log=128kB_SeqWr_dm1_1stPass
write_lat_log=128kB_SeqWr_dm1_1stPass
write_iops_log=128kB_SeqWr_dm1_1stPass
filename=/dev/dm-1
bs=128k
rw=write
numjobs=1
iodepth=8

and a snippet of a log file

tail -5 128kB_SeqWr_dm0_1stPass_bw.log 

10767282, 171175, 1, 0
10768286, 167055, 1, 0
10769288, 172508, 1, 0
10770292, 170629, 1, 0
10770926, 174754, 1, 0


��������������� Thanks,
��������������� Roger




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

* Re: Block size of zero in log files
  2014-06-25  0:33 Block size of zero in log files Hinson, Roger
@ 2014-06-25 15:20 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-06-25 15:20 UTC (permalink / raw)
  To: Hinson, Roger, fio@vger.kernel.org

On 2014-06-24 18:33, Hinson, Roger wrote:
>                  Hi,
>
>                  I'm new to using FIO.  I'm using FIO 2.1.10, although I had the same problem with FIO 2.1.7.  The log files are not listing the blocksize.  I looked around and can't find anything obvious that I'm doing wrong, although I see posts with it working for people.  Has anyone seen and solved this?
>
> Here is a snippet from my FIO config file.
>
> [global]
> thread
> group_reporting=1
> direct=1
> norandommap=0
> randrepeat=0
> refill_buffers
> buffer_compress_percentage=0
> ioengine=libaio
> #filename=/dev/dm-0:/dev/dm-1:/dev/dm-2:/dev/dm-3:/dev/dm-4:/dev/dm-5
>
> log_avg_msec=1000
>
> [128kB_SeqWr_dm0_1stPass]
> write_bw_log=128kB_SeqWr_dm0_1stPass
> write_lat_log=128kB_SeqWr_dm0_1stPass
> write_iops_log=128kB_SeqWr_dm0_1stPass
> filename=/dev/dm-0
> bs=128k
> rw=write
> numjobs=1
> iodepth=8
>
> [128kB_SeqWr_dm1_1stPass]
> write_bw_log=128kB_SeqWr_dm1_1stPass
> write_lat_log=128kB_SeqWr_dm1_1stPass
> write_iops_log=128kB_SeqWr_dm1_1stPass
> filename=/dev/dm-1
> bs=128k
> rw=write
> numjobs=1
> iodepth=8
>
> and a snippet of a log file
>
> tail -5 128kB_SeqWr_dm0_1stPass_bw.log
>
> 10767282, 171175, 1, 0
> 10768286, 167055, 1, 0
> 10769288, 172508, 1, 0
> 10770292, 170629, 1, 0
> 10770926, 174754, 1, 0

When you are looking over an averaged window (log_avg_msec), you no 
longer have a 1:1 between log entry and IO. So you lose the blocksize 
information.


-- 
Jens Axboe



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

end of thread, other threads:[~2014-06-25 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25  0:33 Block size of zero in log files Hinson, Roger
2014-06-25 15:20 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox