From owner-freebsd-questions@FreeBSD.ORG Wed Mar 5 22:42:32 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 11F791065677 for ; Wed, 5 Mar 2008 22:42:32 +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 7E4FE8FC19 for ; Wed, 5 Mar 2008 22:42:26 +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 m25LtafI014064 for ; Wed, 5 Mar 2008 13:55:36 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.greatschools.net (Postfix) with ESMTP id AD1C3B34002 for ; Wed, 5 Mar 2008 13:55:36 -0800 (PST) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.314 X-Spam-Level: X-Spam-Status: No, score=-4.314 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.085, 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 xCLD6HTYuQh7 for ; Wed, 5 Mar 2008 13:55:36 -0800 (PST) Received: from [198.144.205.132] (dh1.office.greatschools.net [198.144.205.132]) by zimbra.greatschools.net (Postfix) with ESMTP id 1F167B34001 for ; Wed, 5 Mar 2008 13:55:36 -0800 (PST) From: Dane Miller To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 05 Mar 2008 13:54:14 -0800 Message-Id: <1204754054.13794.34.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: 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: Wed, 05 Mar 2008 22:42:32 -0000 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 -- Dane Miller Systems Administrator Greatschools, Inc http://www.greatschools.net