Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934918AbZLGQGT (ORCPT ); Mon, 7 Dec 2009 11:06:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934681AbZLGQGR (ORCPT ); Mon, 7 Dec 2009 11:06:17 -0500 Received: from nlpi157.sbcis.sbc.com ([207.115.36.171]:35579 "EHLO nlpi157.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934560AbZLGQGP (ORCPT ); Mon, 7 Dec 2009 11:06:15 -0500 Date: Mon, 7 Dec 2009 10:06:09 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@router.home To: Ioannis Kyriakopoulos cc: linux-kernel@vger.kernel.org, John Stultz , Thomas Gleixner Subject: Re: timer interrupt stucks using tickless kernel In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1493 Lines: 31 On Mon, 7 Dec 2009, Ioannis Kyriakopoulos wrote: > I have configured my kernel (2.6.31.6) so that I get periodic ticks from > the timer interrupt (i.e. tickless is not configured) with a rate determined > by the HZ value. I've also checked the "high resolution timer support" > and also SMP support. The posblem is that the timer is getting incremented > very slowly (way slower than the HZ value), just like it would be if the > kernel was tickless. Is there an explanation for that? How can I get > periodic > timer ticks? This is what platform? Embedded? Timer is referring to the system time running slow? kernel boot log would be useful. > AFAI understand, the HPET timer is used through the IO-APIC controller to > trigger the processors (N.B. if the "High Resolution Timer Support" option > wasn't checked, the timer used would be PIT, right?) and each processor's > LAPIC timer is used for time keeping. Please correct me if I am wrong. > > Another question is how the LAPIC timner's rate is determined? In my case, > it seams that an interurpt by LAPIC timer is generated very appoximately > 0.25 sec (that is HZ which is 1000 * 4) but I can't understand why. You could have 4 processors that each need a timer interrupt at 1000 HZ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/