From owner-freebsd-scsi@FreeBSD.ORG Fri Jun 23 23:29:17 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3919516A5B2 for ; Fri, 23 Jun 2006 23:29:17 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBDD943D45 for ; Fri, 23 Jun 2006 23:29:16 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 314363E3; Fri, 23 Jun 2006 18:29:16 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 306C361C2B; Fri, 23 Jun 2006 18:29:15 -0500 (CDT) Date: Fri, 23 Jun 2006 18:29:15 -0500 From: "Matthew D. Fuller" To: Volodymyr Kostyrko Message-ID: <20060623232915.GM83482@over-yonder.net> References: <4499B748.6040805@synergetica.dn.ua> <90D11403BD2140875BFEB24D@[10.0.0.22]> <449C0E34.3080005@synergetica.dn.ua> <5272604BA34A45926DFA0D2F@[10.0.0.22]> <449C1861.3080902@synergetica.dn.ua> <0C5F4B7D7A8779025C3E480D@[10.0.0.22]> <449C5C32.1090808@synergetica.dn.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <449C5C32.1090808@synergetica.dn.ua> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-scsi@freebsd.org Subject: Re: ahd(4) poor performance X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 23:29:17 -0000 On Sat, Jun 24, 2006 at 12:25:06AM +0300 I heard the voice of Volodymyr Kostyrko, and lo! it spake thus: > > Script: > > dd if=/dev/zero of=/dev/da0s1b count=20480& > dd if=/dev/zero of=/dev/da0s1b count=20480& [...] This seems like it would be a record-shattering worst possible case for the disk. Since there's no buffering on the raw device, each dd stomps on the sectors of all the others, and each is writing one sector at a time, so you're probably eating 8 or 10 rotations writing each sector along the way. Heck of a stress, maybe, but I'm not sure it's all that related to anything the disk will realistically do with normal load. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.