svn commit: r184169 - in head/sys: amd64/amd64 i386/i386

Jung-uk Kim jkim at FreeBSD.org
Wed Oct 22 17:56:28 UTC 2008


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


More information about the svn-src-head mailing list