From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evgeniy Polyakov Subject: Re: [take22 0/4] kevent: Generic event handling mechanism. Date: Wed, 1 Nov 2006 19:24:03 +0300 Message-ID: <20061101162403.GA29783@2ka.mipt.ru> References: <1154985aa0591036@2ka.mipt.ru> <1162380963981@2ka.mipt.ru> <20061101130614.GB7195@atrey.karlin.mff.cuni.cz> <20061101132506.GA6433@2ka.mipt.ru> <20061101160551.GA2598@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Cc: David Miller , Ulrich Drepper , Andrew Morton , netdev , Zach Brown , Christoph Hellwig , Chase Venters , Johann Borck , linux-kernel@vger.kernel.org Return-path: Received: from mailer.campus.mipt.ru ([194.85.82.4]:13785 "EHLO mailer.campus.mipt.ru") by vger.kernel.org with ESMTP id S2992670AbWKAQxM (ORCPT ); Wed, 1 Nov 2006 11:53:12 -0500 To: Pavel Machek Content-Disposition: inline In-Reply-To: <20061101160551.GA2598@elf.ucw.cz> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, Nov 01, 2006 at 05:05:51PM +0100, Pavel Machek (pavel@ucw.cz) wrote: > Hi! Hi Pavel. > > Kevent is a generic subsytem which allows to handle event notifications. > > It supports both level and edge triggered events. It is similar to > > poll/epoll in some cases, but it is more scalable, it is faster and > > allows to work with essentially eny kind of events. > > Quantifying "how much more scalable" would be nice, as would be some > example where it is useful. ("It makes my webserver twice as fast on > monster 64-cpu box"). Trivial kevent web-server can handle 3960+ req/sec on Xeon 2.4Ghz with 1Gb RAM, epoll based - 2200-2500 req/sec. 100 Mbit wire is filled almost 100% (10582.7 KB/s of data without TCP and below headers). More benchmarks created by me and Johann Borck can be found on project's homepage as long as all my sources used in tests. -- Evgeniy Polyakov