Received: from eggs.gnu.org ([2001:4830:134:3::10]:51550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <77.chathura@gmail.com>) id 1bT53S-0001br-Vv for qemu-devel@nongnu.org; Fri, 29 Jul 2016 06:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <77.chathura@gmail.com>) id 1bT53N-0002fH-0Q for qemu-devel@nongnu.org; Fri, 29 Jul 2016 06:30:09 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:37062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <77.chathura@gmail.com>) id 1bT53M-0002fB-Ol for qemu-devel@nongnu.org; Fri, 29 Jul 2016 06:30:04 -0400 Received: by mail-wm0-x22b.google.com with SMTP id i5so145487171wmg.0 for ; Fri, 29 Jul 2016 03:30:04 -0700 (PDT) From: "Chathura M. Sarathchandra Magurawalage" <77.chathura@gmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 29 Jul 2016 11:30:00 +0100 Message-Id: <5F6E25F8-5931-4EEF-BAC0-4B13D5482C0E@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: [Qemu-devel] VM CPU/Disk unexplained increase in resize time List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: imammedo@redhat.com Hi, Does anyone know the reason for, VM resizing time to increase faster if = you continuously increase CPU or DISK resources by +1 (e.g. 1-2, 2-3, = 3-4, 4-5). Whereas, when you increase from 1 to any other (e.g. 1-2, = 1-2, 1,3, 1-4, 1-5) it takes less time in comparison. Can anyone give an = explanation for this? I have plotted two graphs. = https://www.dropbox.com/s/5e8xrrctu0rcwx3/CPU%20scaling%20%20-%20continuou= s%20vs%20increasing%20from%201.png?dl=3D0 = https://www.dropbox.com/s/txpkb8k6mpyexv8/CPU%20scaling%20-%20increase%20f= rom%201.png?dl=3D0 The first graph shows the VM CPU resize time (y axis) vs number of vCPUs = (x axis) of continuous (blue) and resize from a VM with 1 vCPU (green) = scenarios.The second graph shows the VM CPU resize time (y axis) vs = number of vCPUs (x axis), when resized from a VM with 1 vCPU at each = step (The green line in first graph). The error bars show the standard = error of the gathered values at each step, as I did resize multiple = times to get a mean value. I use openstack on x86 with KVM, although I = have asked the openstack community I could not yet find an answer to = this. Thanks!