Messages in this thread | | | Date | Tue, 18 Jun 2002 02:48:23 +0200 | From | Kurt Garloff <> | Subject | Re: [Patch] tsc-disable_A5 |
| |
Hi Ben,
On Fri, Jun 14, 2002 at 02:53:07PM -0400, Benjamin LaHaise wrote: > On Fri, Jun 14, 2002 at 11:35:26AM -0700, john stultz wrote: > > This results in sequential calls to gettimeofday to return > > non-sequential time values. By disabling the TSCs on these boxes, it > > forces gettimeofday to use the PIC clock instead, fixing the problem. > > This seems to be yet another reason for supporting per-CPU TSC > calibration, as that would fix machines with different speed cpus, too.
I agree. Maybe the patch I once made to support CPUs with different speeds can serve as a starting point?
http://www.uwsg.iu.edu/hypermail/linux/kernel/0203.1/0481.html
However, one would need to make sure that all CPUs occasionally do receive timer interrupts, otherwise your TSC may overflow. Depending on your hardware (APICs), this might be an issue. I've been told that Fosters do misbehave ...
Regards, -- Kurt Garloff <garloff@suse.de> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE Linux AG, Nuernberg, DE SCSI, Security [unhandled content-type:application/pgp-signature] | |