Date: Wed, 25 Oct 2000 16:35:12 -0500 From: Jonathan Lemon <jlemon@flugsvamp.com> To: Jamie Lokier <lk@tantalophile.demon.co.uk> Cc: Simon Kirby <sim@stormix.com>, Jonathan Lemon <jlemon@flugsvamp.com>, Dan Kegel <dank@alumni.caltech.edu>, chat@freebsd.org, linux-kernel@vger.kernel.org Subject: Re: kqueue microbenchmark results Message-ID: <20001025163512.A87091@prism.flugsvamp.com> In-Reply-To: <20001025214053.C3685@pcep-jamie.cern.ch> References: <20001024225637.A54554@prism.flugsvamp.com> <39F6655A.353FD236@alumni.caltech.edu> <20001025010246.B57913@prism.flugsvamp.com> <20001025112709.A1500@stormix.com> <20001025122307.B78130@prism.flugsvamp.com> <20001025114028.F12064@stormix.com> <20001025214053.C3685@pcep-jamie.cern.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 25, 2000 at 09:40:53PM +0200, Jamie Lokier wrote: > Simon Kirby wrote: > > And you'd need to take the descriptor out of the read() set in the > > select() case anyway, so I don't really see what's different. > > The difference is that taking a bit out of select()'s bitmap is > basically free. Whereas the equivalent with events is a bind_event() > system call. With the caveat that kevent() will take a changelist at the same time that it returns an eventlist, so while you do incur some kernel processing to temporarily disable the descriptor, the system call is essentially free. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001025163512.A87091>