Received: with ECARTIS (v1.0.0; list xfs); Fri, 18 Jan 2008 07:39:36 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham 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 m0IFdUIT022363 for ; Fri, 18 Jan 2008 07:39:33 -0800 X-ASG-Debug-ID: 1200670789-2e9b00ed0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from lucidpixels.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D21B9535365 for ; Fri, 18 Jan 2008 07:39:49 -0800 (PST) Received: from lucidpixels.com (lucidpixels.com [75.144.35.66]) by cuda.sgi.com with ESMTP id Bt2Eh1jmL8g8tjeK for ; Fri, 18 Jan 2008 07:39:49 -0800 (PST) Received: by lucidpixels.com (Postfix, from userid 1001) id DC5B11C005C69; Fri, 18 Jan 2008 10:39:16 -0500 (EST) Date: Fri, 18 Jan 2008 10:39:16 -0500 (EST) From: Justin Piszcz X-X-Sender: jpiszcz@p34.internal.lan To: Greg Cormier cc: linux-raid@vger.kernel.org, xfs@oss.sgi.com, Alan Piszcz X-ASG-Orig-Subj: Re: Linux Software RAID 5 + XFS Multi-Benchmarks / 10 Raptors Again Subject: Re: Linux Software RAID 5 + XFS Multi-Benchmarks / 10 Raptors Again In-Reply-To: <29a863790801180735n379a27f1t4987686b2ec1aa50@mail.gmail.com> Message-ID: References: <29a863790801180735n379a27f1t4987686b2ec1aa50@mail.gmail.com> User-Agent: Alpine 0.999999 (DEB 847 2007-12-06) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Barracuda-Connect: lucidpixels.com[75.144.35.66] X-Barracuda-Start-Time: 1200670789 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=3.0 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.39802 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/5494/Fri Jan 18 06:23:47 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 14182 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: jpiszcz@lucidpixels.com Precedence: bulk X-list: xfs On Fri, 18 Jan 2008, Greg Cormier wrote: > Justin, thanks for the script. Here's my results. I ran it a few times > with different tests, hence the small number of results you see here, > I slowly trimmed out the obvious not-ideal sizes. Nice, we all love benchmarks!! :) > > System > --- > Athlon64 3500 > 2GB RAM > 4x500GB WD Raid editions, raid 5. SDE is the old 4-platter version > (5000YS), the others are the 3 platter version. Faster :-) Ok. > > /dev/sdb: > Timing buffered disk reads: 240 MB in 3.00 seconds = 79.91 MB/sec > /dev/sdc: > Timing buffered disk reads: 248 MB in 3.01 seconds = 82.36 MB/sec > /dev/sdd: > Timing buffered disk reads: 248 MB in 3.02 seconds = 82.22 MB/sec > /dev/sde: (older model, 4 platters instead of 3) > Timing buffered disk reads: 210 MB in 3.01 seconds = 69.87 MB/sec > /dev/md3: > Timing buffered disk reads: 628 MB in 3.00 seconds = 209.09 MB/sec > > > Testing > --- > Test was : dd if=/dev/zero of=/r1/bigfile bs=1M count=10240; sync > 64-chunka.txt:2:00.63 > 128-chunka.txt:2:00.20 > 256-chunka.txt:2:01.67 > 512-chunka.txt:2:19.90 > 1024-chunka.txt:2:59.32 For your configuration, a 64-256k chunk seems optimal for this, hypothetical benchmark :) > > > Test was : Unraring multipart RAR's, 1.2 gigabytes. Source and dest > drive were the raid array. > 64-chunkc.txt:1:04.20 > 128-chunkc.txt:0:49.37 > 256-chunkc.txt:0:48.88 > 512-chunkc.txt:0:41.20 > 1024-chunkc.txt:0:40.82 1 meg looks like its the best, which is what I use today, 1 MiB chunk offers the best peformance by far, at least with all of my testing (with big files) such as the tests you performed. > > > > So, there's a toss up between 256 and 512. Yeah for DD performance, not real-life. > If I'm interpreting > correctly here, raw throughput is better with 256, but 512 seems to > work better with real-world stuff? Look above, 1 MiB got you the fastest unrar time. > I'll try to think up another test > or two perhaps, and removing 64 as one of the possible options to save > time (mke2fs takes a while on 1.5TB) Also, don't use ext*, XFS can be up to 2-3x faster (in many of the benchmarks). > > Next step will be playing with read aheads and stripe cache sizes I > guess! I'm open to any comments/suggestions you guys have! > > Greg >