[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071231023423.GA6530@one.firstfloor.org>
Date: Mon, 31 Dec 2007 03:34:23 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Eduard-Gabriel Munteanu <eduard.munteanu@...ux360.ro>
Cc: Andi Kleen <andi@...stfloor.org>, pharon@...il.com,
Rene Herman <rene.herman@...access.nl>,
"David P. Reed" <dpreed@...d.com>,
Richard Harman <richard@...hardharman.com>,
LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...hat.com>, tglx@...utronix.de
Subject: Re: [PATCH] Option to disable AMD C1E (allows dynticks to work)
> As far as I can see, the kernel doesn't behave as it would be, IMO,
> normal. I do have HPETs and Linux detects them without any
> need for hpet=force (HPET is registered for clockevents), but keeps
> LAPIC as the only option for dynticks. It looks like timing devices are
> rated and then only one of them is selected for dynticks. But when that
LAPIC is preferred because it is cheaper to reprogram, but if LAPIC
doesn't work (e.g. due to AMD C1E) it should fall back to HPET.
> Linux does not fallback to the next best timer, as dynticks is provided
> with only one such device, hence the message "lapic is not functional"
> is shown. In fact, this selection process should be fixed.
Yes it should. Something must be indeed wrong.
> approach wasn't correct, but please tell me: is HPET-driven dynticks
> code working? (I'm quite confused, as HPET should wake the CPUs even
AFAIK it should work, but I haven't tested it myself. Thomas G.
should know details.
> With my patch (the one that disables C1E), powertop shows at most 10-11
> wakeups per second when idle (no X server running). Isn't it
> reasonable to expect a significant improvement over HZ=100?
Did you measure the actual power? Minimal wakeups is not the ultimate goal,
the ultimate goal is to save power. Minimal wakeups is just a measure to that
-Andi
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists