Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755773AbXFDOYe (ORCPT ); Mon, 4 Jun 2007 10:24:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752201AbXFDOY1 (ORCPT ); Mon, 4 Jun 2007 10:24:27 -0400 Received: from nz-out-0506.google.com ([64.233.162.236]:24833 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbXFDOY0 (ORCPT ); Mon, 4 Jun 2007 10:24:26 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IBdKLWT0oLjEmiE439gcurhogG20jyfl6AdXE176HNVJ84/F/ic/Tj+w+A+iQ6ILvyDIkPIjirj5Eot+SXPlCkMkwpuQhm+Wo1JnIlp0KEJg8CQ88Et5y1oGE9HVIOIoJTj1xzk95XHi6kMtlxocTrCyOk0xMtUrY7hl+YdoJsQ= Message-ID: Date: Mon, 4 Jun 2007 10:24:23 -0400 From: "Aaron Wiebe" To: "John Stoffel" Subject: Re: slow open() calls and o_nonblock Cc: "Alan Cox" , linux-kernel@vger.kernel.org In-Reply-To: <18020.7945.364135.889997@stoffel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070604144918.42354235@the-village.bc.nu> <18020.7945.364135.889997@stoffel.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 21 On 6/4/07, John Stoffel wrote: > > So how many files are in the directory where you're seeing the delays? > And what's the average size of the files in there? The directories themselves will have a maximum of 160 files, and the files are maybe a few megs each - the delays are (as you pointed out earlier) due to the ram restrictions and our filesystem design of very deep directory structures that Netapps suck at. My point is more generic though - I will come up with ways to handle this problem in my application (probably with threads), but I'm griping more about the lack of a kernel interface that would have allowed me to avoid this. -Aaron - 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/