From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7d747ac241d5a3d8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news1.google.com!news.glorb.com!news-xfer.nntp.sonic.net!posts.news.sonic.net!nnrp1.nntp.sonic.net!not-for-mail From: "R. Tyler Croy" Subject: Re: Performance techniques used in AWS Newsgroups: comp.lang.ada References: <4df5a4bc$0$2120$742ec2ed@news.sonic.net> <4DF63AAC.5050708@obry.net> <4df6ee43$0$2131$742ec2ed@news.sonic.net> User-Agent: Pan/0.134 (Wait for Me; GIT cb32159 master) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 14 Jun 2011 15:10:12 GMT Message-ID: <4df779d4$0$2211$742ec2ed@news.sonic.net> Organization: Sonic.Net NNTP-Posting-Date: 14 Jun 2011 15:10:12 GMT NNTP-Posting-Host: 5cde4946.news.sonic.net X-Trace: DXC=Qhf11]2o\J?]h^09]mY@>;m4K\QM1CV^01OYf0H`?;X1Q]I8:DUhd@:1_;V[aN3Ad0T2PcaU5YN>; X-Complaints-To: abuse@sonic.net Xref: g2news1.google.com comp.lang.ada:19821 Date: 2011-06-14T15:10:12+00:00 List-Id: On Tue, 14 Jun 2011 12:18:11 +0100, Simon Wright wrote: > "Yannick DuchĂȘne (Hibou57)" writes: > >> Le Tue, 14 Jun 2011 12:40:15 +0200, Simon Wright a >> Ă©crit: >>> I guess the performance will depend heavily on select(2) vs poll(2) or >>> epoll. >> According to this >> http://monkey.org/~provos/libevent/libevent-benchmarks.jpg and that >> http://monkey.org/~provos/libevent/libevent-benchmark2s.jpg epoll and >> kqueue are the more efficient > > I see that libev[ent] abstracts away the actual polling mechanism, which > is good. Of course, what mechanism you can actually use depends on the > OS: I think epoll is a Linux-specific service? - certainly no sign of it > on this Mac. Correct, you're options on Linux 2.6+ are epoll(2), on *BSD and Mac OS X the kqueue(2) facility is available. For Windows users..well, you get what you pay for ;) Both libev and libevent both abstract away the underlying polling mechanism. -- - R. Tyler Croy -------------------------------------- Code: http://github.com/rtyler