linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Kegel <dkegel@ixiacom.com>
To: linux-kernel@vger.kernel.org, Martin Waitz <tali@admingilde.org>
Subject: Re: [PATCH] epoll more scalable than poll
Date: Mon, 28 Oct 2002 13:59:23 -0800	[thread overview]
Message-ID: <3DBDB33B.6000200@ixiacom.com> (raw)

Martin Waitz <tali@admingilde.org> wrote:
> On Mon, Oct 28, 2002 at 11:14:19AM -0800, Hanna Linder wrote:
>> 	The results of our testing show not only does the system call 
>> interface to epoll perform as well as the /dev interface but also that epoll 
>> is many times better than standard poll. No other implementations of poll 
>> have performed as well as epoll in any measure. Testing details and results 
>> are published here, please take a minute to check it out: 
 >> http://lse.sourceforge.net/epoll/index.html
 >
> how does this compare to the kqueue mechanism found in {Free,Net}BSD?
> (see http://people.freebsd.org/~jlemon/papers/kqueue.pdf)
> 
> i especially like their combined event update/event wait,
> needing only one syscall per poll while building a changelist in
> userspace...
> 
> a replacement for poll/select is _really_ needed.
> but i think we should use existing interfaces if possible,
> to reduce the changes needed in userspace.

I'd kinda like to see a unified event queue object
used uniformly for everything.  You might instantiate
several of them in one process (so e.g. libraries could have
their own).

The idea of using the kqueue interface was discussed once before.  See
http://marc.theaimsgroup.com/?l=linux-kernel&m=97236943118139&w=2
for Linus' opinion of kqueues (he doesn't like them much).

Another existing event queue for readiness notification to
be delivered via is Ben's AIO completion notification queue,
but I haven't heard a definitive story about whether
epoll events could be delivered that way.  (The discussion
seems to always veer into a discussion of asynchronous
poll, which is something else.)
- Dan



             reply	other threads:[~2002-10-28 21:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 21:59 Dan Kegel [this message]
2002-10-28 22:36 ` [PATCH] epoll more scalable than poll Dan Kegel
2002-10-28 22:51 ` Davide Libenzi
2002-10-28 23:03   ` Dan Kegel
  -- strict thread matches above, loose matches on Subject: below --
2002-10-28 19:14 Hanna Linder
2002-10-28 20:10 ` Hanna Linder
2002-10-28 20:56 ` Martin Waitz
2002-10-28 22:02   ` bert hubert
2002-10-28 22:15     ` bert hubert
2002-10-28 22:17   ` Davide Libenzi
2002-10-28 22:08 ` bert hubert
2002-10-28 22:29   ` Davide Libenzi
2002-10-28 23:44     ` Jamie Lokier
2002-10-29  0:02       ` Davide Libenzi
2002-10-29  1:51         ` Jamie Lokier
2002-10-29  5:06           ` Davide Libenzi
2002-10-29 11:20             ` Jamie Lokier
2002-10-30  0:16               ` Davide Libenzi
2002-10-29  0:03       ` bert hubert
2002-10-29  0:20         ` Davide Libenzi
2002-10-29  0:48         ` Jamie Lokier
2002-10-29  1:53           ` Jamie Lokier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DBDB33B.6000200@ixiacom.com \
    --to=dkegel@ixiacom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tali@admingilde.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).