Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 13:56:09 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@FreeBSD.org
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org
Subject:   Re: svn commit: r184169 - in head/sys: amd64/amd64 i386/i386
Message-ID:  <200810221356.20156.jkim@FreeBSD.org>
In-Reply-To: <200810221730.m9MHUc0R034507@svn.freebsd.org>
References:  <200810221730.m9MHUc0R034507@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 October 2008 01:30 pm, Jung-uk Kim wrote:
> Author: jkim
> Date: Wed Oct 22 17:30:37 2008
> New Revision: 184169
> URL: http://svn.freebsd.org/changeset/base/184169
>
> Log:
>   Add AMD Family 0Fh, Model 6Bh, Stepping 2 to the list of
> invariant TSCs and fix i386 test.

Here is a simple test program:

http://people.freebsd.org/~jkim/get_tsc.c

How to find whether you have P-state invariant TSC:

- Kill powerd if you are running it.
- Set kern.timecounter.hardware to something other than TSC.
- Set the lowest CPU frequency manually and run the test.

If it reports something close to maximum frequency, you have P-state 
invariant TSC.

FYI...

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810221356.20156.jkim>