Hi,
I've been using ZFS on my home server for 2 days, and spending a lot of time on it.
Here is my conf :
- AMD Sempron 140
- MB MSI K9N6PGM2-V
- 3GB DDR2 PC2-6400
- 2 x 1TB Seagate SATA2
- 1 x 80GB Maxtor IDE ATA-133
I installed FreeBSD 8.0p3 (64 bits) on the 80GB disk, and I mounted the 2 SATA disks
in ZFS RAID1 with the following command :
Then, I benchmarked my server, by copying some big files, and then a lot of small files. The performance was really bad, in the two cases !
I read a lot of threads about that, and I tried several configurations, by modifying /boot/loader.conf, and the "best" performance I could get is with these parameters :
When I copy a big file, a movie for instance, I got this speed : 27MB/s,
and 18MB/s for a lot of small files.
Maybe my parameters are not so good, but I don't find anything which could help me configure it better, or maybe ZFS is not for me, maybe I should switch back to UFS2, or Linux - EXT4 which was working well.
Someone has any idea ?
I've been using ZFS on my home server for 2 days, and spending a lot of time on it.
Here is my conf :
- AMD Sempron 140
- MB MSI K9N6PGM2-V
- 3GB DDR2 PC2-6400
- 2 x 1TB Seagate SATA2
- 1 x 80GB Maxtor IDE ATA-133
I installed FreeBSD 8.0p3 (64 bits) on the 80GB disk, and I mounted the 2 SATA disks
in ZFS RAID1 with the following command :
Code:
zpool create mirror share ad4 ad6
Then, I benchmarked my server, by copying some big files, and then a lot of small files. The performance was really bad, in the two cases !
I read a lot of threads about that, and I tried several configurations, by modifying /boot/loader.conf, and the "best" performance I could get is with these parameters :
Code:
vfs.zfs.prefetch_disable=1
vm.kmem_size="1536M"
vfs.zfs.arc_min="1024M"
vfs.zfs.arc_max="1536M"
vfs.zfs.vdev.min_pending=2
vfs.zfs.vdev.max_pending=8
vfs.zfs.txg.timeout=5
When I copy a big file, a movie for instance, I got this speed : 27MB/s,
and 18MB/s for a lot of small files.
Maybe my parameters are not so good, but I don't find anything which could help me configure it better, or maybe ZFS is not for me, maybe I should switch back to UFS2, or Linux - EXT4 which was working well.
Someone has any idea ?