AIX 机制中是否有 EPOLL/KQUEUE 或它们的等效机制? [英] Are there in AIX mechanisms EPOLL/KQUEUE or their equivalents?

查看:134
本文介绍了AIX 机制中是否有 EPOLL/KQUEUE 或它们的等效机制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AIX 机制中是否有 EPOLL(Linux2.6)/KQUEUE(FreeBSD)/IO Completion Port(Windows) 或它们的等价物?

Are there in AIX mechanisms EPOLL(Linux2.6)/KQUEUE(FreeBSD)/IO Completion Port(Windows) or their equivalents?

对于大量网络连接的 AIX 上的 AIO 什么样的机制是最佳的?

And what kind of mechanisms are optimal for AIO on AIX for a large number of network connections?

例如,根据基准,KQUEUE/EPOLL 机制比 SELECT 快得多.http://libevent.org/

For example according to the Benchmarks, the mechanisms KQUEUE / EPOLL much faster than SELECT. http://libevent.org/

推荐答案

我相信 投票集 是今天的最佳选择.还有来自 Windows 的 iocp 接口.还有 aio 接口在幕后使用 iocp.但是,如果您使用的是相对较新版本的 AIX,我相信 poll set 是三者中的首选.

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.

这篇关于AIX 机制中是否有 EPOLL/KQUEUE 或它们的等效机制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆