mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Philippe Troin <phil@fifi.org>
Cc: eric miao <eric.y.miao@gmail.com>, Ingo Molnar <mingo@elte.hu>,
	LKML <linux-kernel@vger.kernel.org>,
	Jack Ren <jack.ren@marvell.com>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Dmitry Adamushko <dmitry.adamushko@gmail.com>
Subject: Re: [PATCH] sched: do not stop ticks when cpu is not idle
Date: Mon, 21 Jul 2008 22:25:13 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.1.10.0807212154420.4316@apollo.tec.linutronix.de> (raw)
In-Reply-To: <87abgb3vay.fsf@old-tantale.fifi.org>

On Mon, 21 Jul 2008, Philippe Troin wrote:
> Thomas Gleixner <tglx@linutronix.de> writes:
> I've seen weird timer behavior on both i386 and x86_64 on SMP
> machines.  By weird I mean:
> 
>  - time stops for a few hours, then resumes as if nothing happened;
> 
>  - time flows too fast or slow (4x faster to 2x slower depending on
>    phase of the moon);
> 
>  - the last one I've seen (yesterday), was: 
>       sleep(1) sleeps for 1 second, but
>       select(0, NULL, NULL, NULL, 0.5) sleeps for nine seconds.
> 
> I have been trying to track this problem for a few weeks now, without
> success.  Booting a CONFIG_NO_HZ-enabled kernel with "highres=off
> nohz=off" does not make a difference.  However booting a kernel with
> CONFIG_NO_HZ and CONFIG_HIGH_RES_TIMERS disabled seems to be working
> (I cannot garantee that since I've been using that for 48h so far, but
> sometimes the problem takes a few days to manifest itself).
> 
> After a cursory reading of your patch, it looks to me that the race
> could happen on a kernel compiled with CONFIG_NO_HZ and
> CONFIG_HIGH_RES_TIMERS and booted with "nohz=off highres=off".  Can
> you confirm that?

No, I can not confirm that. With nohz=off / highres=off that code path
is not invoked.
 
> If you need more details (dmesg, lspci, etc), I have posted some
> details on LKML ( http://lkml.org/lkml/2008/7/9/330 ) and I have a bug
> posted on the Fedora/RH bugzilla (
> https://bugzilla.redhat.com/show_bug.cgi?id=451824 ).

Will have a look. 

Question: which clocksource is active ?

cat /sys/devices/system/clocksource/clocksource0/current_clocksource

Thanks,

	tglx


  reply	other threads:[~2008-07-21 20:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18  6:41 eric miao
2008-07-18 10:24 ` Ingo Molnar
2008-07-18 10:54   ` Ingo Molnar
2008-07-18 11:08     ` Peter Zijlstra
2008-07-18 22:27       ` Ingo Molnar
2008-07-18 13:52   ` Thomas Gleixner
2008-07-18 14:38     ` eric miao
2008-07-18 15:27       ` Thomas Gleixner
2008-07-18 16:29         ` Heiko Carstens
2008-07-19  7:32           ` Thomas Gleixner
2008-07-21  7:34         ` Jack Ren
2008-07-21 19:13         ` Philippe Troin
2008-07-21 20:25           ` Thomas Gleixner [this message]
2008-07-21 20:53             ` Philippe Troin
2008-07-18 11:21 ` Dmitry Adamushko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.1.10.0807212154420.4316@apollo.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=a.p.zijlstra@chello.nl \
    --cc=dmitry.adamushko@gmail.com \
    --cc=eric.y.miao@gmail.com \
    --cc=jack.ren@marvell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=phil@fifi.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®