Re: io_submit() taking a long time to return ?

From: Raz Ben-Jehuda(caro)
Date: Thu Jul 13 2006 - 12:30:21 EST


Zach !!!
what do u means by "sync block mapping " ?

thank u
raz


On 7/13/06, Zach Brown <zach.brown@xxxxxxxxxx> wrote:
> By reading the aio documentation, we expected the io_submit call to
> always return immediately,

Sadly, that isn't guaranteed.

> but in our preliminary tests we noticed that
> sometimes this call can take a long time (more than 10 ms, even
> sometimes more than 30 ms !!).

If I had to guess I'd suspect that these delays are due to sync block
mapping lookups in the submit path. Do these tend to show up the first
time you read a file?

- z

--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@xxxxxxxxxx For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@xxxxxxxxx";>aart@xxxxxxxxx</a>



--
Raz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/