How many bytes does a Xeon bring into the cache per memory access?

后端 未结 5 938
时光说笑
时光说笑 2020-12-28 10:17

I am working on a system, written in C++, running on a Xeon on Linux, that needs to run as fast as possible. There is a large data structure (basically an array of structs)

5条回答
  •  隐瞒了意图╮
    2020-12-28 10:34

    Good (long) article about organizing data structures to take cache and RAM hierarchy into account from GNU's libc maintainer: https://lwn.net/Articles/250967/ (full PDF here: http://www.akkadia.org/drepper/cpumemory.pdf)

提交回复
热议问题