9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: [9fans] odd clock behaviour
Date: Thu, 13 Mar 2003 14:25:37 +0000	[thread overview]
Message-ID: <536e347f7c2fe951277441d936cfa9bc@vitanuova.com> (raw)

has anyone else experienced odd clock behaviour on their plan 9
system?

i'm running on an IBM Thinkpad (T22), and occasionally (not always) i
get the clock running much faster than it should (#r/rtc still gives
the correct time)

as an example (i ran this a few minutes ago):
% echo `{cat '#r/rtc'; cat /dev/time; }; sleep 100; echo `{cat '#r/rtc'; cat /dev/time; }
1047563747 1047629025 1047629025597639124 41354973397504 305454592
1047563792 1047629508 1047629508199623282 41502386389760 305454592
% % echo `{cat '#r/rtc'; cat /dev/time; }; sleep 100; echo `{cat '#r/rtc'; cat /dev/time; }
1047563991 1047632392 1047632392826308124 42383508857344 305454592
1047564039 1047632728 1047632728118785531 42485925484288 305454592
% % % echo `{cat '#r/rtc'; cat /dev/time; }; sleep 100; echo `{cat '#r/rtc'; cat /dev/time; }
1047564093 1047633210 1047633210610709377 42633304858112 305454592
1047564136 1047633742 1047633742398391924 42795741847808 305454592
%

i.e.  /dev/time advanced by 483, 336 and 532 seconds respectively,
while #r/rtc advanced by 45, 48 and 43 seconds respectively,
all for a nominally 100 second sleep!

the power has been plugged in continuously (i.e.  it shouldn't have
invoked any funny power-saving clock changing).

this leads to some odd effects on the user interface, not to mention
the fact that date(1) now thinks it's 11:18am tomorrow...

  cheers,
    rog.



             reply	other threads:[~2003-03-13 14:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 14:25 rog [this message]
2003-03-13 14:30 ` Fco.J.Ballesteros
2003-03-13 15:40 ` Russ Cox
2003-03-13 16:22 ` Sam
2003-03-13 16:26   ` David Presotto
2003-03-13 17:06     ` Russ Cox
2003-03-13 17:50       ` Fco.J.Ballesteros
2003-03-13 18:39 ` Dan Cross
2003-03-13 18:40 ` Dan Cross
2003-03-13 14:43 rog
2003-03-13 18:06 rog
2003-03-13 18:43 David Presotto
2003-03-13 18:58 rog
2003-03-13 19:15 ` David Presotto
2003-03-13 19:25   ` Russ Cox
2003-03-20 18:07 rog

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=536e347f7c2fe951277441d936cfa9bc@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /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).