From: urgrue Subject: KVM performance debugging Date: Tue, 03 Sep 2013 12:22:15 +0300 Message-ID: <1378200135.24931.17253685.0138E8ED@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52910 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756038Ab3ICJWQ (ORCPT ); Tue, 3 Sep 2013 05:22:16 -0400 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9E02921C77 for ; Tue, 3 Sep 2013 05:22:15 -0400 (EDT) Sender: kvm-owner@vger.kernel.org List-ID: Hi, I'm doing extensive performance tests on KVM at the moment. In various scenarios I'm able to generate a noticeable impact while no performance metric is really impacted at all. I mean general sluggishness, like typing laging behind my fingers, commands taking a few seconds to respond. Nothing drastic or unacceptable, but I'd like to understand where it's coming from. For example, starting ~30 VMs in relatively quick succession. Or sometimes, even having ~50 mostly-idle VMs. This is on a system with 256GB ram and 24 hyper-threaded cores. I'd like to pinpoint what is causing it, but looking at sar and other output, there is absolutely nothing going on. For example: overall CPU use never gets over ~40%, usually more like 20. Load is hovering around 4 (and I can get it to over 200 before anything is "really" impacted). IO Wait is consistently 0.x%, Swap use and paging rates are practically non-existent, Disk utilization is in the tens of % at worst with svctm at most hitting about 15 milliseconds. (And my VM's are on different disks than my OS anyway). Any ideas where I can look further? Thanks.