From: Juergen Gross Subject: Re: cpuidle causing Dom0 soft lockups Date: Thu, 04 Feb 2010 07:31:02 +0100 Message-ID: <4B6A69A6.4010901@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> <4B6969AB.60605@ts.fujitsu.com> <73BDC2BA3DA0BD47BAAEE12383D407EF35C2F587@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: <73BDC2BA3DA0BD47BAAEE12383D407EF35C2F587@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" , Jan Beulich , "Yu, Ke" , Keir Fraser List-Id: xen-devel@lists.xenproject.org Tian, Kevin wrote: >> From: Juergen Gross [mailto:juergen.gross@ts.fujitsu.com]=20 >> Sent: 2010=C4=EA2=D4=C23=C8=D5 20:19 >> >> 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=20 >> system that went >>>>>> away with cpuidle=3D0 (and static analysis of the hang=20 >> hinted in that >>>>>> 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=20 >> 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=20 >> 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. >>> Is 24-CPU system observed with same likelihood as 64-CPU system to >>> hang at boot time, or less frequent? Ke just did some=20 >> theoretical analysis >>> by assuming some values. There could be other factors added=20 >> to latency >>> and each system may have different characteristics too. We can't >>> draw conclusion whether smaller system will face same issue,=20 >> by simply >>> changing CPU number in Ke's formula. :-) Possibly you can=20 >> provide cpuidle >>> information on your 24-core system for further comparison. >> My 4-core system hangs _always_. For minutes. If I press any key on th= e >> console it will resume booting with soft lockup messages (all cpus wer= e >> in xen_safe_halt). >> Sometimes another hang occurs, sometimes the system will come=20 >> up without >> further hangs. >> >> Juergen >> >=20 > interesting. Then did you also observe hang disappeared by disabling > cpuidle? Your case really looks like some missed event scenario, in > which key press just kicks cpu alive... Yes, cpuidle=3D0 made the problem disappear. 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