[pve-devel] Speed up PVE Backup

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Tue Feb 16 11:27:37 CET 2016


Am 16.02.2016 um 11:20 schrieb Dietmar Maurer:
>> Storage Backend is ceph using 2x 10Gbit/s and i'm able to read from it
>> with 500-1500MB/s. See below for an example.
> 
> The backup process reads 64KB blocks, and it seems this slows down ceph.
> This is a known behavior, but I found no solution to speed it up.
> 

Is it enough to just change these:
debian/patches/0002-add-basic-backup-support-to-block-driver.patch:Currently
backup cluster size is hardcoded to 65536 bytes.
debian/patches/0004-introduce-new-vma-archive-format.patch:+We use a
cluster size of 65536, and use 8 bytes for each
debian/patches/0004-introduce-new-vma-archive-format.patch:+    char
buf[65536*header_clusters];
debian/patches/0004-introduce-new-vma-archive-format.patch:+#if
VMA_CLUSTER_SIZE != 65536
debian/patches/backup-vma-remove-async-queue.patch:-    char
buf[65536*header_clusters];
debian/patches/backup-add-vma-binary.patch:+    char
buf[65536*header_clusters];
debian/patches/backup-add-vma-binary.patch:+#if VMA_CLUSTER_SIZE != 65536

Stefan



More information about the pve-devel mailing list