From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031109Ab2CAOSd (ORCPT ); Thu, 1 Mar 2012 09:18:33 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:36172 "EHLO rcsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753896Ab2CAOSa (ORCPT ); Thu, 1 Mar 2012 09:18:30 -0500 Date: Thu, 1 Mar 2012 09:18:23 -0500 From: Chris Mason To: Jacek Luczak Cc: 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: <20120301141823.GV5054@shiny> Mail-Followup-To: Chris Mason , Jacek Luczak , Hillf Danton , linux-ext4@vger.kernel.org, linux-fsdevel , LKML , linux-btrfs@vger.kernel.org, lczerner@redhat.com References: <20120229144244.GF5054@shiny> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090204.4F4F8533.0023,ss=1,re=0.000,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 01, 2012 at 03:03:53PM +0100, Jacek Luczak wrote: > 2012/3/1 Hillf Danton : > > On Thu, Mar 1, 2012 at 9:35 PM, Jacek Luczak wrote: > >> > >> While I was about to grab acp I've noticed seekwatcher with made my day :) > >> > >> seekwatcher run of tar cf to eliminate writes (all done on 3.2.7): > >> 1) btrfs: http://dozzie.jarowit.net/~dozzie/luczajac/tar_btrfs.png > >> 2) ext4: http://dozzie.jarowit.net/~dozzie/luczajac/tar_ext4.png > >> 3) both merged: http://dozzie.jarowit.net/~dozzie/luczajac/tar_btrfs_ext4.png Whoa, seekwatcher makes it pretty clear. > >> > >> I will send acp results soon. > >> > > Would you please take reiserfs into account? > > As of now not (lack of time) but I'm pretty close to consider XFS in > the game. Whenever I will have more time and there won't be a pressure > on giving host back to production I will redo same tests for reiserfs. > > Now I'm focused on the userspace sorting results. reiserfs should have results very similar to ext4. The directory hashing used by reiserfs is going to result in a very random read pattern. XFS will probably beat btrfs in this test. Their directory indexes reflect on disk layout very well. -chris