[zfs-discuss] zfs copy performance

2009-09-24 Thread chris bannayan
I've been comparing zfs send and receive to cp, cpio etc.. for a customer data migration and have found send and receive to be twice as slow as cp or cpio. Im migrating zfs data from one array to a temporary array on the same server, its 2.3TB in total, and was looking for the fastest way to do

Re: [zfs-discuss] zfs copy performance

2009-09-24 Thread Darren J Moffat
chris bannayan wrote: I've been comparing zfs send and receive to cp, cpio etc.. for a customer data migration and have found send and receive to be twice as slow as cp or cpio. Did you run sync after the cp/cpio finished to ensure the data really is on disk ? cp and cpio do not do

Re: [zfs-discuss] zfs copy performance

2009-09-24 Thread chris bannayan
Im measuring time by using the time command in the command arguments ie: time cp * / etc.. for copy i just used time cp pool/fs1/* /newpool/fs1 etc... for cpio i used, time find /pool/fs1 |cpio -pdmv /newpool/fs1 for zfs i ran a snapshot fist then, time zfs -R send snapshot| zfs receive -F -d