From owner-freebsd-performance@FreeBSD.ORG Wed May 6 17:16:20 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F306106566C; Wed, 6 May 2009 17:16:20 +0000 (UTC) (envelope-from benjamin@seattlefenix.net) Received: from mx1.seattlefenix.net (mx1.seattlefenix.net [208.75.57.33]) by mx1.freebsd.org (Postfix) with ESMTP id 73CA88FC14; Wed, 6 May 2009 17:16:20 +0000 (UTC) (envelope-from benjamin@seattlefenix.net) Received: from [10.0.0.228] (unknown [64.81.172.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.seattlefenix.net (Postfix) with ESMTPSA id 5E9633F69D; Wed, 6 May 2009 10:00:10 -0700 (PDT) Message-ID: <4A01C202.8080803@seattlefenix.net> Date: Wed, 06 May 2009 09:59:46 -0700 From: Benjamin Krueger User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Wojciech Puchar References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org, Olivier Mueller , Bill Moran , freebsd-questions@freebsd.org Subject: Re: filesystem: 12h to delete 32GB of data X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 17:16:21 -0000 Wojciech Puchar wrote: >> means you had 6 million files. df -i would have been more useful in > > >> the output above. >> >> This brings a number of questions up: >> * Are you _sure_ softupdates is enabled on that partition? That's > > he showed mount output - he has softdeps on. > >> * Are these 7200RPM disks or 15,000? Again, going to make a big >> difference. > > on 7200 RPM ordinary SATA disk i deleted 15 million files taking 300GB > (squid cache) in less than 30 minutes. > > for sure it's because of his "hardware raid". > > i've NEVER seen "hardware raid" that is actually faster than non-raid > config, or gmirror/gstripe config. > > usually it's far much slower Sorry, but my experience with that very server using a P400 controller with 256MB write cache is very different. My benchmarks showed that controller using Raid5 (with only 4 disks) is significantly faster than software layouts. The days when hardware controllers could automatically be considered slow are long gone. The hardware does get faster over time. Don't make any assumptions without doing benchmarks.