From owner-freebsd-questions@FreeBSD.ORG Fri Mar 7 00:13:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 864EE106566C for ; Fri, 7 Mar 2008 00:13:17 +0000 (UTC) (envelope-from dane@greatschools.net) Received: from mx.greatschools.net (mx.greatschools.net [198.144.205.131]) by mx1.freebsd.org (Postfix) with ESMTP id 5B3208FC18 for ; Fri, 7 Mar 2008 00:13:17 +0000 (UTC) (envelope-from dane@greatschools.net) Received: from zimbra.greatschools.net (zimbra.greatschools.net [198.144.205.155]) by mx.greatschools.net (8.13.1/8.13.1) with ESMTP id m270DGeY016280 for ; Thu, 6 Mar 2008 16:13:16 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.greatschools.net (Postfix) with ESMTP id 4F19CB34004 for ; Thu, 6 Mar 2008 16:13:15 -0800 (PST) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.293 X-Spam-Level: X-Spam-Status: No, score=-4.293 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.106, BAYES_00=-2.599] Received: from zimbra.greatschools.net ([127.0.0.1]) by localhost (zimbra.greatschools.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ioBrlM1XhLhH for ; Thu, 6 Mar 2008 16:13:14 -0800 (PST) Received: from [198.144.205.132] (dh1.office.greatschools.net [198.144.205.132]) by zimbra.greatschools.net (Postfix) with ESMTP id 21053B34002 for ; Thu, 6 Mar 2008 16:13:13 -0800 (PST) From: Dane Miller To: freebsd-questions@freebsd.org In-Reply-To: <1204754054.13794.34.camel@danedesk.greatschools.net> References: <1204754054.13794.34.camel@danedesk.greatschools.net> Content-Type: text/plain Date: Thu, 06 Mar 2008 16:11:43 -0800 Message-Id: <1204848703.19550.4.camel@danedesk.greatschools.net> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAQ= X-Whitelist: TRUE Subject: Re: sata slave on intel ICH7 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: Fri, 07 Mar 2008 00:13:17 -0000 Anyone have thoughts on this? If I'm missing salient details or posting to the wrong list, please point me in the right direction. On Wed, 2008-03-05 at 13:54 -0800, Dane Miller wrote: > Hi, > > FreeBSD 6.3-RELEASE detects one of my three SATA disks as "ata2-slave". > I thought SATA did away with the master/slave ugliness of PATA. > > Thinking maybe this was misleading output from FreeBSD, I did some > concurrent writes using dd. Sure enough, I see poor performance on > concurrent writes to ad4 and ad5 (ata2-master and ata2-slave), while I > see good performance on concurrent writes to ad4 and ad6 (ata2-master, > ata3-master). I can provide more details on the write tests I > performed, but I'm more interested in *why* FreeBSD detects one of my > SATA disks as a slave... > > Here are some details: > > 6.3-RELEASE FreeBSD 6.3-RELEASE #0 i386 > Motherboard: Intel S3000AH > BIOS: SATA Mode is set to "Enhanced" (as opposed to "Legacy") > > # atacontrol list > ATA channel 0: > Master: no device present > Slave: no device present > ATA channel 1: > Master: no device present > Slave: no device present > ATA channel 2: > Master: ad4 Serial ATA II > Slave: ad5 Serial ATA II > ATA channel 3: > Master: ad6 Serial ATA II > Slave: no device present > > # grep -i ata /var/run/dmesg.boot > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf irq 18 at device 31.1 > on pci0 > ata0: on atapci0 > ata1: on atapci0 > atapci1: port > 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af > mem 0x88200000-0x882003ff irq 19 at device 31.2 on pci0 > ata2: on atapci1 > ata3: on atapci1 > ad4: 238475MB at ata2-master SATA150 > ad5: 238475MB at ata2-slave SATA150 > ad6: 238475MB at ata3-master SATA150 > > Any guidance on this would be greatly appreciated. Thanks, > Dane >