Re: btrfs: 21 minutes to read 1.2M file directory

From: Felipe Contreras
Date: Mon Dec 20 2010 - 20:07:41 EST


On Tue, Dec 21, 2010 at 12:24 AM, Andy Isaacson <adi@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/