From owner-freebsd-hardware@FreeBSD.ORG Fri Oct 28 22:41:36 2005 Return-Path: X-Original-To: hardware@freebsd.org Delivered-To: freebsd-hardware@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41D6E16A420; Fri, 28 Oct 2005 22:41:36 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from blue.virtual-estates.net (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 736D043D45; Fri, 28 Oct 2005 22:41:35 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by blue.virtual-estates.net (8.13.4/8.13.4) with ESMTP id j9SMfX6m075523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Oct 2005 18:41:34 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (195-11.customer.cloud9.net [168.100.195.11]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id j9SMfRtw007143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Oct 2005 18:41:28 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (mteterin@localhost [127.0.0.1]) by mteterin.us.murex.com (8.13.3/8.13.3) with ESMTP id j9SMfMEW023128; Fri, 28 Oct 2005 18:41:22 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by mteterin.us.murex.com (8.13.3/8.13.3/Submit) id j9SMfJ3s023126; Fri, 28 Oct 2005 18:41:19 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: mteterin.us.murex.com: mteterin set sender to mi+mx@aldan.algebra.com using -f From: Mikhail Teterin Organization: Virtual Estates, Inc. To: =?iso-8859-1?q?S=F8ren_Schmidt?= Date: Fri, 28 Oct 2005 18:41:19 -0400 User-Agent: KMail/1.8.2 References: <200510280518.j9S5I3oQ025430@blue.virtual-estates.net> <200510281803.15734.mi+mx@aldan.algebra.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200510281841.19751.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV devel-20050525/1149/Thu Oct 27 16:20:09 2005 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: Peter Jeremy , hackers@freebsd.org, hardware@freebsd.org Subject: Re: Very slow writing to SATA disk X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 22:41:36 -0000 > Look in smartmontools I provided patches for that, its not rocket   > science you know... This attitude -- on top of the API change itself -- is not really encouraging for ISVs, you know :-) > You need to find out what the transfer rates are for the RAW disk, ie   > by doing a dd from /dev/zero to the disk with a a resonable blocksize   > say 1M to minimize overhead. Also read speed from disk to /dev/null   > blocksize 1M would be helpfull. The read test averaged 62603828 bytes/sec over a minute or so. The write test is only 6931231 bytes/sec -- about 9 times less. While dd is running, `systat 1 -vm' reports about 110 ata-interrupts (irq 25) per second during the write test, and about 1000 during the read test. Thanks for your help. -mi