From owner-freebsd-stable@FreeBSD.ORG Sat Jul 24 16:51:31 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8C1910656DE for ; Sat, 24 Jul 2010 16:51:31 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id A609B8FC08 for ; Sat, 24 Jul 2010 16:51:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id D883D50B7A for ; Sat, 24 Jul 2010 17:13:08 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zo8xY0Y1x44s for ; Sat, 24 Jul 2010 17:13:07 +0100 (BST) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id B1FA350A93 for ; Sat, 24 Jul 2010 17:13:07 +0100 (BST) Message-ID: <4C4B1106.8070402@langille.org> Date: Sat, 24 Jul 2010 12:12:54 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4C47B57F.5020309@langille.org> <4C47E610.2040409@langille.org> <4C47EC47.5090000@yandex.ru> <4C47ED09.7020808@langille.org> <4C47F4F1.8030804@langille.org> <4C47FD18.7030002@langille.org> In-Reply-To: <4C47FD18.7030002@langille.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Using GTP and glabel for ZFS arrays 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: Sat, 24 Jul 2010 16:51:32 -0000 On 7/22/2010 4:11 AM, Dan Langille wrote: > On 7/22/2010 4:03 AM, Charles Sprickman wrote: >> On Thu, 22 Jul 2010, Dan Langille wrote: >> >>> On 7/22/2010 3:30 AM, Charles Sprickman wrote: >>>> On Thu, 22 Jul 2010, Dan Langille wrote: >>>> >>>>> On 7/22/2010 2:59 AM, Andrey V. Elsukov wrote: >>>>>> On 22.07.2010 10:32, Dan Langille wrote: >>>>>>> I'm not sure of the criteria, but this is what I'm running: >>>>>>> >>>>>>> atapci0: port 0xdc00-0xdc0f mem >>>>>>> 0xfbeffc00-0xfbeffc7f,0xfbef0000-0xfbef7fff irq 17 at device 4.0 on >>>>>>> pci7 >>>>>>> >>>>>>> atapci1: port 0xac00-0xac0f mem >>>>>>> 0xfbbffc00-0xfbbffc7f,0xfbbf0000-0xfbbf7fff irq 19 at device 4.0 on >>>>>>> pci3 >>>>>>> >>>>>>> I added ahci_load="YES" to loader.conf and rebooted. Now I see: >>>>>> >>>>>> You can add siis_load="YES" to loader.conf for SiI 3124. >>>>> >>>>> Ahh, thank you. >>>>> >>>>> I'm afraid to do that now, before I label my ZFS drives for fear that >>>>> the ZFS array will be messed up. But I do plan to do that for the >>>>> system after my plan is implemented. Thank you. :) >>>> >>>> You may even get hotplug support if you're lucky. :) >>>> >>>> I just built a box and gave it a spin with the "old" ata stuff and then >>>> with the "new" (AHCI) stuff. It does perform a bit better and my BIOS >>>> claims it supports hotplug with ahci enabled as well... Still have to >>>> test that. >>> >>> Well, I don't have anything to support hotplug. All my stuff is >>> internal. >>> >>> http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs430.ash1/23778_106837706002537_100000289239443_171753_3508473_n.jpg >>> >>> >> >> The frankenbox I'm testing on is a retrofitted 1U (it had a scsi >> backplane, now has none). >> >> I am not certain, but I think with 8.1 (which it's running) and all the >> cam integration stuff, hotplug is possible. Is a special backplane >> required? I seriously don't know... I'm going to give it a shot though. >> >> Oh, you also might get NCQ. Try: >> >> [root@h21 /tmp]# camcontrol tags ada0 >> (pass0:ahcich0:0:0:0): device openings: 32 > > # camcontrol tags ada0 > (pass0:siisch2:0:0:0): device openings: 31 > > resending with this: > > ada{0..4} give the above. > > # camcontrol tags ada5 > (pass5:ahcich0:0:0:0): device openings: 32 > > That's part of the gmirror array for the OS, along with ad6 which has > similar output. > > And again with this output from one of the ZFS drives: > > # camcontrol identify ada0 > pass0: ATA-8 SATA 2.x device > pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > > protocol ATA/ATAPI-8 SATA 2.x > device model Hitachi HDS722020ALA330 > firmware revision JKAOA28A > serial number JK1130YAH531ST > WWN 5000cca221d068d5 > cylinders 16383 > heads 16 > sectors/track 63 > sector size logical 512, physical 512, offset 0 > LBA supported 268435455 sectors > LBA48 supported 3907029168 sectors > PIO supported PIO4 > DMA supported WDMA2 UDMA6 > media RPM 7200 > > Feature Support Enable Value Vendor > read ahead yes yes > write cache yes yes > flush cache yes yes > overlap no > Tagged Command Queuing (TCQ) no no > Native Command Queuing (NCQ) yes 32 tags > SMART yes yes > microcode download yes yes > security yes no > power management yes yes > advanced power management yes no 0/0x00 > automatic acoustic management yes no 254/0xFE 128/0x80 > media status notification no no > power-up in Standby yes no > write-read-verify no no 0/0x0 > unload no no > free-fall no no > data set management (TRIM) no Does this support NCQ? -- Dan Langille - http://langille.org/