All of lore.kernel.org
 help / color / mirror / Atom feed
* IO merge in engine
@ 2015-10-02 14:04 Fabrice Bacchella
  2015-10-02 15:59 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Bacchella @ 2015-10-02 14:04 UTC (permalink / raw)
  To: fio

When writing my new hdfs engine, I met a problem with IO merge.

If I submit IO that are bigger that what the hdfs can manage, I return them to fio as incomplete IO, the net engine works the same way :
in engines/net.c, line 668+
			io_u->resid = io_u->xfer_buflen - ret;
			io_u->error = 0;
			return FIO_Q_COMPLETED;

But the fio count them as two or more fast IO. I'm not sure it's a good measurement because if I'm simulating an application with fio, I expect to get the full IO latency and operations/s count. I don't mesure to mesure sub-io for that. For example, reducing the maximum transfer size will increase IO/s and reduce latency, even if the simulated application really sees reduced performance, because more of it's high level IO operation generated more real IO.

Is there a way to prevent that in fio, or is that up to my engine to manage that and merge IO ?

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

end of thread, other threads:[~2015-10-06 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 14:04 IO merge in engine Fabrice Bacchella
2015-10-02 15:59 ` Jens Axboe
2015-10-06 15:36   ` Fabrice Bacchella

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.