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

后端 未结 5 959
时光说笑
时光说笑 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:42

    You might want to head over to http://agner.org/optimize/ and grab the optimization PDFs available there - there's a lot of good (low-level) information in there. Pretty focused on assembly language level, but there's lessons to be learned for C/C++ programmers as well.

    Volume 3, "The microarchitecture of Intel, AMD and VIA CPUs" should be of interest :-)

提交回复
热议问题