CPU Memory - What Every Programmer Should Know About Memory

Ulrich Drepper
5 comments

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.




Comments:

kjkim648
Said:
Thanks a lot.
2 years ago
+1
Reply
Sorry, you need javascript enabled to post any comments.
ranga
Said:
good
2 years ago
0
Reply
Sorry, you need javascript enabled to post any comments.
MitjaN
Said:
Thanks
2 years ago
0
Reply
Sorry, you need javascript enabled to post any comments.
hannes71f
Said:
thx
1 year ago
0
Reply
Sorry, you need javascript enabled to post any comments.
Asok
Said:
good
10 months ago
0
Reply
Sorry, you need javascript enabled to post any comments.
Sorry, you need javascript enabled to post any comments.