Flexible I/O Tester development
 help / color / mirror / Atom feed
* Latency log, add filename to record
@ 2013-11-07 20:42 chris meyers
  2013-11-16 18:19 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: chris meyers @ 2013-11-07 20:42 UTC (permalink / raw)
  To: fio

https://github.com/axboe/fio/pull/3
The above patch modifies the CSV latency log (write_lat_log options)
by appending the filename to which the record is related. Said
differently, the filename to which the I/O was issued to. When I first
set out to add this feature I had indended to create a new log file in
order to distrubt the latency log file format as little as possible.
This, however, was not easily doable given the structure of the fio
code. Now, in order to still provide this feature while maintaining
the legacy latency file format I propose two options.
(1) A configuration options as an extention to write_lat_log. For example:
write_lat_log=mylogfile:with_filename
(2) As a seperate configuration option that modifies the write_lat_log
format. For example:
write_lat_log_with_filename=bool

This email is to start a discussion and solicit feedback on the
proposed feature as well as the cooresponding configuration trigger.

-Chris

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

* Re: Latency log, add filename to record
  2013-11-07 20:42 Latency log, add filename to record chris meyers
@ 2013-11-16 18:19 ` Jens Axboe
  2013-11-22  3:36   ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2013-11-16 18:19 UTC (permalink / raw)
  To: chris meyers; +Cc: fio

On Thu, Nov 07 2013, chris meyers wrote:
> https://github.com/axboe/fio/pull/3
> The above patch modifies the CSV latency log (write_lat_log options)
> by appending the filename to which the record is related. Said
> differently, the filename to which the I/O was issued to. When I first
> set out to add this feature I had indended to create a new log file in
> order to distrubt the latency log file format as little as possible.
> This, however, was not easily doable given the structure of the fio
> code. Now, in order to still provide this feature while maintaining
> the legacy latency file format I propose two options.
> (1) A configuration options as an extention to write_lat_log. For example:
> write_lat_log=mylogfile:with_filename
> (2) As a seperate configuration option that modifies the write_lat_log
> format. For example:
> write_lat_log_with_filename=bool
> 
> This email is to start a discussion and solicit feedback on the
> proposed feature as well as the cooresponding configuration trigger.

Chris, sorry for being late on this! I'll get to this on Monday and give
you some constructive criticism.

-- 
Jens Axboe


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

* Re: Latency log, add filename to record
  2013-11-16 18:19 ` Jens Axboe
@ 2013-11-22  3:36   ` Jens Axboe
  2013-11-22  3:44     ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2013-11-22  3:36 UTC (permalink / raw)
  To: chris meyers; +Cc: fio

On Sat, Nov 16 2013, Jens Axboe wrote:
> On Thu, Nov 07 2013, chris meyers wrote:
> > https://github.com/axboe/fio/pull/3
> > The above patch modifies the CSV latency log (write_lat_log options)
> > by appending the filename to which the record is related. Said
> > differently, the filename to which the I/O was issued to. When I first
> > set out to add this feature I had indended to create a new log file in
> > order to distrubt the latency log file format as little as possible.
> > This, however, was not easily doable given the structure of the fio
> > code. Now, in order to still provide this feature while maintaining
> > the legacy latency file format I propose two options.
> > (1) A configuration options as an extention to write_lat_log. For example:
> > write_lat_log=mylogfile:with_filename
> > (2) As a seperate configuration option that modifies the write_lat_log
> > format. For example:
> > write_lat_log_with_filename=bool
> > 
> > This email is to start a discussion and solicit feedback on the
> > proposed feature as well as the cooresponding configuration trigger.
> 
> Chris, sorry for being late on this! I'll get to this on Monday and give
> you some constructive criticism.

OK, finally got to it. One problem with adding to the log structure is
that it grows in size. And we already have a problem with it eating too
much memory. But I actually have a few ideas on how to 'compress' it, so
lets not worry too much about that.

Lets add a new option to include the name. write_lat_log_with_filename
sounds like a reasonable choice.

-- 
Jens Axboe


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

* Re: Latency log, add filename to record
  2013-11-22  3:36   ` Jens Axboe
@ 2013-11-22  3:44     ` Jens Axboe
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2013-11-22  3:44 UTC (permalink / raw)
  To: chris meyers; +Cc: fio

On Thu, Nov 21 2013, Jens Axboe wrote:
> On Sat, Nov 16 2013, Jens Axboe wrote:
> > On Thu, Nov 07 2013, chris meyers wrote:
> > > https://github.com/axboe/fio/pull/3
> > > The above patch modifies the CSV latency log (write_lat_log options)
> > > by appending the filename to which the record is related. Said
> > > differently, the filename to which the I/O was issued to. When I first
> > > set out to add this feature I had indended to create a new log file in
> > > order to distrubt the latency log file format as little as possible.
> > > This, however, was not easily doable given the structure of the fio
> > > code. Now, in order to still provide this feature while maintaining
> > > the legacy latency file format I propose two options.
> > > (1) A configuration options as an extention to write_lat_log. For example:
> > > write_lat_log=mylogfile:with_filename
> > > (2) As a seperate configuration option that modifies the write_lat_log
> > > format. For example:
> > > write_lat_log_with_filename=bool
> > > 
> > > This email is to start a discussion and solicit feedback on the
> > > proposed feature as well as the cooresponding configuration trigger.
> > 
> > Chris, sorry for being late on this! I'll get to this on Monday and give
> > you some constructive criticism.
> 
> OK, finally got to it. One problem with adding to the log structure is
> that it grows in size. And we already have a problem with it eating too
> much memory. But I actually have a few ideas on how to 'compress' it, so
> lets not worry too much about that.
> 
> Lets add a new option to include the name. write_lat_log_with_filename
> sounds like a reasonable choice.

Also, another thing to consider is that the log is potentially
transmitted across the network, that's what happens for client/server
fio... You want to consider how best to handle that.

-- 
Jens Axboe


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

end of thread, other threads:[~2013-11-22  3:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 20:42 Latency log, add filename to record chris meyers
2013-11-16 18:19 ` Jens Axboe
2013-11-22  3:36   ` Jens Axboe
2013-11-22  3:44     ` Jens Axboe

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