* time drift and fb comsole activity
@ 2001-02-28 22:00 Eric Buddington
2001-02-28 23:37 ` Andrew Morton
2001-03-01 0:43 ` Brad Douglas
0 siblings, 2 replies; 8+ messages in thread
From: Eric Buddington @ 2001-02-28 22:00 UTC (permalink / raw)
To: linux-kernel
I know this has been reported on the list recently, but I think I can
provide better detail. I'm running 2.4.2 with atyfb on a K6-2/266
running at 250. This system has no history of clock problems.
adjtimex-1.12 --compare gives me "2nd diff" readings of -0.01 in quiescent
conditions.
flipping consoles rapidly cboosts this number to -3 or -4.
catting the full documentation to ntpd (seemed appropriate) gives me
"2nd diff" numbers a little over 34. If I read the numbers correctly,
47 seconds of CMOS time passed while the system clock only passed 13
seconds.
The processor and the CMOS clock were moving at zero velocity relative
to each other, and were both in normal Earth gravity.
I would appreciate cc's of replies (ore requests for further
information), as I am not subscribed.
-Eric
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: time drift and fb comsole activity
2001-02-28 22:00 time drift and fb comsole activity Eric Buddington
@ 2001-02-28 23:37 ` Andrew Morton
2001-02-28 23:50 ` Cort Dougan
2001-03-01 0:43 ` Brad Douglas
1 sibling, 1 reply; 8+ messages in thread
From: Andrew Morton @ 2001-02-28 23:37 UTC (permalink / raw)
To: ebuddington; +Cc: linux-kernel
Eric Buddington wrote:
>
> I know this has been reported on the list recently, but I think I can
> provide better detail. I'm running 2.4.2 with atyfb on a K6-2/266
> running at 250. This system has no history of clock problems.
>
> adjtimex-1.12 --compare gives me "2nd diff" readings of -0.01 in quiescent
> conditions.
>
> flipping consoles rapidly cboosts this number to -3 or -4.
>
> catting the full documentation to ntpd (seemed appropriate) gives me
> "2nd diff" numbers a little over 34. If I read the numbers correctly,
> 47 seconds of CMOS time passed while the system clock only passed 13
> seconds.
>
> The processor and the CMOS clock were moving at zero velocity relative
> to each other, and were both in normal Earth gravity.
The kernel blocks interrupts during console output. fbdev
consoles are slow. Net result: many lost timer interrupts.
I'm working on it. Slowly. Should have something next week.
-
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: time drift and fb comsole activity
2001-02-28 23:37 ` Andrew Morton
@ 2001-02-28 23:50 ` Cort Dougan
2001-03-01 0:01 ` Alan Cox
0 siblings, 1 reply; 8+ messages in thread
From: Cort Dougan @ 2001-02-28 23:50 UTC (permalink / raw)
To: Andrew Morton; +Cc: ebuddington, linux-kernel
We have the same trouble on PPC but we make sure to re-sync on each
interrupt. We can see several lost timer interrupts after a ^L in emacs
running on the fb console. The resync lets us catch up on those interrupts
(and not lose time) but we still spend a lot of time not servicing
interrupts.
Does x86 not resync on timer interrupts?
} Eric Buddington wrote:
} >
} > I know this has been reported on the list recently, but I think I can
} > provide better detail. I'm running 2.4.2 with atyfb on a K6-2/266
} > running at 250. This system has no history of clock problems.
} >
} > adjtimex-1.12 --compare gives me "2nd diff" readings of -0.01 in quiescent
} > conditions.
} >
} > flipping consoles rapidly cboosts this number to -3 or -4.
} >
} > catting the full documentation to ntpd (seemed appropriate) gives me
} > "2nd diff" numbers a little over 34. If I read the numbers correctly,
} > 47 seconds of CMOS time passed while the system clock only passed 13
} > seconds.
} >
} > The processor and the CMOS clock were moving at zero velocity relative
} > to each other, and were both in normal Earth gravity.
}
} The kernel blocks interrupts during console output. fbdev
} consoles are slow. Net result: many lost timer interrupts.
}
} I'm working on it. Slowly. Should have something next week.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: time drift and fb comsole activity
2001-02-28 23:50 ` Cort Dougan
@ 2001-03-01 0:01 ` Alan Cox
2001-02-28 23:59 ` Cort Dougan
0 siblings, 1 reply; 8+ messages in thread
From: Alan Cox @ 2001-03-01 0:01 UTC (permalink / raw)
To: Cort Dougan; +Cc: Andrew Morton, ebuddington, linux-kernel
> We have the same trouble on PPC but we make sure to re-sync on each
> interrupt. We can see several lost timer interrupts after a ^L in emacs
> running on the fb console. The resync lets us catch up on those interrupts
> (and not lose time) but we still spend a lot of time not servicing
> interrupts.
> Does x86 not resync on timer interrupts?
The fbdev console problem is too horrible to pretend to solve by resyncing
on timer interrupts. At least for the x86 the fix is to sort out the fb
locking properly
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: time drift and fb comsole activity
2001-03-01 0:01 ` Alan Cox
@ 2001-02-28 23:59 ` Cort Dougan
2001-03-01 0:04 ` Alan Cox
0 siblings, 1 reply; 8+ messages in thread
From: Cort Dougan @ 2001-02-28 23:59 UTC (permalink / raw)
To: Alan Cox; +Cc: Andrew Morton, ebuddington, linux-kernel
} > We have the same trouble on PPC but we make sure to re-sync on each
} > interrupt. We can see several lost timer interrupts after a ^L in emacs
} > running on the fb console. The resync lets us catch up on those interrupts
} > (and not lose time) but we still spend a lot of time not servicing
} > interrupts.
} > Does x86 not resync on timer interrupts?
}
} The fbdev console problem is too horrible to pretend to solve by resyncing
} on timer interrupts. At least for the x86 the fix is to sort out the fb
} locking properly
How close is that?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: time drift and fb comsole activity
2001-02-28 23:59 ` Cort Dougan
@ 2001-03-01 0:04 ` Alan Cox
2001-03-01 0:04 ` Cort Dougan
0 siblings, 1 reply; 8+ messages in thread
From: Alan Cox @ 2001-03-01 0:04 UTC (permalink / raw)
To: Cort Dougan; +Cc: Alan Cox, Andrew Morton, ebuddington, linux-kernel
> } The fbdev console problem is too horrible to pretend to solve by resyncing
> } on timer interrupts. At least for the x86 the fix is to sort out the fb
> } locking properly
>
> How close is that?
Its not in itself a big problem, but since it doesnt reformat your hard disk,
explode randomly or drop you off the network its not at the top of my priority
list right now
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: time drift and fb comsole activity
2001-03-01 0:04 ` Alan Cox
@ 2001-03-01 0:04 ` Cort Dougan
0 siblings, 0 replies; 8+ messages in thread
From: Cort Dougan @ 2001-03-01 0:04 UTC (permalink / raw)
To: Alan Cox; +Cc: Andrew Morton, ebuddington, linux-kernel
} > } The fbdev console problem is too horrible to pretend to solve by resyncing
} > } on timer interrupts. At least for the x86 the fix is to sort out the fb
} > } locking properly
} >
} > How close is that?
}
} Its not in itself a big problem, but since it doesnt reformat your hard disk,
} explode randomly or drop you off the network its not at the top of my priority
} list right now
I'll stick with the pretend fix that results in accurate time-keeping,
then.
Thanks for the info.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: time drift and fb comsole activity
2001-02-28 22:00 time drift and fb comsole activity Eric Buddington
2001-02-28 23:37 ` Andrew Morton
@ 2001-03-01 0:43 ` Brad Douglas
1 sibling, 0 replies; 8+ messages in thread
From: Brad Douglas @ 2001-03-01 0:43 UTC (permalink / raw)
To: Andrew Morton; +Cc: ebuddington, linux-kernel
On 28 Feb 2001 23:37:40 +0000, Andrew Morton wrote:
> Eric Buddington wrote:
> >
> > I know this has been reported on the list recently, but I think I can
> > provide better detail. I'm running 2.4.2 with atyfb on a K6-2/266
> > running at 250. This system has no history of clock problems.
> >
> > adjtimex-1.12 --compare gives me "2nd diff" readings of -0.01 in quiescent
> > conditions.
> >
> > flipping consoles rapidly cboosts this number to -3 or -4.
> >
> > catting the full documentation to ntpd (seemed appropriate) gives me
> > "2nd diff" numbers a little over 34. If I read the numbers correctly,
> > 47 seconds of CMOS time passed while the system clock only passed 13
> > seconds.
> >
> > The processor and the CMOS clock were moving at zero velocity relative
> > to each other, and were both in normal Earth gravity.
>
> The kernel blocks interrupts during console output. fbdev
> consoles are slow. Net result: many lost timer interrupts.
>
> I'm working on it. Slowly. Should have something next week.
You may want to check out the linuxconsole project on Sourceforge. I
believe one of their goals is to remove/minimize the console lock...
Brad Douglas
brad@neruo.com
http://www.linux-fbdev.org
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-03-01 1:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-28 22:00 time drift and fb comsole activity Eric Buddington
2001-02-28 23:37 ` Andrew Morton
2001-02-28 23:50 ` Cort Dougan
2001-03-01 0:01 ` Alan Cox
2001-02-28 23:59 ` Cort Dougan
2001-03-01 0:04 ` Alan Cox
2001-03-01 0:04 ` Cort Dougan
2001-03-01 0:43 ` Brad Douglas
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®