From owner-freebsd-questions@FreeBSD.ORG Sun Jul 23 06:34:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DFC916A4DF for ; Sun, 23 Jul 2006 06:34:52 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id D57EA43D45 for ; Sun, 23 Jul 2006 06:34:50 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1921370uge for ; Sat, 22 Jul 2006 23:34:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t6+ybQQRtQTXDjwT0h04X5aoqrEWc3V85qBg/oAU19hu7ZNHuR6KBI9fsB12fJ/1GcYFk97/tyoEG86ZShfz22vCBAKIjChQfxdX/cHN9Vn3hOevNqDk7v51vaSPmWAOxVQN749GWQv6UsFKZQSxduInPusIKwaAbwjzwh2bkd8= Received: by 10.78.177.11 with SMTP id z11mr1016934hue; Sat, 22 Jul 2006 23:34:49 -0700 (PDT) Received: by 10.78.143.13 with HTTP; Sat, 22 Jul 2006 23:34:49 -0700 (PDT) Message-ID: Date: Sun, 23 Jul 2006 01:34:49 -0500 From: "Nikolas Britton" To: "Richard Collyer" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44C26B7A.30200@firebadger.net> <44C27E7B.3070103@firebadger.net> Cc: freebsd-questions@freebsd.org Subject: Re: Slow Write Performance on 3ware controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2006 06:34:52 -0000 On 7/23/06, Nikolas Britton wrote: > On 7/22/06, Richard Collyer wrote: > > Completely ignore me. Write caching wasnt turned on. > > > > Even with write caching off you should be able to hit 50MB/s... did I > missing something? Try running 'diskinfo -t /dev/diskname'. For > refrence here are the numbers from my single 400GB Seagate ST3400832AS > drive, if you can't bet it then something is wrong with your setup: > > > diskinfo -t /dev/ad4 > /dev/ad4 > 512 # sectorsize > 400088457216 # mediasize in bytes (373G) > 781422768 # mediasize in sectors > 775221 # Cylinders according to firmware. > 16 # Heads according to firmware. > 63 # Sectors according to firmware. > > Seek times: > Full stroke: 250 iter in 5.844998 sec = 23.380 msec > Half stroke: 250 iter in 4.558075 sec = 18.232 msec > Quarter stroke: 500 iter in 7.147166 sec = 14.294 msec > Short forward: 400 iter in 2.253667 sec = 5.634 msec > Short backward: 400 iter in 2.013481 sec = 5.034 msec > Seq outer: 2048 iter in 0.332809 sec = 0.163 msec > Seq inner: 2048 iter in 0.349674 sec = 0.171 msec > Transfer rates: > outside: 102400 kbytes in 1.503943 sec = 68088 kbytes/sec > middle: 102400 kbytes in 1.688924 sec = 60630 kbytes/sec > inside: 102400 kbytes in 3.021035 sec = 33896 kbytes/sec > To test write speed use dd: 'dd if=/dev/zero of=testfile bs=4m' ^C128+0 records in 127+0 records out 532676608 bytes transferred in 10.840476 secs (49137752 bytes/sec) 46.87MB/s. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/