Received: with ECARTIS (v1.0.0; list xfs); Wed, 23 Apr 2008 23:23:26 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=no version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m3O6N6dj020816 for ; Wed, 23 Apr 2008 23:23:07 -0700 X-ASG-Debug-ID: 1209018226-1b4d00ad0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from rv-out-0506.google.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A2E42DF8E5 for ; Wed, 23 Apr 2008 23:23:46 -0700 (PDT) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by cuda.sgi.com with ESMTP id qBnhPzulBcwJLDbX for ; Wed, 23 Apr 2008 23:23:46 -0700 (PDT) Received: by rv-out-0506.google.com with SMTP id g37so1450188rvb.32 for ; Wed, 23 Apr 2008 23:23:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=gK/h3oSIR1Q9Pw22nmo2y7sBRj1Y0oBwzOB0p57vNdk=; b=IEU51Nr034JzDljwgQpEzj91qe12lgTBTIWv9ZdPW+93H/TmaemfeTPqH8Nclc/7+uAhrzgA1pdHf+wsdOA9GDQGrLZmRVHGhtR3C3w3PJ04YkSWLkKmdWOKQsozQi9JeUW1FFFTc5Tf3BFY6I2o3sA36GJa8GAei9RZsBndpQk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=iHIiQeVqq9tvKzMmqtl1vjuI1KWSCqV6o70Y+7ZuyP6HM0o6/tse3fo2Uvg5P3lvq6iPhrEMVTrKnBkdOGF/5dWfJI0ykB6pywrxQv7s7xRxUkf60HiCJt6H8exkFNN2S3MjJSl30HrU3mxKORucZztngOqQ4cCy4FrALs9hYFM= Received: by 10.140.157.1 with SMTP id f1mr982307rve.220.1209018226006; Wed, 23 Apr 2008 23:23:46 -0700 (PDT) Received: by 10.140.171.3 with HTTP; Wed, 23 Apr 2008 23:23:45 -0700 (PDT) Message-ID: Date: Thu, 24 Apr 2008 02:23:45 -0400 From: "Michael Darling" To: "David Chinner" , "Eric Sandeen" , xfs@oss.sgi.com X-ASG-Orig-Subj: Re: XFS drops create/delete files to 6.6% of EXT3 (software raid) and to 0.6% of EXT3 (3ware hardware raid) Subject: Re: XFS drops create/delete files to 6.6% of EXT3 (software raid) and to 0.6% of EXT3 (3ware hardware raid) In-Reply-To: <20080424053358.GW103491721@sgi.com> MIME-Version: 1.0 References: <4810062F.50100@sandeen.net> <20080424053358.GW103491721@sgi.com> X-Barracuda-Connect: rv-out-0506.google.com[209.85.198.230] X-Barracuda-Start-Time: 1209018228 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.48674 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message X-Virus-Scanned: ClamAV 0.91.2/6021/Wed Feb 27 15:55:48 2008 on oss.sgi.com X-Virus-Status: Clean Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-length: 2211 X-archive-position: 15570 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: darlingm@gmail.com Precedence: bulk X-list: xfs Eric, for the numbers you provided, are you using a single drive, software raid, or hardware raid? If a hardware raid, is it a 3ware card? I hadn't seen the nobarrier mount option before. Using that changes sequential creates from about 190/second to about 2500/second, and changes sequential deletes from about 170/second to about 3700/second. I don't yet have a BBU for the 3ware card, but would certainly get one if we go with the 3ware card before we start putting real data on the raid. Am I right that with a BBU unit and a battery backup for the server as a whole, that nobarrier would be safe to use? Not using nobarrier, but using logbsize 256k changes sequential creates from about 190/second to about 270/second. So, it's an improvement, but no where near where a software raid performs (1600/second) or where the hardware raid performs with nobarrier. On Thu, Apr 24, 2008 at 1:33 AM, David Chinner wrote: > On Wed, Apr 23, 2008 at 11:01:51PM -0500, Eric Sandeen wrote: > > Michael Darling wrote: > > > I am preparing a new server, and benchmarking EXT3 against XFS, both > using > > > software RAID and hardware RAID using a 3ware 9650SE-4LPML. > > > > > > Using bonnie++ as a benchmark, I am seeing significant performance > boosts in > > > my block sequential reads and writes moving from EXT3 to XFS. I am > aware > > > that XFS won't create and delete files as quickly as EXT3, however I > am > > > seeing drops from 29455/second to 1957/second using software RAID, and > from > > > 32524/second to 189/second using hardware RAID. I'm not sure if when > using > > > software raid, if creating and deleting files should drop to 6.6% of > EXT3. > > > But, what I'm pretty sure of, is when using hardware raid, that > creating and > > > deleting files shouldn't drop to 0.6% of EXT3. > > > > So I played with this a little on 2.6.25, on plain partitions. > > > > I saw similar numbers; for example, sequential creates: > > > > ext3: 23698/s > > xfs: 319/s > > xfs,nobarrier: 4478/s > > And with logbsize=256k? > > Cheers, > > Dave. > -- > Dave Chinner > Principal Engineer > SGI Australian Software Group > [[HTML alternate version deleted]]