Re: [Speed] External sources of noise changing call_simple "performance"
2016-05-18 8:55 GMT+02:00 Maciej Fijalkowski <fijall@gmail.com>:
I think you misunderstand how caches work. The way caches work depends on the addresses of memory (their value) which even with ASLR disabled can differ between runs. Then you either do or don't have cache collisions. How about you just accept the fact that there is a statistical distribution of the results on not the concrete "right" result?
Slowly, I understood that running multiple processes are needed to get a better statistical distribution. Ok.
But I found a very specific case where the result depends on the command line, and the command line is constant. Running the benchmark once or 1 million of times doesn't reduce the effect of this parameter, since the effect is constant.
Victor
participants (1)
-
Victor Stinner