Where can I get the latest information about aio on Linux 2.6.x

Recently, I am learning how to write a high-performance web server. The RedHat experiment says epoll is faster than aio. someone says that since the aio kernel in Linux is implemented using pthread. I find it difficult to find the latest information to prove this. Also I don't know if epoll is even better than aio now on Linux? So I want to know where I can get the latest information about aio on Linux 2.6.x. thanks a lot!

+3
source share
1 answer

I am exploring the same area.

aio Linux? 300M aio_write() . , -, VM, pdflush/flush. , aio /, io.

2.6.16.46 2.6.27.19 . ​​Linux/libs, .

- -, . CFQ IO, . -.

-, , IO:

  • /proc/meminfo -
  • echo 1 > /proc/sys/vm/block_dump syslog, ,
  • sar -dp 1 - , 100%
  • cd/proc; cat */status | grep State - ,
  • /sys/block//queue/iosched - io scheduler tunables
+2

Source: https://habr.com/ru/post/1755651/


All Articles