> 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>