23:04
@ratchetfreak well not quite AFAIK. As you can see below. Data always gets fetched ahead and one you touch data which was prefetch, fetching gets triggered again leading it to always be a couple of steps ahead of you
@Mgetz no hinting involved in this case. Compiling with -O0
and I didn't add any explicit hints myself either, so I am purely relying on the hardware's capacity to figure everything out on its own. Which based on the above paper it should be perfectly able to do
What is described in the paper makes absolute sense, however that is not the behavior that I am seeing
@PeterT hmm could be yes. Indeed the increase in time is quite low, so perhaps the data is in L2 and you have an L1 miss. However based on the CPU's datasheet the prefetcher operates at the L1 level meaning you should still not get any misses afaik since it would prefetch it straight to L1
at least that's how I understand it