I am trying to compare a product that runs on an Intel Pentium with Linux on top of it. The problem is that I get significant performance changes during successive test runs when using the RDTSC instruction. The execution time for the same software varies from 5 to 10 million clock cycles, so in the worst case, I have 100% overhead. I know there are performance variations caused by cache conflict, however, maybe I can fix other potential problems like interrupts, other processes, etc.?
It would be grateful for any useful tips on how to do this correctly.
Thanks a lot Kenny
source
share