Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
1769 Discussions

The RDTSC instruction are abnormally SLOW on some intel platform

harmonyofthenight
215 Views

test environment

 

Intel Platform:

Intel Core I5 12400F

newest microcode (0x12B)

win10 22H2 19045.5487

 

Amd Platform

AMD Ryzen 5800H

win10 22H2

 

TEST CASE:

harmonyofthenight_0-1740759299011.png

assembly of the key code (__builtin_ia32_rdtsc)

harmonyofthenight_1-1740759339130.png

 

TEST RESULT

AMD(163ms)

harmonyofthenight_3-1740759410937.png

 

Intel(5321ms,much slower than AMD)

harmonyofthenight_2-1740759374764.png

 

Intel Vtune Profiler result on the intel platform 

 
 

4af58c162d1664759070bd178a7c758e.png

 

0 Kudos
0 Replies
Reply