From: Keir Fraser Subject: Re: bug # 477 Date: Thu, 30 Mar 2006 11:41:48 +0100 Message-ID: <832fbc76a0c8e14dbfa625eaf8e39686@cl.cam.ac.uk> References: <20060329072401.A26981@web.ray.net> <20060329095603.GC31336@leeni.uk.xensource.com> <20060330003910.E10946@web.ray.net> <5363869bf0099c13ab9a111e789241dd@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5363869bf0099c13ab9a111e789241dd@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Florian Kirstein , xen-devel@lists.xensource.com, Ewan Mellor List-Id: xen-devel@lists.xenproject.org On 30 Mar 2006, at 09:57, Keir Fraser wrote: > I bet this behaviour is due to two problems. > 1. The daemon is probably looking for console data before it clears > the event fd. So if no data available then the fd doesn't get cleared > and the select() doesn't block next time round. > 2. I think we still have a stupid scheduler default for domain0 where > it gets all the CPU it wants and can starve out domUs. So once > xenconsoled starts spinning, that's it for you if the domain it's > spinning on is supposed to run on the same CPU. > > I'll look at fixing both of these. Actually the first issue was a bit different to what I describe above, but it's now fixed in changeset 9475. The second issue is a bug in the SEDF scheduler I think. It's supposed to be guaranteed 75% of the CPU, plus share the remaining 25% with other domains in a 'fair' way. But it seems that domains that are given a real-time guarantee plus extratime basically get strict preference when allocating extratime. I haven't looked at fixing this -- it would be great is someone else wants to take a look. -- Keir