2 ms·
Try to count the total number of page faults per second in any task you're doing. I don't know of any "average code" that produces an order of 3 millions PF pe
by acqq 13y ago
Try to count the total number of page faults per second in any task you're doing. I don't know of any "average code" that produces an order of 3 millions PF per second, which is needed for you to observe 10% slowdown. The code which does that doesn't do anything than doing the page faults. Linus claims he managed to get 5% slowdown when doing nothing but PF.
It's probably something like hundreds of thousands per second at most, giving you something like a less than 0.5% slowdown. Versus the speedup of 300% for some other code (it's an extreme value actually, but still). Your newer Intel CPU certainly didn't get slower on average code compared to the Core Duo, for the same clock speed.
Nothing to raise the eyebrows here. I believe it's not "in Linus case" but "in every case" that the overall time is shorter.