Re: and nicer too - Re: [PATCH] epoll more scalable than poll

bert hubert (ahu@ds9a.nl)
Tue, 29 Oct 2002 16:19:23 +0100


On Tue, Oct 29, 2002 at 01:59:04PM +0100, Martin Waitz wrote:

> every api should be build to cause the least astonishment to its users.
> epoll is much more scalable than standard poll, yet i don't think
> it's a nice api.

epoll is not a 'faster poll()'. It is edge based instead of level based -
some astonishment is in order here. Anyhow, all problems with the API
mentioned go away if epoll_ctl() inserts an egde if it finds that its poll
condition is met.

> the unified event mechanism introduced in bsd is a good example imho.
> we should build something that is similar useful for applications.

Sounds 2.7-ish.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/