Re: [pve-devel] Speed up PVE Backup

2016-07-20 Thread Eneko Lacunza
El 20/07/16 a las 17:46, Dietmar Maurer escribió: This is called from restore_extents, where a comment precisely says "try to write whole clusters to speedup restore", so this means we're writing 64KB-8Byte chunks, which is giving a hard time to Ceph-RBD because this means lots of ~64KB IOPS. So

Re: [pve-devel] Speed up PVE Backup

2016-07-20 Thread Lindsay Mathieson
On 20/07/2016 4:24 PM, Eneko Lacunza wrote: Yesterday our 9-osd 3-node cluster restored a backup at 6MB/s... it was very boring, painfull and expensive to wait for it One of the reasons we migrated away from ceph - snapshot and backup restores were unusably slow. -- Lindsay Mathieson _

Re: [pve-devel] Speed up PVE Backup

2016-07-20 Thread Dietmar Maurer
> This is called from restore_extents, where a comment precisely says "try > to write whole clusters to speedup restore", so this means we're writing > 64KB-8Byte chunks, which is giving a hard time to Ceph-RBD because this > means lots of ~64KB IOPS. > > So, I suggest the following solution to

[pve-devel] [PATCH manager] only use exact match in pveRealmSelector

2016-07-20 Thread Dominik Csapak
store.findRecord returns the first match, and by default matches the beginning of the strings not the whole without this, with multple realms with the same name, but different tfa settings, the login window can show the tfa input box even when the selected realm has no tfa active Signed-off-by: D

Re: [pve-devel] [PATCH access-control] fix #1062: use correct length for base32 keys

2016-07-20 Thread Wolfgang Bumiller
applied On Wed, Jul 20, 2016 at 01:31:33PM +0200, Dominik Csapak wrote: > we wrongly assumed the keys to be 32 chars long, > instead of 16 > > Signed-off-by: Dominik Csapak > --- > PVE/AccessControl.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/PVE/AccessControl.p

[pve-devel] [PATCH access-control] fix #1062: use correct length for base32 keys

2016-07-20 Thread Dominik Csapak
we wrongly assumed the keys to be 32 chars long, instead of 16 Signed-off-by: Dominik Csapak --- PVE/AccessControl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index 0af92d7..0b64374 100644 --- a/PVE/AccessControl.pm +++ b/PVE

Re: [pve-devel] Speed up PVE Backup

2016-07-20 Thread Eneko Lacunza
Hi again, I've been looking around the backup/restore code a bit. I'm focused on restore acceleration on Ceph RBD right know. Sorry if I have something mistaken, I have never developed for Proxmox/Qemu. I see in line 563 of file https://git.proxmox.com/?p=pve-qemu-kvm.git;a=blob;f=debian/patc