From owner-freebsd-hardware@FreeBSD.ORG Fri Oct 28 22:03:31 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 C125316A41F; Fri, 28 Oct 2005 22:03:31 +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 F152A43D46; Fri, 28 Oct 2005 22:03:30 +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 j9SM3Te6075423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Oct 2005 18:03:30 -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 j9SM3NEP006782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Oct 2005 18:03:24 -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 j9SM3Ih3022417; Fri, 28 Oct 2005 18:03:18 -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 j9SM3Fu5022415; Fri, 28 Oct 2005 18:03:15 -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:03:15 -0400 User-Agent: KMail/1.8.2 References: <200510280518.j9S5I3oQ025430@blue.virtual-estates.net> <200510281745.43138.mi+mx@aldan.algebra.com> <2835B7B9-03AA-4EB2-996B-8CEC485071C6@FreeBSD.ORG> In-Reply-To: <2835B7B9-03AA-4EB2-996B-8CEC485071C6@FreeBSD.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200510281803.15734.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:03:31 -0000 > Ask the maintainer to get it [ataidle -mi] fixed, but be warned experience > says it might hose your data... The maintainer did not break it. An incompatible change to the API did :) You are, probably, in the best position to show us, how the new API should be used. > Now, you say read speed is OK, but write speed isnt, is that on the   > raw disk device or though the filesystem ? Everething is through the filesystem -- as stated in my original e-mail in this thread. There is no other activity, when a single cp reads the huge file from a SCSI disk (da1) to the IDE (ad8). According to `systat -vm', da1 is barely breaking a sweat, while ad8 is at 99-101% throughput at 7Mb/second. Soft-updates are on. The filesystem is almost empty. The box has a single dual-core Opteron-275 with 2Gb of RAM. The SATA controller is your "favorite": atapci1: port 0xac00-0xac07,0xa480-0xa483,0xa400-0xa407,0xa080-0xa083,0xa000-0xa00f mem 0 xbe6fbc00-0xbe6fbfff irq 25 at device 5.0 on pci3 -mi