lkml.org 
[lkml]   [2002]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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]
    \
     
     \ /
      Last update: 2005-03-22 13:26    [W:3.555 / U:0.376 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site