From: Charles Lepple <clepple@ghz.cc>
To: Tony Lindgren <tony@atomide.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] amd76x_pm on 2.6.0-test9 cleanup
Date: Tue, 4 Nov 2003 15:52:14 -0500 [thread overview]
Message-ID: <C4D11E6F-0F08-11D8-A943-003065DC6B50@ghz.cc> (raw)
In-Reply-To: <20031104200517.GD1042@atomide.com>
On Tuesday, November 4, 2003, at 03:05 PM, Tony Lindgren wrote:
> * Charles Lepple <clepple@ghz.cc> [031104 11:45]:
>> On Tuesday 04 November 2003 02:15 pm, Tony Lindgren wrote:
>>> I've heard of timing problems if it's compiled in, but supposedly
>>> they
>>> don't happen when loaded as module.
>>
>> In some of the earlier testX versions of the kernel, I did not see any
>> difference between compiling as a module, and compiling into the
>> kernel. (It
>> is currently a module on my system.)
>>
>> I did, however, manage to keep ntpd happy by reducing HZ to 100. Even
>> raising
>> HZ to 200 is enough to throw off its PLL. The machine is idle for 90%
>> of the
>> day, though, so I don't know if the PLL is adapting to the fact that
>> the
>> system is idling, but the values for tick look reasonable.
>
> Interesting, sounds like the idling causes missed timer interrupts?
> Can you
> briefly describe what's the easiest way to reproduce the timer
> problem, just
> change HZ to 200 and look at the system time?
At HZ=200, it would take a while to notice. I used adjtimexconfig,
which counts the number of kernel ticks which occur in 70 seconds
(according to the RTC). The RTC is pretty stable without power
management, so I tend to trust it. I think I ended up with a value of
tick=11000 (compensation for a 10% slow clock), and if I left the
machine idle, ntpd would converge based on the new tick value.
Then again, I don't think I tried HZ>=200 on -test9. (When I got Pasi's
-test9 patch, I applied it to a -test8-bk kernel with HZ=1000-- I don't
remember exactly which one.) Based on his followup email, timekeeping
may be better in -test9. I'll check.
> I've been using kexec for reboots recently though as the bios reboot
> is soo slow.
The slowness on my system is supposedly related to ECC initialization,
but it's only ~30 seconds for 512MB. Still, if I upgrade the memory,
that's a good tip.
> But just to verify: 2.6.0-test9 & amd76x_pm as module, and the system
> drops
> into sleep mode when the module is loaded for the first time until
> power is
> pressed? And this does not happen after cold reboots or when the
> amd76x_pm
> is reloaded?
Correct.
--
Charles Lepple
clepple@ghz.cc
next prev parent reply other threads:[~2003-11-04 20:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-04 0:22 [PATCH] amd76x_pm on 2.6.0-test9 cleanup Tony Lindgren
2003-11-04 18:41 ` john stultz
2003-11-04 19:15 ` Tony Lindgren
2003-11-04 19:44 ` Charles Lepple
2003-11-04 20:05 ` Tony Lindgren
2003-11-04 20:52 ` Charles Lepple [this message]
2003-11-04 22:38 ` Charles Lepple
2003-11-04 23:11 ` Tony Lindgren
2003-11-04 23:46 ` Pasi Savolainen
2003-11-04 20:21 ` Pasi Savolainen
2003-11-04 20:55 ` Tony Lindgren
2003-11-04 20:57 ` john stultz
2003-11-04 21:14 ` Tony Lindgren
2003-11-14 11:56 ` Pasi Savolainen
2003-11-04 21:01 ` Charles Lepple
2003-11-04 21:17 ` Tony Lindgren
2003-11-05 19:42 ` Felix Maibaum
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=C4D11E6F-0F08-11D8-A943-003065DC6B50@ghz.cc \
--to=clepple@ghz.cc \
--cc=linux-kernel@vger.kernel.org \
--cc=tony@atomide.com \
/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;
as well as URLs for NNTP newsgroup(s).