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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to