From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Gardner Subject: Re: Re: Fine-grained proxy resource charging Date: Mon, 22 Aug 2005 09:28:43 -0600 Message-ID: <4309EF2B.4090208@hp.com> References: <4309EA83.1050001@hp.com> <20050822151505.GC19007@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050822151505.GC19007@wotan.suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andi Kleen Cc: xen-devel@lists.xensource.com, John L Griffin List-Id: xen-devel@lists.xenproject.org Andi Kleen wrote: >>It's not a bad idea just because it's a hard problem. >> >> > >Hard, likely slow (x86 has no really cheap >way to do microstate accounting), likely a lot of work, >and you have to fix up every driver in existence for it. >Not even talking about the VM which would need a kind >of redesign for it. For example pdflushd when flushing a dirty page has >no idea who dirtied it originally and there is simply no >space in struct page to track such stuff. > > Hey, we don't need an exact solution. Right now there is no accounting at all for I/O overhead, so even a crude solution would be a giant step in the right direction. Rob