Are there in AIX mechanisms EPOLL/KQUEUE or their equivalents?

[亡魂溺海] 提交于 2021-01-28 00:34:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!