[pve-devel] [PATCH] Increases the dd read/write speed when migrating LVM disks. This should bring LVM migration speed up to match that of rsyncing qcows.

Michael Rasmussen mir at datanom.net
Wed Aug 24 18:25:23 CEST 2016


On Wed, 24 Aug 2016 09:45:39 +0200
Michael Rasmussen <mir at datanom.net> wrote:

> I can test on infiniband when I get home today.
> 
mir at esx1:~$ time dd if=/tmp/big.file bs=32K |ssh esx2 "dd of=1GB.file bs=32k"32768+0 records in
32768+0 records out
1073741824 bytes (1.1 GB) copied, 3.75128 s, 286 MB/s
2632+60272 records in
2632+60272 records out
1073741824 bytes (1.1 GB) copied, 3.44421 s, 312 MB/s

real	0m3.760s
user	0m2.020s
sys	0m1.972s

mir at esx1:~$ time dd if=/tmp/big.file bs=64K |ssh esx2 "dd of=1GB.file bs=64k"
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 3.46228 s, 310 MB/s
289+62546 records in
289+62546 records out
1073741824 bytes (1.1 GB) copied, 3.33496 s, 322 MB/s

real	0m3.471s
user	0m1.984s
sys	0m2.016s

mir at esx1:~$ time dd if=/tmp/big.file bs=128K |ssh esx2 "dd of=1GB.file bs=128k"
8192+0 records in
8192+0 records out
1073741824 bytes (1.1 GB) copied, 4.19233 s, 256 MB/s
0+63726 records in
0+63726 records out
1073741824 bytes (1.1 GB) copied, 3.87772 s, 277 MB/s

real	0m4.198s
user	0m1.804s
sys	0m2.108s

Seems 64k is a good value.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
A Linux machine! because a 486 is a terrible thing to waste!
(By jjs at wintermute.ucr.edu, Joe Sloan)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20160824/0addd9d3/attachment.sig>


More information about the pve-devel mailing list