buffered asynchronous file I/O on linux

后端 未结 3 805
花落未央
花落未央 2020-12-23 21:00

I am looking for the most efficient way to do asynchronous file I/O on linux.

The POSIX glibc implementation uses threads in userland.

The native aio kernel

3条回答
  •  抹茶落季
    2020-12-23 21:13

    I don't think the Linux kernel implementation of asynchronous file I/O is really usable unless you also use O_DIRECT, sorry.

    There's more information about the current state of the world here: https://github.com/littledan/linux-aio . It was updated in 2012 by someone who used to work at Google.

提交回复
热议问题