lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 24 Jun 2015 00:20:38 -0500
From:	Steve French <smfrench@...il.com>
To:	samba-technical <samba-technical@...ts.samba.org>,
	linux-fsdevel <linux-fsdevel@...r.kernel.org>,
	"linux-cifs@...r.kernel.org" <linux-cifs@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Cc:	David Disseldorp <ddiss@...ba.org>
Subject: SMB3 very fast file copy over the network with FSCTL_DUPLICATE_EXTENTS

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@...ntu:~/cifs-2.6# time cp /mnt/100MBfile /mnt/copy1

real    0m1.712s
user    0m0.002s
sys    0m0.840s
root@...ntu:~/cifs-2.6# time cp --reflink /mnt/100MBfile /mnt/copy2

real    0m0.026s
user    0m0.001s
sys    0m0.013s
root@...ntu:~/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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ