« first day (4969 days earlier)      last day (239 days later) » 

10:58
@LandonZeKepitelOfGreytBritn the difference doesn't look that large. So it might not be a full cache-miss. Maybe some slight overhead for marking the prediction as successful or for marking the previous line as next to replace or something. But that's just pure speculation I never looked that deeply into where predictors or cache access have overhead..
 
3 hours later…
13:35
if you are memory bound then you will feel the results of the memory fetches stalling your execution
there is no prefetching that can make RAM faster than what it can possible transfer
@ratchetfreak you can give hints depending on the architecture. But those are very architecture dependent. Most FISC architectures have memcpy/memmov detection where they optimize that whole thing. When Intel/AMD/ARM give you an implementation they are doing it for a reason.
still won't make the connection between CPU and RAM faster
it will make it feel faster that the always cold full 6 reads for each load that would happen with no caches at the cpu level
technically no, but based on what I've observed it can make the turn around faster. I don't know enough of the details to speculate too much but it's quite observable
 
6 hours later…
19:57
 
3 hours later…
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
(yes same cpu is used)
@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

« first day (4969 days earlier)      last day (239 days later) »