From: Mike Ryan <mike.ryan@inktank.com>
To: fio@vger.kernel.org
Subject: generating latency logs
Date: Mon, 6 Aug 2012 18:03:00 -0700 [thread overview]
Message-ID: <20120807010300.GD12248@splice> (raw)
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.
next reply other threads:[~2012-08-07 1:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 1:03 Mike Ryan [this message]
2012-08-07 13:43 ` generating latency logs Jens Axboe
2012-08-07 14:47 ` Mike Ryan
2012-08-08 5:23 ` Kyle Hailey
2012-08-08 5:26 ` Kyle Hailey
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=20120807010300.GD12248@splice \
--to=mike.ryan@inktank.com \
--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.