From owner-freebsd-current@FreeBSD.ORG Fri Apr 9 12:14:42 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 59E891065670 for ; Fri, 9 Apr 2010 12:14:42 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD3E8FC0A for ; Fri, 9 Apr 2010 12:14:41 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA18121; Fri, 09 Apr 2010 15:14:39 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4BBF1A2E.1070102@icyb.net.ua> Date: Fri, 09 Apr 2010 15:14:38 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100319) MIME-Version: 1.0 To: Alexey Tarasov References: <201003291616.27838.Pascal.Stumpf@cubes.de> <9D752CC7-5CCA-454D-8BEC-F3D5E6F8445C@lexasoft.ru> <46D5776E-39F0-48A7-B1C0-B844BF5147C5@lexasoft.ru> <4BBEE533.2050507@icyb.net.ua> <90829696-180F-49E1-B37A-5144DE9E30D6@lexasoft.ru> In-Reply-To: <90829696-180F-49E1-B37A-5144DE9E30D6@lexasoft.ru> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: ZFS raidz and 4k sector disks 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: Fri, 09 Apr 2010 12:14:42 -0000 on 09/04/2010 14:14 Alexey Tarasov said the following: > Hello. > > I see considerably increased performance when creating over gnop -S 4096 virtual disk. Even when I create zpool over raw disks the performance is very bad and concurent writes stalls. When using gnop, zfs works VERY fast! > > Btw, here is another discussion, may be there is a bug in a mav@ commit, because he has added support for >512 sector size: > http://lists.freebsd.org/pipermail/freebsd-current/2010-April/016495.html Looks like I was wrong: /* * Determine the device's minimum transfer size. */ *ashift = highbit(MAX(pp->sectorsize, SPA_MINBLOCKSIZE)) - 1; This is in vdev_geom_open and SPA_MINBLOCKSIZE is 512. -- Andriy Gapon