From: Serguei Miridonov <mirsev@cicese.mx>
To: linux-kernel@vger.kernel.org
Subject: Loosing timer interrupts with ACPI
Date: Sun, 15 Jun 2003 21:19:34 -0700 [thread overview]
Message-ID: <200306152119.34118.mirsev@cicese.mx> (raw)
When periodically reading /proc/acpi/battery/BAT0/info (once
per second), running "adjtimex --compare=10000" indicates
slight slowing down of the system clock. It seems that
reading battery info may lead to loosing timer interrupts.
System: Compaq Presario 900Z notebook
Kernel: 2.4.21-ac1
First time the system clock drift was noticed when running
akpi applet for KDE: ntpdate time corrections were too
large. Then I've found that it happens when simply
To test this, run
adjtimex --compare=10000
in first xterm, and the following script on another xterm:
#!/bin/sh
for i in `find /proc/acpi/battery -type f`
do
echo $i
count=0
while [ $count -lt 30 ]
do
cat $i > /dev/null 2>/dev/null
sleep 1
count=$[count+1]
done
done
Serguei Miridonov.
reply other threads:[~2003-06-16 4:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200306152119.34118.mirsev@cicese.mx \
--to=mirsev@cicese.mx \
--cc=linux-kernel@vger.kernel.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®