From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756177Ab2CASmy (ORCPT ); Thu, 1 Mar 2012 13:42:54 -0500 Received: from li9-11.members.linode.com ([67.18.176.11]:60269 "EHLO test.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754162Ab2CASmw (ORCPT ); Thu, 1 Mar 2012 13:42:52 -0500 Date: Thu, 1 Mar 2012 13:42:48 -0500 From: "Ted Ts'o" To: Jacek Luczak Cc: Chris Mason , Hillf Danton , linux-ext4@vger.kernel.org, linux-fsdevel , LKML , linux-btrfs@vger.kernel.org, lczerner@redhat.com Subject: Re: getdents - ext4 vs btrfs performance Message-ID: <20120301184248.GC32588@thunk.org> Mail-Followup-To: Ted Ts'o , Jacek Luczak , Chris Mason , Hillf Danton , linux-ext4@vger.kernel.org, linux-fsdevel , LKML , linux-btrfs@vger.kernel.org, lczerner@redhat.com References: <20120229144244.GF5054@shiny> <20120301141823.GV5054@shiny> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on test.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 01, 2012 at 03:43:41PM +0100, Jacek Luczak wrote: > > Yep, ext4 is close to my wife's closet. > Were all of the file systems freshly laid down, or was this an aged ext4 file system? Also you should beware that if you have a workload which is heavy parallel I/O, with lots of random, read/write accesses to small files, a benchmark using tar might not be representative of what you will see in production --- different file systems have different strengths and weaknesses --- and the fact that ext3/ext4's readdir() returns inodes in a non-optimal order for stat(2) or unlink(2) or file copy in the cold cache case may not matter as much as you think in a build server. (i.e., the directories that do need to be searched will probably be serviced out of the dentry cache, etc.) Regards, - Ted