From owner-freebsd-stable@FreeBSD.ORG Tue Mar 27 14:15:56 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3279916A403 for ; Tue, 27 Mar 2007 14:15:56 +0000 (UTC) (envelope-from M.Santhoff@t-online.de) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.freebsd.org (Postfix) with ESMTP id B9DA913C448 for ; Tue, 27 Mar 2007 14:15:55 +0000 (UTC) (envelope-from M.Santhoff@t-online.de) Received: from fwd35.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1HWCDs-0003ot-01; Tue, 27 Mar 2007 16:00:28 +0200 Received: from localhost.das.netz (Vse8v4ZEQeJ+VzrGpcFYojzzuvNOMn+Oy9dPdmfJcV2zTs4sFHYFkl@[217.251.164.20]) by fwd35.sul.t-online.de with esmtp id 1HWCDW-1DSY6q0; Tue, 27 Mar 2007 16:00:06 +0200 Received: from zaphod.das.netz (zaphod.das.netz [10.0.0.3]) by localhost.das.netz (8.13.1/8.13.1) with ESMTP id l2RDurIb012678; Tue, 27 Mar 2007 15:56:53 +0200 (CEST) (envelope-from M.Santhoff@t-online.de) From: Marc Santhoff To: Stephen.Clark@seclark.us In-Reply-To: <460914EB.4010804@seclark.us> References: <200603010505.k2155HfQ003205@aldan.algebra.com> <44054C5E.5070902@deepcore.dk> <200603011107.09942@aldan> <200703261436.28659@aldan> <1174980137.336.5.camel@localhost.das.netz> <460914EB.4010804@seclark.us> Content-Type: text/plain Date: Tue, 27 Mar 2007 16:00:15 +0200 Message-Id: <1175004015.336.33.camel@localhost.das.netz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ID: Vse8v4ZEQeJ+VzrGpcFYojzzuvNOMn+Oy9dPdmfJcV2zTs4sFHYFkl X-TOI-MSGID: 6d30a13c-a4ee-4211-85f0-80b70fa36737 Cc: freebsd-stable@freebsd.org Subject: Re: pitiful performance of an SATA150 drive X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 14:15:56 -0000 Am Dienstag, den 27.03.2007, 08:58 -0400 schrieb Stephen Clark: > Marc Santhoff wrote: > > >Am Montag, den 26.03.2007, 14:36 -0400 schrieb Mikhail Teterin: > > > > > >>Over a year later this remains a problem -- exactly as described below... > >> > >>No other SATA devices are present -- the only other IDE device is the DVD > >>drive. My main disks are SCSI. > >> > >>What's MUCH worse is that the (slowly) written data is also often corrupted... > >>I use the drive to store our vast collection of photos and the backups. Every > >>once in a while I encounter a corrupt JPEG file, and the backups are _always_ > >>corrupt somewhere. Doing something like: > >> > >> dump 0auChf 16 0 - /home | bzip2 -9 > /store/home.0.bz2 > >> > >>always produces a corrupt file (as per ``bzip2 -t''). I used to blame the > >>drive's temperature, but it now sits in its own enclosure and stays under 40 > >>Celsius. > >> > >>When the drive is accessed, there are (according to `systat -vm') many > >>thousands of interrupts 17 -- on my system these are shared between pcm0 and > >>ehci0. Why are these triggered by accessing SATA is unclear, but the Intr's > >>share of the CPU time is often above 80% of one processor's total (I have 4 > >>processors). > >> > >>As I mentioned a year ago, Knoppix was accessing the same drive at much higher > >>speeds, so I don't believe, the problem is with the hardware... > >> > >>Please, advise. Thanks! > >> > >> > > > >FWIW: You could try cleaning the connectors and use a fresh new cable > >for the connection (the spec has a very small value for plugging the > >connectors at the cable). > > > > > Are you referring to how many time the cable can be plugged in and > removed? If so Yes, sorry for my lousy english ... > what is the number? I don't remember the exakt count but it has only two digits. Expect 15 or 50 or so. But IIRC this was SATA 1 and may have changed with SATA 2 having a locking clip at the plug. Marc