问题
Are there in AIX mechanisms EPOLL(Linux2.6)/KQUEUE(FreeBSD)/IO Completion Port(Windows) or their equivalents?
And what kind of mechanisms are optimal for AIO on AIX for a large number of network connections?
For example according to the Benchmarks, the mechanisms KQUEUE / EPOLL much faster than SELECT. http://libevent.org/
回答1:
I believe poll set is the best choice today. There is also the iocp interfaces which comes from windows. And there are the aio interfaces which use iocp under the covers. But, I believe poll set is the preferred choice of the three if you are using a relatively new version of AIX.
来源:https://stackoverflow.com/questions/17380181/are-there-in-aix-mechanisms-epoll-kqueue-or-their-equivalents