ZFS Recordsize tuning & transmission (bittorent daemon)

Matthias Gamsjager mgamsjager at gmail.com
Wed May 19 09:47:33 UTC 2010


> cat /boot/loader.conf
> ahci_load="YES"
> zfs_load="YES"
> vfs.root.mountfrom="zfs:unsafe/root"
> #vm.kmem_size="512M"
> vm.kmem_size_max="512M"
> vfs.zfs.arc_max="150M"
> vfs.zfs.arc_min="64M"
> vfs.zfs.vdev.cache.size="10M"
> vfs.zfs.prefetch_disable="0"


Your on AMD64, try to remove all zfs stuff in loader.conf. Try the
default and see how it works out.
How did you come up with these settings anyway?


> Bad performance IS expected on this hardware. This is a home NAS, and the
> "unsafe" pool is on a laptop 2.5" IDE drive.
> Still, bad performance would'nt explain the discrepancies between read and
> write stats (both in zpool io stat and gstat).
>
>> did you test your pool with Iozone to see if it performance as it should?
>>
>>
>
> I did not. I just installed the port. What test should I run to get relevant
> data ?

iozone -r 128k -s 4g -t1 -x

should do the trick.


More information about the freebsd-fs mailing list