RE: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-11 Thread Edison Su
-Original Message- From: Indra Pramana [mailto:in...@sg.or.id] Sent: Wednesday, October 09, 2013 11:07 PM To: dev@cloudstack.apache.org; us...@cloudstack.apache.org Subject: Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-10 Thread Indra Pramana
Dear all, I and my colleague tried to scrutinize the source code and found the script which is performing the copying of the snapshot from primary storage to secondary storage on this file: ./plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java Specifically

Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-10 Thread Wido den Hollander
On 10/10/2013 08:06 AM, Indra Pramana wrote: Dear all, I and my colleague tried to scrutinize the source code and found the script which is performing the copying of the snapshot from primary storage to secondary storage on this file:

Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-10 Thread Indra Pramana
Hi Wido, Good day to you, and thank you for your e-mail reply. Thank you for your advice. We will try to tweak the code to throttle the copying process to the secondary storage server. Cheers. On Thu, Oct 10, 2013 at 7:56 PM, Wido den Hollander w...@widodh.nl wrote: On 10/10/2013 08:06

Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-09 Thread Indra Pramana
Hi Wido and all, Good day to you, and thank you for your e-mail reply. Yes, from the agent logs I can see that the RBD snapshot was created. However, it seems that CPU utilisation goes up drastically during the copying over of the snapshot from primary storage to the secondary storage. ===

Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-08 Thread Wido den Hollander
On 10/08/2013 04:59 AM, Indra Pramana wrote: Dear Wido and all, I performed some further tests last night: (1) CPU utilization of the KVM host while RBD snapshot running is still shooting up high even after I set global setting: concurrent.snapshots.threshold.perhost to 2. (2) Most of the

High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-07 Thread Indra Pramana
Dear Wido and all, I performed some further tests last night: (1) CPU utilization of the KVM host while RBD snapshot running is still shooting up high even after I set global setting: concurrent.snapshots.threshold.perhost to 2. (2) Most of the concurrent snapshot processes will fail with

Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-07 Thread Marcus Sorensen
You may want to post this to the ceph mailing list as well. On Mon, Oct 7, 2013 at 8:59 PM, Indra Pramana in...@sg.or.id wrote: Dear Wido and all, I performed some further tests last night: (1) CPU utilization of the KVM host while RBD snapshot running is still shooting up high even after I