Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933391Ab0LUBHh (ORCPT ); Mon, 20 Dec 2010 20:07:37 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:59486 "EHLO mail-bw0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757560Ab0LUBHg (ORCPT ); Mon, 20 Dec 2010 20:07:36 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=LGUjye/xbFi8OJuonSF7VYIqtqwl167wGo/IbRPKMZQ1JnqOx5RwHbARqfGYYmInzK fcOiAdEOddwT03MrnjCnnAA5VK9fwcczcMeRBX+dP9E0QUaG5AiM+LXNlLHPS52HWDI7 Bx4c3Y3NC9Dtug6BEDtHLArxUsJ/CM0Px5cqg= MIME-Version: 1.0 In-Reply-To: <20101220222446.GA8629@hexapodia.org> References: <20101220222446.GA8629@hexapodia.org> Date: Tue, 21 Dec 2010 03:07:33 +0200 Message-ID: Subject: Re: btrfs: 21 minutes to read 1.2M file directory From: Felipe Contreras To: Andy Isaacson Cc: linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 17 On Tue, Dec 21, 2010 at 12:24 AM, Andy Isaacson wrote: > I have a directory with 1.2M files in it, which makes readdir very slow > on btrfs with cold caches (although it's reasonably fast with hot caches > as in the first example below): Sounds like: Bug 21562 - btrfs is dead slow due to fragmentation https://bugzilla.kernel.org/show_bug.cgi?id=21562 -- Felipe Contreras -- 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/