SMB3 very fast file copy over the network with FSCTL_DUPLICATE_EXTENTS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux