Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Why CPU_CLK_UNHALTED.REF_TSC is lower than CPU_CLK_UNHALTED.THREAD on CPU without Turbo

Alexander_Alexeev
初学者
2,122 次查看

Hello 

Almost whole my question is in subject. Question is simple and straight forward.

Why reference frequency might be significantly lower ( ~13% ) than thread frequency on CPU with SKU without Turbo.

E.g.

Package               CPU_CLK_UNHALTED.REF_TSC  CPU_CLK_UNHALTED.THREAD

package_0          350,845,000,000                398,688,400,000

CPU: Intel(R) Xeon(R) CPU E5-2407 0 @ 2.20GHz

SMT (Hyper-threading) is disabled

My ideas are limited to two cases, either something wrong with VTune or PMU. Are there any other possibilities?

Thanks,

Alexander

 

0 项奖励
7 回复数
Bernard
重要分销商 I
2,122 次查看

If I understood it properly  CPU_CLK_UNHALTED.THREAD could have spent less time in halt state hence its counter value is higher.

Partial info is available  in this thread https://software.intel.com/en-us/forums/topic/285232

0 项奖励
Alexander_Alexeev
初学者
2,122 次查看

Both counters are collected for the same conditions, so from my point of view it would be strange if one counter would observe by 13% more unhalted state than another.

Collection is run with target type "profile system" so it global and includes execution of whole SW stack.

 

0 项奖励
Patrick_F_Intel1
2,122 次查看
Hello Alexander, I assume you are collecting both clocktick events simultaneously. Is this true? If so, then it looks like turbo is not truly disabled. How are you disabling turbo mode? Pat
0 项奖励
Alexander_Alexeev
初学者
2,122 次查看

Accordingly to this page http://ark.intel.com/products/64614  Turbo Boost isn't available for the SKU E5-2407 (Sandy Bridge). There is nothing to disable.

Yes, counters were collected simultaneously with VTune 2013 U14

0 项奖励
Alexander_Alexeev
初学者
2,122 次查看

I have to apologize! SKU was incorrectly identified. The real one is   E5-2430  that has Turbo.

Thank you for your comments.

 

0 项奖励
Patrick_F_Intel1
2,122 次查看
What is the line from the movie? "What are you going to believe, me or your lying eyes?" ... this is what the guy says to his girlfriend after the girl catches the boyfriend cheating... Not sure that the line really applies here but I've always liked the line anyway. In any case, from the counters, I'd say it looks like your system DOES support turbo. Can you check in your bios to see if there is a cpu option to enable/disable turbo? And if so, can you disable turbo and rerun the measurement? Pat
0 项奖励
Bernard
重要分销商 I
2,122 次查看

Probably as Patrick said Turbo is enabled and you are seeing CPU_CLK_UNHALTED.THREAD  variation as a function of current load.

0 项奖励
回复