From owner-freebsd-performance@FreeBSD.ORG Mon May 2 13:23:01 2005 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D6016A4CE for ; Mon, 2 May 2005 13:23:01 +0000 (GMT) Received: from critter.freebsd.dk (0x535c0e2a.sgnxx1.adsl-dhcp.tele.dk [83.92.14.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E98A843D4C for ; Mon, 2 May 2005 13:23:00 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.3) with ESMTP id j42DMwKh017480; Mon, 2 May 2005 15:22:58 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Eric Anderson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 02 May 2005 08:16:12 CDT." <4276281C.6060209@centtech.com> Date: Mon, 02 May 2005 15:22:58 +0200 Message-ID: <17479.1115040178@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-performance@freebsd.org Subject: Re: Very low disk performance on 5.x X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 13:23:01 -0000 In message <4276281C.6060209@centtech.com>, Eric Anderson writes: >Poul-Henning Kamp wrote: >> In message <427626DC.5030702@centtech.com>, Eric Anderson writes: >> >> >>>Don't mean to be terse here, but I'm talking about the same test done an >>>two different RAID5 configurations, with different disks, and not just >>>me - other users in this very thread see the same issue.. >> >> >> Uhm, if you are using RAID5 and your requests are not aligned and >> sized after the RAID5 you should *expect* read performance to be poor. >> >> If you your request ends up accessing two different blocks even just >> once per stripe, this totally kills performance. > >Wouldn't this be a problem for writes then too? I presume you would only compare read to write performance on a RAID5 device which has battery backed cache. Without a battery backed cache (or pretending to have one) RAID5 write performance is abysmall no matter which alignment you use. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.