Re: TSC Timecounter and multi-core/SMP

From: Jeff Roberson <jroberson_at_jroberson.net>
Date: Mon, 14 Apr 2008 21:51:42 -1000 (HST)
On Tue, 15 Apr 2008, gnn_at_freebsd.org wrote:

> At Fri, 11 Apr 2008 08:34:29 -0400 (EDT),
> Andrew Gallatin wrote:
>>
>>
>> gnn_at_freebsd.org writes:
>> > Howdy,
>> >
>> > Is the TSC timecounter synchronized across multiple cores and/or
>> > processors?  A quick search seems to indicate it's not but I'd like to
>> > find a definitive reference on the TSC.
>>
>> There is a great comment in the OpenSolaris source code talking about
>> TSCs and their behavior on SMP systems.  See
>> http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/i86pc/os/timestamp.c
>>
>
> Actually this was a very helpful bit of reading.
>
> I also believe that at least per processor there is only 1 TSC, that
> is, on a 2 or 4 core, all cores share the same TSC.

I think we should confirm whether this is the case with earlier opterson. 
I have seen two processors on the same die out of sync.

Jeff

>
> Best,
> George
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Tue Apr 15 2008 - 05:51:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC