What Every Programmer Should Know About Memory

 
RedHat Inc. @ Ulrich Drepper

As CPU cores become both faster and more numerous, the limiting factor for most programs is now, and will be for some time, memory access. Hardware designers have come up with ever more sophisticated memory handling and acceleration techniques–such as CPU caches–but these cannot work optimally without some help from the programmer. Unfortunately, neither the structure nor the cost of using the memory subsystem of a computer or the caches on CPUs is well understood by most programmers. This paper explains the structure of memory subsystems in use on modern commodity hardware, illustrating why CPU caches were developed, how they work, and what programs should do to achieve optimal performance by utilizing them.

"What every programmer should know about memory" (PDF, 900KB)
Posted by: shinny
Filed under: Programming, Linux
All Entries From: December 25, 2007
이메일 주소는 웹페이지에 표시하지 않습니다.
이름:
이메일:
서식지:
홈페이지:
Use Emoticons 정보 기억?
답글 발생시 이메일로 알림?
Submit the word you see below:

<< Back to main


Archives

Select a Past Entry
View Entries By Category
View Entries By Month


TOP