From: Keir Fraser Subject: Re: bug # 477 Date: Thu, 30 Mar 2006 09:57:08 +0100 Message-ID: <5363869bf0099c13ab9a111e789241dd@cl.cam.ac.uk> References: <20060329072401.A26981@web.ray.net> <20060329095603.GC31336@leeni.uk.xensource.com> <20060330003910.E10946@web.ray.net> 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: <20060330003910.E10946@web.ray.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Florian Kirstein Cc: xen-devel@lists.xensource.com, Ewan Mellor List-Id: xen-devel@lists.xenproject.org On 29 Mar 2006, at 23:39, Florian Kirstein wrote: > My idea now was that it could be possible, that the select returns > before > the domU really made the data available or something, and then by > running in an select-loop xenconsoled even slows down the machine more > so it takes even longer for the data to become available. Just wild > guesses, I haven't looked into the details of the console code :) 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. -- Keir