From owner-freebsd-current@FreeBSD.ORG Thu Jul 8 09:46:49 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 181A61065679 for ; Thu, 8 Jul 2010 09:46:49 +0000 (UTC) (envelope-from jack@st.rim.or.jp) Received: from brasilia.mbos.jp (mbos141-212.alpenstock.jp [220.156.141.212]) by mx1.freebsd.org (Postfix) with ESMTP id BE9F68FC1A for ; Thu, 8 Jul 2010 09:46:48 +0000 (UTC) Received: from [172.16.30.34] ([172.16.30.34]) by brasilia.mbos.jp ([172.16.30.52]) with ESMTP id 2010070818:26:44:247376.815.2965859216 for ; Thu, 08 Jul 2010 18:26:44 +0900 (JST) Received: (qmail 24874 invoked from network); 8 Jul 2010 18:26:44 +0900 Received: from pl613.nas93c.p-tokyo.nttpc.ne.jp (HELO artemis) ([124.154.16.229]) (envelope-sender ) by ankara.mbos (qmail-ldap-1.03) with SMTP for ; 8 Jul 2010 18:26:44 +0900 Message-ID: <08155CA4655C4E16A5437E03906D3515@ad.peach.ne.jp> From: "Daisuke Aoyama" To: "Martin Matuska" , References: <4C31C71C.2010606@FreeBSD.org> In-Reply-To: <4C31C71C.2010606@FreeBSD.org> Date: Thu, 8 Jul 2010 18:26:40 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1250"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-TERRACE-SPAMMARK: NOT spam-marked. (by Terrace) Cc: Subject: Re: [CFT] ZFS v15 patch (version 3) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 09:46:49 -0000 Hi, Martin Matuska wrote: > For people just wanting to try the new features, I am providing mfsBSD > ISO's with ZFS-on-root install (don't forget the -V 15 flag to the > "zfsinstall" command): > http://mfsbsd.vx.sk/iso/8.1rc2-zfsv15-v3.iso (without symbols, 99 MB) > http://mfsbsd.vx.sk/iso/8.1rc2-zfsv15-v3-debug.iso (with symbols, 188 MB) I'm very interested in ZFS v15. So, I made isboot integrated version. It provides to install it to an iSCSI target directly and boot from the iSCSI target without any configuration. You can play new features easily on a diskless machine. Download link: http://www.peach.ne.jp/archives/isboot/demo/8.1rc2-zfsv15-v3-isboot-0.2.2.iso (only add isboot.ko and isboot_load="YES" to loader.conf) Known issues: zfsintall destroy existing loader.conf. You must add isboot_load="YES" before reboot. # echo 'isboot_load="YES"' >> /mnt/boot/loader.conf Or, load isboot.ko from loader prompt before booting, then add it. For more detail about isboot, please refer to: http://lists.freebsd.org/pipermail/freebsd-scsi/2010-July/004434.html --------------------------------------------------------------- Here is an example configuration of istgt, and result of installed system created by "zfsinstall -V15 -d da0 -d da1 -r mirror" Note: this iSCSI test server is very poor. (celeron 430, single core 1.8GHz, 2GB of RAM, 3 HDDs for iSCSI) If you have better CPU/RAM, you can get more performance. At least, istgt can handle upto Read 110MB/s and Write 103MB/s at single path, Read 190MB/s and Write 173MB/s at dual path. I sent PR(148422) of tested istgt, you become to able to install it from ports soon. --------------------------------------------------------------- [InitiatorGroup200] InitiatorName "iqn.2007-09.jp.ne.peach:pluto" Netmask 192.168.3.0/24 Netmask 192.168.4.0/24 [LogicalUnit200] TargetName "iqn.2007-09.jp.ne.peach:isboot-zfs15" Mapping PortalGroup1 InitiatorGroup200 AuthMethod Auto UseDigest Auto UnitType Disk QueueDepth 64 LUN0 Storage /iscsi2/istgt-isboot-disk2 64GB LUN1 Storage /iscsi3/istgt-isboot-disk3 64GB --------------------------------------------------------------- zfs15# zpool status pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 mirror ONLINE 0 0 0 da0p2 ONLINE 0 0 0 da1p2 ONLINE 0 0 0 errors: No known data errors zfs15# diskinfo -tv da0 da0 512 # sectorsize 68719476736 # mediasize in bytes (64G) 134217728 # mediasize in sectors 0 # stripesize 0 # stripeoffset 8354 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. 10000200 # Disk ident. Seek times: Full stroke: 250 iter in 0.124733 sec = 0.499 msec Half stroke: 250 iter in 0.124850 sec = 0.499 msec Quarter stroke: 500 iter in 0.257124 sec = 0.514 msec Short forward: 400 iter in 0.199661 sec = 0.499 msec Short backward: 400 iter in 0.199841 sec = 0.500 msec Seq outer: 2048 iter in 1.034727 sec = 0.505 msec Seq inner: 2048 iter in 1.033702 sec = 0.505 msec Transfer rates: outside: 102400 kbytes in 1.768069 sec = 57916 kbytes/sec middle: 102400 kbytes in 1.786156 sec = 57330 kbytes/sec inside: 102400 kbytes in 1.759042 sec = 58214 kbytes/sec zfs15# camcontrol tags da0 -v (pass0:isboot0:0:0:0): dev_openings 63 (pass0:isboot0:0:0:0): dev_active 0 (pass0:isboot0:0:0:0): devq_openings 63 (pass0:isboot0:0:0:0): devq_queued 0 (pass0:isboot0:0:0:0): held 0 (pass0:isboot0:0:0:0): mintags 2 (pass0:isboot0:0:0:0): maxtags 255 --------------------------------------------------------------- -- Daisuke Aoyama