Re: Is user-space AIO dead?

From: David Lloyd
Date: Wed Jan 11 2006 - 13:22:44 EST


On Wed, 11 Jan 2006, Kenny Simpson wrote:

Hi,
Having read the excellent paper by IBM presented at the 2003 OLS about Asynchronous I/O Support
in Linux 2.5, I found the conclusion rather disappointing:
"In conclusion, there appears to be no conditions for raw or O_DIRECT access under which AIO can
show a noticable benefit." - p385.
http://archive.linuxsymposium.org/ols2003/Proceedings/All-Reprints/Reprint-Pulavarty-OLS2003.pdf

Is this still the case?

If I want a transactional engine (like a database) that needs to persist to stable storage, is it
still best to use a helper thread to do write/fsync or O_SYNC|O_DIRECT?

Wouldn't nonblocking I/O on regular files be nice?

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