Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933795AbXBZIYe (ORCPT ); Mon, 26 Feb 2007 03:24:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933796AbXBZIYd (ORCPT ); Mon, 26 Feb 2007 03:24:33 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:55569 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933795AbXBZIYc (ORCPT ); Mon, 26 Feb 2007 03:24:32 -0500 Date: Mon, 26 Feb 2007 09:16:56 +0100 From: Ingo Molnar To: Davide Libenzi Cc: Evgeniy Polyakov , Linux Kernel Mailing List , Linus Torvalds , Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , Ulrich Drepper , Zach Brown , "David S. Miller" , Suparna Bhattacharya , Jens Axboe , Thomas Gleixner Subject: Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3 Message-ID: <20070226081655.GA25280@elte.hu> References: <20070225172337.GB4998@elte.hu> <20070225174438.GA13647@2ka.mipt.ru> <20070225175437.GA9480@elte.hu> <20070225182135.GB29821@2ka.mipt.ru> <20070225182230.GA3622@elte.hu> <20070225183743.GD29821@2ka.mipt.ru> <20070225192112.GA15681@elte.hu> <20070225194645.GB1353@2ka.mipt.ru> <20070225195308.GC15681@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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.1.7 -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 Content-Length: 938 Lines: 30 * Davide Libenzi wrote: > Also, the evtest_kevent_remove call is superfluous with epoll. it's only used in the error path AFAICS. but you are right about evserver_epoll/kevent.c incorrectly assuming that things wont block in evtest_callback_client(), which, after receiving the "there's stuff on the input socket" event does: recvmsg(sock), fd = open(); sendfile(sock, fd) close(fd); while evserver_threadlet.c, even this naive implementation, does not assume that we wont block in that function. > In any case, comparing epoll/kevent with 100K active sessions, against > threadlets, is not exactly a fair/appropriate test for it. fully agreed. Ingo - 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/