Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964893AbXCAK1W (ORCPT ); Thu, 1 Mar 2007 05:27:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964885AbXCAK1V (ORCPT ); Thu, 1 Mar 2007 05:27:21 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:37297 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964888AbXCAK1U (ORCPT ); Thu, 1 Mar 2007 05:27:20 -0500 Date: Thu, 1 Mar 2007 11:19:24 +0100 From: Ingo Molnar To: Pavel Machek Cc: Evgeniy Polyakov , Theodore Tso , Linus Torvalds , Ulrich Drepper , linux-kernel@vger.kernel.org, Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , Zach Brown , "David S. Miller" , Suparna Bhattacharya , Davide Libenzi , Jens Axboe , Thomas Gleixner Subject: Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3 Message-ID: <20070301101924.GB14603@elte.hu> References: <20070226195416.GA11188@elte.hu> <20070227102832.GC23170@2ka.mipt.ru> <20070227115221.GJ8154@thunk.org> <20070227121116.GA31597@2ka.mipt.ru> <20070228161413.GA4319@ucw.cz> <20070301081808.GD7217@2ka.mipt.ru> <20070301092634.GB20171@elf.ucw.cz> <20070301094723.GJ7217@2ka.mipt.ru> <20070301101102.GE20171@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070301101102.GE20171@elf.ucw.cz> User-Agent: Mutt/1.4.2.2i X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.0.3 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek wrote: > > Threadlets behave much worse without event driven model, events can > > behave worse without backed threads, they are mutually compensating. > > I think Ingo demonstrated unoptimized threadlets to be within 5% to > the speed of kevent. [...] that was epoll not kevent, but yeah. To me the biggest question is, how much improvement does kevent bring relative to epoll? Epoll is a pretty good event queueing API, and it covers all the event sources today. It is also O(1) throughout, so i dont really understand how it could only achieve half the speed of kevent in the evserver_epoll/kevent.c benchmark. We need to understand that first. Ingo