Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Apr 2010 15:14:38 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Alexey Tarasov <me@lexasoft.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS raidz and 4k sector disks
Message-ID:  <4BBF1A2E.1070102@icyb.net.ua>
In-Reply-To: <90829696-180F-49E1-B37A-5144DE9E30D6@lexasoft.ru>
References:  <201003291616.27838.Pascal.Stumpf@cubes.de>	<9D752CC7-5CCA-454D-8BEC-F3D5E6F8445C@lexasoft.ru>	<hoqgc8$ee9$1@dough.gmane.org> <46D5776E-39F0-48A7-B1C0-B844BF5147C5@lexasoft.ru> <4BBEE533.2050507@icyb.net.ua> <90829696-180F-49E1-B37A-5144DE9E30D6@lexasoft.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BBF1A2E.1070102>