I am running FreeBSD 9.2-STABLE and use ZFS wth HAST. I am trying to figure out why when I write a 100 MB file to my ZFS pool1, HAST seems to replicate around 400 MB of data. I would expect maybe 200 MB of data to get replicated because I am using mirrored vdevs, but why 400 MB?
Pool configuration:
The command I ran to create the ~ 100 MB file:
Three separate runs of the dd command to create the 100 MB file:
I hope I am not missing something obvious
Thanks.
George
Pool configuration:
Code:
NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
hast/disk1.eli ONLINE 0 0 0
hast/disk2.eli ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
hast/disk3.eli ONLINE 0 0 0
hast/disk4.eli ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
hast/disk5.eli ONLINE 0 0 0
hast/disk6.eli ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
hast/disk7.eli ONLINE 0 0 0
hast/disk8.eli ONLINE 0 0 0
mirror-4 ONLINE 0 0 0
hast/disk9.eli ONLINE 0 0 0
hast/disk10.eli ONLINE 0 0 0
mirror-5 ONLINE 0 0 0
hast/disk11.eli ONLINE 0 0 0
hast/disk12.eli ONLINE 0 0 0
spares
hast/disk13.eli AVAIL
The command I ran to create the ~ 100 MB file:
dd if=/dev/random of=./file.out bs=1000000 count=100. The approximate bandwidth used per second while HAST replicates is 23-24 Mbps (I used iftop to determine Mbps).Three separate runs of the dd command to create the 100 MB file:
- Run 1 ~ 2 minutes 17 seconds and transferred ~ 411 MB
- Run 2 ~ 2 minutes 4 seconds and transferred ~ 345 MB
- Run 3 ~ 2 minutes 12 seconds and transferred ~ 383 MB
I hope I am not missing something obvious
Thanks.
George