Flexible I/O Tester development
 help / color / mirror / Atom feed
* generating latency logs
@ 2012-08-07  1:03 Mike Ryan
  2012-08-07 13:43 ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Ryan @ 2012-08-07  1:03 UTC (permalink / raw)
  To: fio

I'm trying to generate a latency log, but no log file is ever created.
I'm using the version tagged as fio-2.0.8 in git. This is how I'm
invoking fio:

  fio --latency-log=/tmp/log --output=/tmp/log random_write.fio

Here is the file random_write.fio:

  [random-writers]
  ioengine=libaio
  iodepth=4
  rw=randwrite
  bs=4k
  direct=0
  size=64m

I tried to debug it a little myself by adding some print statements. In
particular, at init.c:840 [1]:

        if (td->o.write_lat_log) {
                puts("latency logging");
                setup_log(&td->lat_log, td->o.log_avg_msec);
                setup_log(&td->slat_log, td->o.log_avg_msec);
                setup_log(&td->clat_log, td->o.log_avg_msec);
        }
        else {
                puts("not logging");
        }

[1] http://git.kernel.dk/?p=fio.git;f=init.c;hb=cf9a74#l840

When I run the command as above, I see the text "not logging". This
seems odd.

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

end of thread, other threads:[~2012-08-08  5:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07  1:03 generating latency logs Mike Ryan
2012-08-07 13:43 ` Jens Axboe
2012-08-07 14:47   ` Mike Ryan
2012-08-08  5:23     ` Kyle Hailey
2012-08-08  5:26     ` Kyle Hailey

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