Results 1 to 1 of 1
My machine has an AMD Opteron dual-core. In order to maintain a high-accuracy timer, I wrote a program to read TSC (Timestamp Clock) value. The TSC read instruction always read ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-22-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 1
TSC value differs across multi-core in recent kernel
My machine has an AMD Opteron dual-core. In order to maintain a high-accuracy timer, I wrote a program to read TSC (Timestamp Clock) value. The TSC read instruction always read the TSC vaue from the core which the program is scheduled to. For old kernel such as 2.6.18, TSC value is consistent among different cores. However, after I upgrade the kernel to 2.6.22 (or 2.6.24), TSC value clearly differs among cores. The difference is about 8 millisecond.
Could anybody give some hints on where the kernel makes this change?
Thanks greatly.


Reply With Quote
