From: Juergen Gross Subject: Re: cpuidle causing Dom0 soft lockups Date: Wed, 03 Feb 2010 13:18:51 +0100 Message-ID: <4B6969AB.60605@ts.fujitsu.com> References: <4B58402E020000780002B3FE@vpn.id2.novell.com> <4B67E85E020000780002D1A0@vpn.id2.novell.com> <8B81FACE836F9248894A7844CC0BA814250B6A12F0@shzsmsx501.ccr.corp.intel.com> <4B695ADB020000780002D70F@vpn.id2.novell.com> <73BDC2BA3DA0BD47BAAEE12383D407EF35C2F436@shzsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <73BDC2BA3DA0BD47BAAEE12383D407EF35C2F436@shzsmsx502.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" Cc: "xen-devel@lists.xensource.com" , "Yu, Ke" , Jan Beulich , Keir Fraser List-Id: xen-devel@lists.xenproject.org Tian, Kevin wrote: >> From: Jan Beulich >> Sent: 2010=C4=EA2=D4=C23=C8=D5 18:16 >> >>>>> "Yu, Ke" 02.02.10 18:07 >>> >>>> Just fyi, we now also have seen an issue on a 24-CPU system that wen= t >>>> away with cpuidle=3D0 (and static analysis of the hang hinted in tha= t >>>> direction). All I can judge so far is that this likely has=20 >> something to do >>>> with our kernel's intensive use of the poll hypercall (i.e.=20 >> we see vCPU-s >>>> not waking up from the call despite there being pending unmasked or >>>> polled for events). >>> We just identified the cause of this issue, and is trying to=20 >> find appropriate way to fix it. >> >> Hmm, while I agree that the scenario you describe can be a problem, I >> don't think it can explain the behavior on the 24-CPU system pointed >> out above, nor the one Juergen Gross pointed out yesterday. >=20 > Is 24-CPU system observed with same likelihood as 64-CPU system to > hang at boot time, or less frequent? Ke just did some theoretical analy= sis > by assuming some values. There could be other factors added to latency > and each system may have different characteristics too. We can't > draw conclusion whether smaller system will face same issue, by simply > changing CPU number in Ke's formula. :-) Possibly you can provide cpuid= le > information on your 24-core system for further comparison. My 4-core system hangs _always_. For minutes. If I press any key on the console it will resume booting with soft lockup messages (all cpus were in xen_safe_halt). Sometimes another hang occurs, sometimes the system will come up without further hangs. Juergen --=20 Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technolgy Solutions e-mail: juergen.gross@ts.fujits= u.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.= html