From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [RFC 4/7] change kernel accounting to include steal time Date: Thu, 26 Aug 2010 18:13:49 -0300 Message-ID: <20100826211349.GD2985@mothafucka.localdomain> References: <1282772597-4183-1-git-send-email-glommer@redhat.com> <1282772597-4183-2-git-send-email-glommer@redhat.com> <1282772597-4183-3-git-send-email-glommer@redhat.com> <1282772597-4183-4-git-send-email-glommer@redhat.com> <1282772597-4183-5-git-send-email-glommer@redhat.com> <20100826172303.GB21273@amt.cnet> <20100826202856.GC2985@mothafucka.localdomain> <20100826204712.GA3773@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, avi@redhat.com, zamsden@redhat.com, riel@redhat.com To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:6516 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752574Ab0HZVNw (ORCPT ); Thu, 26 Aug 2010 17:13:52 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7QLDqAx025178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Aug 2010 17:13:52 -0400 Content-Disposition: inline In-Reply-To: <20100826204712.GA3773@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Aug 26, 2010 at 05:47:12PM -0300, Marcelo Tosatti wrote: > > Linux does statistical sampling for accounting anyway, so I don't see > > it getting much worse. > > A "cpu hog" that sleeps 1us every 1ms. > Imagine a user program, that at periodic intervals, goes to the system. Under the current scheme, it will be accounted as 100 % system. This is all statistical anyway