Re: [pve-devel] [PATCH] hdedit : add io throttle max burst

2013-12-04 Thread Dietmar Maurer
applied, thanks! > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Alexandre Derumier > Sent: Mittwoch, 04. Dezember 2013 15:16 > To: pve-devel@pve.proxmox.com > Subject: [pve-devel] [PATCH] hdedit : add io throttle ma

Re: [pve-devel] [PATCH] hdedit : add io throttle max burst

2013-12-04 Thread Dietmar Maurer
First, I will commit this patch (no need to resend). Here are just few comment: > + if (values.mbps_rd_max && values.mbps_rd) { > + me.drive.mbps_rd_max = values.mbps_rd_max; > + } else { > + delete me.drive.mbps_rd_max; > + } > + > if (values.mbps_wr) { >

Re: [pve-devel] qemu-server : iothrottle add support for throttling burst max

2013-12-04 Thread Dietmar Maurer
applied, thanks! > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Alexandre Derumier > Sent: Mittwoch, 04. Dezember 2013 15:13 > To: pve-devel@pve.proxmox.com > Subject: [pve-devel] qemu-server : iothrottle add suppor

Re: [pve-devel] [PATCH] qemuserver : iothrottle add support for throttling burst max

2013-12-04 Thread Dietmar Maurer
> > (Note that the burst is not in iop/s or MB/s, it's ios or MB. the > > quantity of ios or MB we want to run at full speed before throttling) > > So why do you name those variables 'mbps_max' and 'iops_max'? Oh, ignore me - I just saw qemu use a similar naming. ___

Re: [pve-devel] [PATCH] qemuserver : iothrottle add support for throttling burst max

2013-12-04 Thread Dietmar Maurer
> (Note that the burst is not in iop/s or MB/s, it's ios or MB. the quantity of > ios or > MB we want to run at full speed before throttling) So why do you name those variables 'mbps_max' and 'ioops_max'? ___ pve-devel mailing list pve-devel@pve.proxmo

Re: [pve-devel] way to get all vm configs?

2013-12-04 Thread Dietmar Maurer
> is there a way to get all vm configs with one api request? Or at least all vm > configs from one node? no, sorry ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [PATCH] qemuserver : iothrottle add support for throttling burst max

2013-12-04 Thread Dietmar Maurer
> > I would like to tune value manually, I have differents vm with same > > throttle, but some of them need more burst, depend of the workload. > > > > Example: I have some databases throttle to 10MB/s which I known then need > 1GB of data write at full speed sometimes. OK > i would like to tune

[pve-devel] way to get all vm configs?

2013-12-04 Thread Stefan Priebe
Hi, is there a way to get all vm configs with one api request? Or at least all vm configs from one node? I need all MAC addressen of all vms / lan cards. Right now i'm using: "/nodes/" . $node->{node} . "/qemu/" . $vm->{vmid} . "/config" but this one is pretty expensive / slow for some hund

Re: [pve-devel] [PATCH] qemuserver : iothrottle add support for throttling burst max

2013-12-04 Thread Stefan Priebe
Am 04.12.2013 18:25, schrieb Alexandre DERUMIER: or is that too easy? I would like to tune value manually, I have differents vm with same throttle, but some of them need more burst, depend of the workload. Example: I have some databases throttle to 10MB/s which I known then need 1GB of data w

Re: [pve-devel] [PATCH] qemuserver : iothrottle add support for throttling burst max

2013-12-04 Thread Alexandre DERUMIER
>>or is that too easy? I would like to tune value manually, I have differents vm with same throttle, but some of them need more burst, depend of the workload. Example: I have some databases throttle to 10MB/s which I known then need 1GB of data write at full speed sometimes. Seem more easy to

Re: [pve-devel] [PATCH] qemuserver : iothrottle add support for throttling burst max

2013-12-04 Thread Dietmar Maurer
That whole thing looks a bit clumsy. Does a user really want to specify all those values manually? Maybe the user can specify a percentage instead, and we can automatically compute those burst values? burst=1.3==> ioops_max = ioops * 1.3 or is that too easy?

[pve-devel] [PATCH] hdedit : add io throttle max burst

2013-12-04 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager/qemu/HDEdit.js | 73 1 file changed, 73 insertions(+) diff --git a/www/manager/qemu/HDEdit.js b/www/manager/qemu/HDEdit.js index af5427a..b1590e5 100644 --- a/www/manager/qemu/HDEdit.js +++ b/www/ma

[pve-devel] pve-manager : hdedit : add io throttle max burst

2013-12-04 Thread Alexandre Derumier
I think it could be improved, I put the combos in the 2nd column, but the height of the form is a little big. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] qemu-server : iothrottle add support for throttling burst max

2013-12-04 Thread Alexandre Derumier
see commit ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] qemuserver : iothrottle add support for throttling burst max

2013-12-04 Thread Alexandre Derumier
http://git.qemu.org/?p=qemu.git;a=commit;h=3e9fab690d59ac15956c3733fe0794ce1ae4c4af Signed-off-by: Alexandre Derumier --- PVE/API2/Qemu.pm | 16 ++-- PVE/QemuServer.pm | 14 +++--- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API

Re: [pve-devel] working on block_set_io_throttle bps_max, iops_max

2013-12-04 Thread Alexandre DERUMIER
>>Unfortunately it seems you cannot boot from pvscsi and lsi53c810 :-/ Indeed, " http://lists.gnu.org/archive/html/qemu-devel/2013-06/msg03733.html No, there is no support in SeaBIOS for it. Paolo " - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" , "pve-devel" E

Re: [pve-devel] KVM Live Backup performance

2013-12-04 Thread Dietmar Maurer
> Let me know if you need something tested. I just uploaded the qemu 1.7 package with new backup patches: You should be able to install with: # wget ftp://download.proxmox.com/tmp/pve-libspice-server1_0.12.4-3_amd64.deb # wget ftp://download.proxmox.com/tmp/pve-qemu-kvm_1.7-2_amd64.deb # dpkg -

Re: [pve-devel] working on block_set_io_throttle bps_max, iops_max

2013-12-04 Thread Dietmar Maurer
> I'm working to add new params xxx_max to block_set_io_throttle. Thanks. I just added the new devices (vmxnet3, pvscsi, lsi53c810), and 'discard' option for drives. Unfortunately it seems you cannot boot from pvscsi and lsi53c810 :-/ ___ pve-devel m