From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 55061] cpu stats reported in cgroup file is erroneous Date: Sat, 23 Mar 2013 11:22:01 +0000 (UTC) Message-ID: <20130323112201.74F0F11FB80@bugzilla.kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:50636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715Ab3CWLWF (ORCPT ); Sat, 23 Mar 2013 07:22:05 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC3722018D for ; Sat, 23 Mar 2013 11:22:03 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217]) by mail.kernel.org (Postfix) with ESMTP id 7C7B720182 for ; Sat, 23 Mar 2013 11:22:02 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=55061 Prasad Gajanan Joshi. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prasadjoshi124@gmail.com --- Comment #1 from Prasad Gajanan Joshi. 2013-03-23 11:22:01 --- user_time and system_time reported by virsh are from the point of view of the domain on the host machine. Assuming it is QEMU, the stats reported are for the QEMU process which is created when VM is started. A while 1 loop inside VM would only change the vcpu_time and cpu_time. Therefore, user_time or system_time would not be modified at all. cgroups inside the VM is proper place to look for the stats you are looking for. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.