Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261875AbUADTUe (ORCPT ); Sun, 4 Jan 2004 14:20:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262126AbUADTUa (ORCPT ); Sun, 4 Jan 2004 14:20:30 -0500 Received: from x35.xmailserver.org ([69.30.125.51]:35463 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id S261875AbUADTU3 (ORCPT ); Sun, 4 Jan 2004 14:20:29 -0500 X-AuthUser: davidel@xmailserver.org Date: Sun, 4 Jan 2004 11:20:29 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@bigblue.dev.mdolabs.com To: Ingo Oeser cc: Jamie Lokier , Bill Davidsen , Manfred Spraul , , Linux Kernel Mailing List Subject: Re: [RFC,PATCH] use rcu for fasync_lock In-Reply-To: <200401042002.03684.ioe-lkml@rameria.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1402 Lines: 32 On Sun, 4 Jan 2004, Ingo Oeser wrote: > > The impression I had was that the code is quite complicated and > > invasive, and select/poll aren't considered worth optimising because > > epoll is an overall better solution (which is true; optimising > > select/poll would change the complexity of the slow part but not > > reduce the complexity of the API part, while epoll does both). > > This is true. But old software continues to exist and for INN there is > pretty much nothing else in this category available, I've been told by > several admins. Nobody really likes it, but it is used and improved > where necessary (epoll might be on the list already). The problem with poll/select is not the Linux implementation. It is the API that is flawed when applied to large fd sets. Every call pass to the system the whole fd set, and this makes the API O(N) by definition. While poll/select are perfectly ok for small fd sets, epoll LT might enable the application to migrate from poll/select to epoll pretty quickly (if the application architecture is fairly sane). For example, it took about 15 minutes to me to make an epoll'd thttpd. - Davide - 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/