From: Andi Kleen Subject: Re: very poor ext3 write performance on big filesystems? Date: Mon, 18 Feb 2008 15:03:44 +0100 Message-ID: References: <47B980AC.2080806@wpkg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: LKML , LKML To: Tomasz Chmielewski Return-path: Received: from ns.suse.de ([195.135.220.2]:50127 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbYBRODp (ORCPT ); Mon, 18 Feb 2008 09:03:45 -0500 In-Reply-To: <47B980AC.2080806@wpkg.org> (Tomasz Chmielewski's message of "Mon\, 18 Feb 2008 13\:57\:16 +0100") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Tomasz Chmielewski writes: > > Is it normal to expect the write speed go down to only few dozens of > kilobytes/s? Is it because of that many seeks? Can it be somehow > optimized? I have similar problems on my linux source partition which also has a lot of hard linked files (although probably not quite as many as you do). It seems like hard linking prevents some of the heuristics ext* uses to generate non fragmented disk layouts and the resulting seeking makes things slow. What has helped a bit was to recreate the file system with -O^dir_index dir_index seems to cause more seeks. Also keeping enough free space is also a good idea because that allows the file system code better choices on where to place data. -Andi