SMB3 very fast file copy over the network with FSCTL_DUPLICATE_EXTENTS
From: Steve French
Date: Wed Jun 24 2015 - 01:21:12 EST
I tried file copies similar to "cp --reflink" over the network (from
cifs.ko client) with the new SMB3.11 dialect and
FSCTL_DUPLICATE_EXTENTS. As expected - spectacularly faster than
regular cp. Target file system was REFS in my tests at the SMB3 test
event this week.
Now that Samba is also adding SMB3.11 dialect support, looking forward
to when we
get this in Samba server too - it is a huge performance boost for
large file copy.
(The patch to cifs.ko is
https://git.samba.org/?p=sfrench/cifs-2.6.git;a=commit;h=8295c91bcb9d19f8fbb8885d135321ab6d18a781)
root@ubuntu:~/cifs-2.6# time cp /mnt/100MBfile /mnt/copy1
real 0m1.712s
user 0m0.002s
sys 0m0.840s
root@ubuntu:~/cifs-2.6# time cp --reflink /mnt/100MBfile /mnt/copy2
real 0m0.026s
user 0m0.001s
sys 0m0.013s
root@ubuntu:~/cifs-2.6# time cp --reflink /mnt/100MBfile /mnt/copy3
real 0m0.016s
user 0m0.001s
sys 0m0.005s
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/