generating latency logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux