[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 19:04:55 CEST 2016


On Wed, 24 Aug 2016 18:59:29 +0200 (CEST)
Dietmar Maurer <dietmar at proxmox.com> wrote:

> > Seems 64k is a good value.  
> 
> What value do you get with 4K?
> 
mir at esx1:~$ time dd if=/tmp/big.file bs=4K |ssh esx2 "dd of=big.file bs=4k"
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 3.94589 s, 272 MB/s
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 3.82583 s, 281 MB/s

real	0m3.953s
user	0m2.072s
sys	0m2.212s
mir at esx1:~$ time dd if=/tmp/big.file bs=8K |ssh esx2 "dd of=big.file bs=8k"
131072+0 records in
131072+0 records out
1073741824 bytes (1.1 GB) copied, 3.69495 s, 291 MB/s
131072+0 records in
131072+0 records out
1073741824 bytes (1.1 GB) copied, 3.38373 s, 317 MB/s

real	0m3.704s
user	0m1.964s
sys	0m2.208s


-- 
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:
I kissed my first girl and smoked my first cigarette on the same day.
I haven't had time for tobacco since.
		-- Arturo Toscanini
-------------- 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/323a2698/attachment.sig>


More information about the pve-devel mailing list