All of lore.kernel.org
 help / color / mirror / Atom feed
* How to get latency logs after 1.39?
@ 2012-07-09 21:38 Scott Emery
  2012-07-10 22:39 ` emery
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Emery @ 2012-07-09 21:38 UTC (permalink / raw)
  To: fio


	I eventually want to specify a job on the command line that includes
collecting latency/bandwidth/iops logs.

	I have a command/job script combination that makes latency
logs in 1.38 and doesn't in 1.39.   I fail to get latency logs for a fair
sample of fio versions from 1.39 to 2.07. I discovered this in attempting
to figure out where the behavior changed.

cat ./run
#
/loaner/semery/fio/fio-1.39/fio --output test.small.loaner --latency-log --bandwidth-log  --alloc-size=4096 test.small

cat test.small
#
[global]
bs=2m
ioengine=libaio
iodepth=1
size=1g
direct=1
runtime=1200
directory=/loaner/semery/fio/latencylogs
group_reporting

[seq-read]
rw=read
numjobs=2

[seq-write]
new_group
rw=write
numjobs=1


When run uses fio-1.38 I get the following:
[semery@lou2-mov4 latencylogs]$ ./run
[semery@lou2-mov4 latencylogs]$ ls
run		   seq-write.3.0	  test.putgetstorm.iod4.loaner
seq-read.1.0	   seq-write_clat.log	  test.small
seq-read.2.0	   seq-write_slat.log	  test.small.loaner

With fio-1.39 I get:
[semery@lou2-mov4 latencylogs]$ ls
run	      seq-write.3.0	     test.putgetstorm.iod4.loaner
seq-read.1.0  test.putgetstorm	     test.small
seq-read.2.0  test.putgetstorm.iod4  test.small.loaner

I grovelled through a diff -r of 1.38 and 1.39 and the significant looking
difference is this:

diff -r fio-1.38/init.c fio-1.39/init.c
884,886d883
<       def_thread.o.write_bw_log = write_bw_log;
<       def_thread.o.write_lat_log = write_lat_log;
<


	Have latency logs, et. al. been deprecated?  Is there a  new/better
way to get them?


Scott Emery
emery@sgi.com

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

* Re: How to get latency logs after 1.39?
  2012-07-09 21:38 How to get latency logs after 1.39? Scott Emery
@ 2012-07-10 22:39 ` emery
  2012-08-01  8:50   ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: emery @ 2012-07-10 22:39 UTC (permalink / raw)
  To: Scott Emery; +Cc: fio, emery

emery@sgi.com:  Scott Emery <emery@sgi.com>
In message <201207092138.q69LcsAr22293463@zion.americas.sgi.com>, Scott Emery w
rites:
>
>	I eventually want to specify a job on the command line that includes
>collecting latency/bandwidth/iops logs.
>
>	I have a command/job script combination that makes latency
>logs in 1.38 and doesn't in 1.39.   I fail to get latency logs for a fair
>sample of fio versions from 1.39 to 2.07. I discovered this in attempting
>to figure out where the behavior changed.
>
>cat ./run
>#
>/loaner/semery/fio/fio-1.39/fio --output test.small.loaner --latency-log --ban
>dwidth-log  --alloc-size=4096 test.small
>
>cat test.small
>#
>[global]
>bs=2m
>ioengine=libaio
>iodepth=1
>size=1g
>direct=1
>runtime=1200
>directory=/loaner/semery/fio/latencylogs
>group_reporting
>
>[seq-read]
>rw=read
>numjobs=2
>
>[seq-write]
>new_group
>rw=write
>numjobs=1
>
>
>When run uses fio-1.38 I get the following:
>[semery@lou2-mov4 latencylogs]$ ./run
>[semery@lou2-mov4 latencylogs]$ ls
>run		   seq-write.3.0	  test.putgetstorm.iod4.loaner
>seq-read.1.0	   seq-write_clat.log	  test.small
>seq-read.2.0	   seq-write_slat.log	  test.small.loaner
>
>With fio-1.39 I get:
>[semery@lou2-mov4 latencylogs]$ ls
>run	      seq-write.3.0	     test.putgetstorm.iod4.loaner
>seq-read.1.0  test.putgetstorm	     test.small
>seq-read.2.0  test.putgetstorm.iod4  test.small.loaner
>
>I grovelled through a diff -r of 1.38 and 1.39 and the significant looking
>difference is this:
>
>diff -r fio-1.38/init.c fio-1.39/init.c
>884,886d883
><       def_thread.o.write_bw_log = write_bw_log;
><       def_thread.o.write_lat_log = write_lat_log;
><
>
>
>	Have latency logs, et. al. been deprecated?  Is there a  new/better
>way to get them?
>
>
>Scott Emery
>emery@sgi.com
>--
>To unsubscribe from this list: send the line "unsubscribe fio" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html


That is commit 91da686ce2136e70c0ba734ad5698684582ab1b0
http://git.kernel.dk/?p=fio.git;a=commit;h=91da686ce2136e70c0ba734ad5698684582ab1b0A
"Keep the global command line bw/lat logs separate from per job logs"

That sounds like a good goal, but I don't seem to be able to generate
bw/lat logs using the command line since fio-1.39. 


Scott Emery
emery@sgi.com

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

* Re: How to get latency logs after 1.39?
  2012-07-10 22:39 ` emery
@ 2012-08-01  8:50   ` Jens Axboe
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2012-08-01  8:50 UTC (permalink / raw)
  To: emery; +Cc: fio

On 07/11/2012 12:39 AM, emery@sgi.com wrote:
> emery@sgi.com:  Scott Emery <emery@sgi.com>
> In message <201207092138.q69LcsAr22293463@zion.americas.sgi.com>, Scott Emery w
> rites:
>>
>> 	I eventually want to specify a job on the command line that includes
>> collecting latency/bandwidth/iops logs.
>>
>> 	I have a command/job script combination that makes latency
>> logs in 1.38 and doesn't in 1.39.   I fail to get latency logs for a fair
>> sample of fio versions from 1.39 to 2.07. I discovered this in attempting
>> to figure out where the behavior changed.
>>
>> cat ./run
>> #
>> /loaner/semery/fio/fio-1.39/fio --output test.small.loaner --latency-log --ban
>> dwidth-log  --alloc-size=4096 test.small
>>
>> cat test.small
>> #
>> [global]
>> bs=2m
>> ioengine=libaio
>> iodepth=1
>> size=1g
>> direct=1
>> runtime=1200
>> directory=/loaner/semery/fio/latencylogs
>> group_reporting
>>
>> [seq-read]
>> rw=read
>> numjobs=2
>>
>> [seq-write]
>> new_group
>> rw=write
>> numjobs=1
>>
>>
>> When run uses fio-1.38 I get the following:
>> [semery@lou2-mov4 latencylogs]$ ./run
>> [semery@lou2-mov4 latencylogs]$ ls
>> run		   seq-write.3.0	  test.putgetstorm.iod4.loaner
>> seq-read.1.0	   seq-write_clat.log	  test.small
>> seq-read.2.0	   seq-write_slat.log	  test.small.loaner
>>
>> With fio-1.39 I get:
>> [semery@lou2-mov4 latencylogs]$ ls
>> run	      seq-write.3.0	     test.putgetstorm.iod4.loaner
>> seq-read.1.0  test.putgetstorm	     test.small
>> seq-read.2.0  test.putgetstorm.iod4  test.small.loaner
>>
>> I grovelled through a diff -r of 1.38 and 1.39 and the significant looking
>> difference is this:
>>
>> diff -r fio-1.38/init.c fio-1.39/init.c
>> 884,886d883
>> <       def_thread.o.write_bw_log = write_bw_log;
>> <       def_thread.o.write_lat_log = write_lat_log;
>> <
>>
>>
>> 	Have latency logs, et. al. been deprecated?  Is there a  new/better
>> way to get them?
>>
>>
>> Scott Emery
>> emery@sgi.com
>> --
>> To unsubscribe from this list: send the line "unsubscribe fio" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> That is commit 91da686ce2136e70c0ba734ad5698684582ab1b0
> http://git.kernel.dk/?p=fio.git;a=commit;h=91da686ce2136e70c0ba734ad5698684582ab1b0A
> "Keep the global command line bw/lat logs separate from per job logs"
> 
> That sounds like a good goal, but I don't seem to be able to generate
> bw/lat logs using the command line since fio-1.39. 

Hmm weird, I'll take a look at this.

-- 
Jens Axboe


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

end of thread, other threads:[~2012-08-01  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-09 21:38 How to get latency logs after 1.39? Scott Emery
2012-07-10 22:39 ` emery
2012-08-01  8:50   ` Jens Axboe

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.