From: "Jan Beulich" Subject: RE: cpuidle causing Dom0 soft lockups Date: Fri, 05 Feb 2010 14:59:29 +0000 Message-ID: <4B6C4061020000780002DEFB@vpn.id2.novell.com> References: <4B58402E020000780002B3FE@vpn.id2.novell.com> <4B67E85E020000780002D1A0@vpn.id2.novell.com> <8B81FACE836F9248894A7844CC0BA814250B940CFF@shzsmsx501.ccr.corp.intel.com> <4B6BE984020000780002DDF9@vpn.id2.novell.com> <73BDC2BA3DA0BD47BAAEE12383D407EF35C82CF4@shzsmsx502.ccr.corp.intel.com> <4B6BEF70020000780002DE0F@vpn.id2.novell.com> <73BDC2BA3DA0BD47BAAEE12383D407EF35C82D27@shzsmsx502.ccr.corp.intel.com> <4B6C02EF020000780002DE56@vpn.id2.novell.com> <73BDC2BA3DA0BD47BAAEE12383D407EF35C82D49@shzsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <73BDC2BA3DA0BD47BAAEE12383D407EF35C82D49@shzsmsx502.ccr.corp.intel.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: Ke Yu , Kevin Tian Cc: "xen-devel@lists.xensource.com" , KeirFraser List-Id: xen-devel@lists.xenproject.org >>> "Tian, Kevin" 05.02.10 12:16 >>> >Possible options is to take jiffies, system timestamp, and per-cpu >timestamp in stop_hz_timer, to generate a local latest value. Or >a per-cpu jiffies can be generated in per-cpu timer interrupt, which >is only used in per-cpu style like in stop_hz_timer. That was my next thought too - but it doesn't work (unless I made a blatant mistake). Not only does it not get the interrupt rate down, it even grows it on the duty CPU, and it creates visible brief hangs as well a rushes of time. Next I'll do is try to detect when the duty CPU is de-scheduled, and move on the duty to one that is scheduled (i.e. one that is currently executing timer_interrupt()). Jan