Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 05:49:15 +0000
From:      Tony Finch <dot@dotat.at>
To:        Maxime Henrion <mux@qualys.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: kqueue()/kevent(), select() and poll()
Message-ID:  <20001121054915.G54653@hand.dotat.at>
In-Reply-To: <20001118150445.A260@nebula.cybercable.fr>
References:  <20001118150445.A260@nebula.cybercable.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxime Henrion <mux@qualys.com> wrote:
>
>I was wondering if it was reasonnable to implement the select() and
>poll() system calls as kqueue()/kevent() wrappers. This would make
>any application using these system calls benefit from the performance
>improvements of the new kernel thread.

The performance problem with select and poll that kqueue fixes is that
kqueue doesn't require you to notify the kernel of every event you are
interested in every time you call it. This is an API problem, not an
implementation problem, so you cannot fix it by changing the implementation.

Tony.
-- 
f.a.n.finch     dot@dotat.at     fanf@covalent.net     Chad for President!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001121054915.G54653>