public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: john stultz <johnstul@us.ibm.com>
Cc: Lee Revell <rlrevell@joe-job.com>,
	Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
	Roger Heflin <rheflin@atipa.com>,
	"'linux-kernel'" <linux-kernel@vger.kernel.org>
Subject: RE: Dual core Athlons and unsynced TSCs
Date: Fri, 13 Jan 2006 21:34:52 -0500	[thread overview]
Message-ID: <1137206092.7150.2.camel@localhost.localdomain> (raw)
In-Reply-To: <1137203402.11300.41.camel@cog.beaverton.ibm.com>

On Fri, 2006-01-13 at 17:50 -0800, john stultz wrote:
> On Fri, 2006-01-13 at 20:43 -0500, Steven Rostedt wrote:
> > On Fri, 13 Jan 2006, john stultz wrote:
> > 
> > >
> > > This is as I understand it:
> > >
> > > With 2.6.15 on x86-64:
> > > 	If available, alternate timesources (HPET, ACPI PM) will be used if
> > > available on AMD SMP systems. (clock= is i386 only)
> > 
> > Hmm, should I boot without the clock= to prove this?
> 
> Feel free. That or grep the x86-64 time.c code.
> 
> Look for:
> 	time.c: Using PM based timekeeping.
> 
> To verify the timesource selection.

So much for not looking at code! 

I uploaded yet another version of 
http://www.kihontech.com/tests/rt/monotonic.c
that now also tests the tsc too, to see if it goes backwards.  If it
does, then it prints (only once) that fact and continues testing the
gettime function.

So this proves that the tsc does go back and the gettime still is
working.


$ ./monotonic
main program pid=7137
hello from thread 0!
hello from thread 4!
last tsc is 4389431102233  this tsc is 4389429636684
hello from thread 1!
hello from thread 2!
hello from thread 3!

-- Steve




  parent reply	other threads:[~2006-01-14  2:35 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12 22:17 Dual core Athlons and unsynced TSCs Lee Revell
2006-01-13 15:10 ` Roger Heflin
2006-01-13 16:04   ` Steven Rostedt
2006-01-13 17:47     ` Lee Revell
2006-01-13 17:52       ` Steven Rostedt
2006-01-13 17:54         ` Lee Revell
2006-01-13 18:41           ` Steven Rostedt
2006-01-13 18:55             ` Lee Revell
2006-01-13 20:09               ` Steven Rostedt
2006-01-13 20:26                 ` Steven Rostedt
2006-01-13 20:40                   ` Lee Revell
2006-01-13 20:43                   ` Lee Revell
2006-01-13 20:46                     ` Thomas Gleixner
2006-01-13 20:48                       ` Lee Revell
2006-01-13 20:51                         ` Thomas Gleixner
2006-01-13 20:52                         ` Steven Rostedt
2006-01-13 21:05                       ` Steven Rostedt
2006-01-13 21:10                         ` Thomas Gleixner
2006-01-13 21:17                           ` Steven Rostedt
2006-01-16  9:52                             ` Thomas Gleixner
2006-01-16 15:55                               ` Steven Rostedt
2006-01-14  0:23                 ` john stultz
2006-01-14  1:10                   ` Steven Rostedt
2006-01-14  1:14                     ` Lee Revell
2006-01-14  1:23                       ` john stultz
2006-01-14  1:27                         ` Lee Revell
2006-01-14  1:39                           ` john stultz
2006-01-14  1:43                             ` Steven Rostedt
2006-01-14  1:50                               ` john stultz
2006-01-14  2:15                                 ` Steven Rostedt
2006-01-14  2:34                                 ` Steven Rostedt [this message]
2006-01-16  1:19                             ` Andi Kleen
2006-01-14  6:54               ` Christoph Lameter
2006-01-13 18:06 ` thockin
2006-01-13 17:58   ` Lee Revell
2006-01-13 18:16     ` thockin
2006-01-13 18:09       ` Lee Revell
2006-01-13 18:55         ` thockin
2006-01-13 18:56           ` Sven-Thorsten Dietrich
2006-01-13 19:00             ` Lee Revell
2006-01-13 19:07               ` Sven-Thorsten Dietrich
2006-01-13 21:18               ` David Lang
2006-01-13 21:56                 ` thockin
2006-01-13 22:05                   ` David Lang
2006-01-13 22:18                     ` Sven-Thorsten Dietrich
2006-01-13 22:49                       ` David Lang
2006-01-14  0:41                         ` Andreas Steinmetz
2006-01-14  1:04                           ` David Lang
2006-01-14  1:21                             ` Andreas Steinmetz
2006-01-14  1:51                               ` thockin
2006-01-15  8:52                             ` Zan Lynx
2006-01-15 16:25                               ` thockin
2006-01-15 16:33                                 ` Lee Revell
2006-01-15 18:21                                   ` thockin
2006-01-15 18:29                                     ` Lee Revell
2006-01-15 18:49                                       ` thockin
2006-01-14  1:13                           ` thockin
2006-01-13 22:23                     ` thockin
2006-01-13 19:13             ` Xavier Bestel
2006-01-13 19:32             ` thockin
2006-01-13 20:58               ` Steven Rostedt
     [not found] <5ujmj-1UQ-511@gated-at.bofh.it>
     [not found] ` <5uBnF-2SG-11@gated-at.bofh.it>
     [not found]   ` <5uBnF-2SG-9@gated-at.bofh.it>
     [not found]     ` <5uBxi-3iM-21@gated-at.bofh.it>
     [not found]       ` <5uBGY-3ul-21@gated-at.bofh.it>
     [not found]         ` <5uCa5-443-45@gated-at.bofh.it>
     [not found]           ` <5uCjF-4fW-15@gated-at.bofh.it>
     [not found]             ` <5uCtj-4Fi-15@gated-at.bofh.it>
2006-01-14  0:24               ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1137206092.7150.2.camel@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rheflin@atipa.com \
    --cc=rlrevell@joe-job.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox