Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mini_marcel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
mini_marcel
9y ago
Sorry for the delay, I took some time to perform additional researches. What I found is that my i5 has the code name "Products formerly Haswell". I don't exactly know if it has the "next-page prefetcher", but I woul
2.
▲
by
mini_marcel
9y ago
Yes you're right! Since I was using the benchmark tools of go test, I had to use this increment. The main goal was to compare exactly same operations between each benchmarks. However, in the last test I ran, where I was walking indefin
3.
▲
by
mini_marcel
9y ago
Ok yes!! This is perfectly clear now, thanks. I didn't know, very interesting and a smart optimisation of cache lines use! I've also read that the processors are able to ask words (of a cache line) in different orders, and so ask
4.
▲
by
mini_marcel
9y ago
Hi! I'm sure I misunderstand your comment, but correct me if I'm wrong. For instance, if each item has a size of 64B (for N=7), which is the size of a cache line, then whatever the position of the first element into the first cach
5.
▲
by
mini_marcel
9y ago
Hi, thanks for your question. You're right, this is exactly why a few paragraphs later I doubt about that statement, saying that the prefetcher is certainly not reading the entire array and may act exactly like N=7. I think that this i
6.
▲
by
mini_marcel
9y ago
Thanks!! :) I'd be very glad if you could point me out the issues you found!
7.
▲
by
mini_marcel
9y ago
Hi, thanks for reading. I'm sorry if this statement was not clear. It was of course outside the instructions necessary for the loop itself.