From: "George Dunlap" Subject: Re: [PATCH] Accurate vcpu weighting for credit scheduler Date: Tue, 9 Dec 2008 10:25:18 +0000 Message-ID: References: <20081209073341.B92931806F@m021.s.css.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081209073341.B92931806F@m021.s.css.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Atsushi SAKAI Cc: Emmanuel Ackaouy , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Dec 9, 2008 at 7:33 AM, Atsushi SAKAI wrote: > You mean it should get rid of "credit reset"? Yes, that's exactly what I was thinking. Removing the check for vcpus on the runqueue may actually be functionally equivalent to removing the check altogether. I guess part of the thought might be that we don't want to have a single cpu running for a really long time without other cpus getting a chance to run at all. But in order for "weight" to have any meaning, sometimes a cpu will have to get a long time to run. What workload are you running -- is it just while(1); loops?