FreBSD 9.1 and ZFS v28 performances

Davide D'Amico davide.damico at contactlab.com
Wed Mar 20 03:36:41 UTC 2013


Il 20.03.2013 02:37 Bob Friesenhahn ha scritto:
> On Mon, 18 Mar 2013, Steven Hartland wrote:
>> 
>> Oh and another thing if this is mysql did you set the right settings
>> for your ZFS volume e.g.
>> zfs set atime=off tank
>> zfs create tank/mysql
>> zfs set recordsize=16k tank/mysql
> 
> Very importantly, the recordsize should be set before first creating
> the database file.  The recordsize becomes a property of the file.
> Even if one sets it to 16k, the file will continue to use 128k if that
> was the setting when it was created.

Well, after changing the recordsite property, I copied the file from an 
UFS partition (using cp -Rp): this should use recordsize=16k, right?

Thanks,
d.


More information about the freebsd-fs mailing list