Re: [Cooker] system time problem

2001-05-14 Thread Randy Kramer

I tried learning how Linux (or Unix) deals with time several months
ago.  It was confusing.  IIUC, Linux considers the "software clock" (the
clock run by the CPU by adding ticks to it periodically) to be more
accurate than the hardware clock (run by a battery and crystal
oscillator without influence of the CPU, and commonly intended to keep
time when the computer is off).  (The discussion seemed very old, but
???)

I could be very confused, but if that is true, remember that the CPU can
miss a tick every once in a while if it's busy doing other things.  (At
least that was true at one time.)

Anyway, can someone unconfuse me, and give us all the straight scoop on
how Linux keeps time.

BTW, some other parts of the discussion touched the point that in at
least some applications it's more important to have a monotonically
increasing clock than extreme accuracy -- what does a process do that
depends on time if it finds that time has suddenly jumped back a few
seconds when it resynched with a hardware clock?

Thanks,
Randy Kramer


SI Reasoning wrote:
> 
> If I did not have this problem on every system I have
> installed it on, I would agree. If it is hardware it
> is fairly common hardware. I have had problems with
> this on several desktop intel and amd systems and on
> Asus F7400 and F7400-B Laptops.
> --- Vox <[EMAIL PROTECTED]> wrote:
> >
> > During the bombing raid on Mon, 14 May 2001 10:23:04
> > -0700 (PDT), SI Reasoning
> > was heard mumbling in fear:
> >
> > > I have had a horrible problem with keeping an
> > accurate
> > >  system time on my Mandrake systems. I have had
> > this
> > >  problem on both laptops and desktops through at
> > least
> > >  the 7.0 versions and continuing up through
> > current
> > >  8.1. My time will be off by minutes each hour
> > (seems
> > >  to lag in my laptop and rush on the desktop). I
> > have
> > >  worked around this by doing an ntpdate every
> > hour...
> > >  however with run-parts being down it just brought
> > up
> > >  this reminder.
> >
> >   Run an ntp daemon to keep your clock in check?
> > That's what I do
> >
> > >  Is this a kernel problem or is this a mandrake
> > >  problem? Anyone else out there having this issue?
> >
> >   I have no clue what's to blame for this for sure,
> > but my gut feeling is
> > on the HW.
> >
> >   Vox
> >
> > --
> > Pain is the gift of the gods, and I'm the one they
> > chose as their messenger
> > For info on safety in the BDSM lifestyle
> > http://www.the-vox.com
> >
> > Think of the Linux community as a niche economy
> > isolated by its beliefs.  Kind
> > of like the Amish, except that our religion requires
> > us to use _higher_
> > technology than everyone else. -- Donald B.
> > Marti Jr.
> >
> > Vox populi, vox deii
> >
> >
> 
> =
> SI Reasoning
> [EMAIL PROTECTED]
> gnupg/pgp key id 035213BC
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/




Re: [Cooker] system time problem

2001-05-14 Thread SI Reasoning

If I did not have this problem on every system I have
installed it on, I would agree. If it is hardware it
is fairly common hardware. I have had problems with
this on several desktop intel and amd systems and on
Asus F7400 and F7400-B Laptops.
--- Vox <[EMAIL PROTECTED]> wrote:
> 
> During the bombing raid on Mon, 14 May 2001 10:23:04
> -0700 (PDT), SI Reasoning
> was heard mumbling in fear:
> 
> > I have had a horrible problem with keeping an
> accurate
> >  system time on my Mandrake systems. I have had
> this
> >  problem on both laptops and desktops through at
> least
> >  the 7.0 versions and continuing up through
> current
> >  8.1. My time will be off by minutes each hour
> (seems
> >  to lag in my laptop and rush on the desktop). I
> have
> >  worked around this by doing an ntpdate every
> hour...
> >  however with run-parts being down it just brought
> up
> >  this reminder.
> 
>   Run an ntp daemon to keep your clock in check?
> That's what I do
> 
> >  Is this a kernel problem or is this a mandrake
> >  problem? Anyone else out there having this issue?
> 
>   I have no clue what's to blame for this for sure,
> but my gut feeling is
> on the HW.
> 
>   Vox
> 
> -- 
> Pain is the gift of the gods, and I'm the one they
> chose as their messenger
> For info on safety in the BDSM lifestyle
> http://www.the-vox.com
> 
> Think of the Linux community as a niche economy
> isolated by its beliefs.  Kind
> of like the Amish, except that our religion requires
> us to use _higher_
> technology than everyone else. -- Donald B.
> Marti Jr.
> 
> Vox populi, vox deii
> 
> 


=
SI Reasoning
[EMAIL PROTECTED]
gnupg/pgp key id 035213BC

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




Re: [Cooker] system time problem

2001-05-14 Thread Stefan Siegel

SI Reasoning schrieb:
> 
> I have had a horrible problem with keeping an accurate
> system time on my Mandrake systems. I have had this
> problem on both laptops and desktops through at least
> the 7.0 versions and continuing up through current
> 8.1. My time will be off by minutes each hour (seems
> to lag in my laptop and rush on the desktop). I have
> worked around this by doing an ntpdate every hour...
> however with run-parts being down it just brought up
> this reminder.
> Is this a kernel problem or is this a mandrake
> problem? Anyone else out there having this issue?

Same to me. I have to sync kerneltime just like hwclock every day on my 
laptop, as it is always behind :-(

-- 
_ 
Tschüss und bis demnächst/à bientôt,  _|_|_   
   (")   *
Stefan /v\  / 
 »(   )«  Penguin Powered!
 +(m-m)--+
 | Stefan Siegel | http://www.student.uni-kl.de/~siegel/ |
 | Kurt-Schumacher-Str. 34 / App.144 | mailto:[EMAIL PROTECTED]|
 | D-67663 Kaiserslautern| PGP Public Key:   |
 | Tel.: +49-631-18269   |   finger -l [EMAIL PROTECTED]   |
 +---+




Re: [Cooker] system time problem

2001-05-14 Thread Vox


During the bombing raid on Mon, 14 May 2001 10:23:04 -0700 (PDT), SI Reasoning
was heard mumbling in fear:

> I have had a horrible problem with keeping an accurate
>  system time on my Mandrake systems. I have had this
>  problem on both laptops and desktops through at least
>  the 7.0 versions and continuing up through current
>  8.1. My time will be off by minutes each hour (seems
>  to lag in my laptop and rush on the desktop). I have
>  worked around this by doing an ntpdate every hour...
>  however with run-parts being down it just brought up
>  this reminder.

Run an ntp daemon to keep your clock in check? That's what I do

>  Is this a kernel problem or is this a mandrake
>  problem? Anyone else out there having this issue?

I have no clue what's to blame for this for sure, but my gut feeling is
on the HW.

Vox

-- 
Pain is the gift of the gods, and I'm the one they chose as their messenger
For info on safety in the BDSM lifestyle http://www.the-vox.com

Think of the Linux community as a niche economy isolated by its beliefs.  Kind
of like the Amish, except that our religion requires us to use _higher_
technology than everyone else.   -- Donald B. Marti Jr.

Vox populi, vox deii