mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* what is the better method to do tsc synchronized check?
@ 2011-03-17  2:56 Luming Yu
  2011-03-17  4:10 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Luming Yu @ 2011-03-17  2:56 UTC (permalink / raw)
  To: LKML

Hi there,

I tested two different methods to do TSC sync check on a Sandy Bridge system.
The first TSC sync check method is from upstream -38-rc that considers
TSC is synced.
The second TSC sync check method is from a 2.6.18 based  kernel that
considers TSC
is NOT synced on the Sandy Bridge system. (I modified sync_tsc() to
just test (not modify TSC) on
the cpu being tested.)

[root@intel-sugarbay-DO-01 kernel]# dmesg | grep -i synchroniz
CPU 1: synchronized TSC with CPU 0 (last diff 29 cycles, maxerr 276 cycles)
CPU 2: synchronized TSC with CPU 0 (last diff 32 cycles, maxerr 280 cycles)
CPU 3: synchronized TSC with CPU 0 (last diff 31 cycles, maxerr 284 cycles)

Do you guy think we need to take 2.6.18-based tsc sync testing method
rather than the current one in upstream?

Any inputs are appreciated.


Thanks
Luming

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: what is the better method to do tsc synchronized check?
  2011-03-17  2:56 what is the better method to do tsc synchronized check? Luming Yu
@ 2011-03-17  4:10 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2011-03-17  4:10 UTC (permalink / raw)
  To: Luming Yu; +Cc: LKML, Thomas Gleixner, John Stultz

[ Added Cc's of people that might help you. ]

-- Steve

On Wed, Mar 16, 2011 at 10:56:25PM -0400, Luming Yu wrote:
> Hi there,
> 
> I tested two different methods to do TSC sync check on a Sandy Bridge system.
> The first TSC sync check method is from upstream -38-rc that considers
> TSC is synced.
> The second TSC sync check method is from a 2.6.18 based  kernel that
> considers TSC
> is NOT synced on the Sandy Bridge system. (I modified sync_tsc() to
> just test (not modify TSC) on
> the cpu being tested.)
> 
> [root@intel-sugarbay-DO-01 kernel]# dmesg | grep -i synchroniz
> CPU 1: synchronized TSC with CPU 0 (last diff 29 cycles, maxerr 276 cycles)
> CPU 2: synchronized TSC with CPU 0 (last diff 32 cycles, maxerr 280 cycles)
> CPU 3: synchronized TSC with CPU 0 (last diff 31 cycles, maxerr 284 cycles)
> 
> Do you guy think we need to take 2.6.18-based tsc sync testing method
> rather than the current one in upstream?
> 
> Any inputs are appreciated.
> 
> 
> Thanks
> Luming
> --

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-17  4:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-17  2:56 what is the better method to do tsc synchronized check? Luming Yu
2011-03-17  4:10 ` Steven Rostedt

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®