I recently came across an interesting paper titled
What Every Programmer Should Know About Memory by Ulrich Drepper. The paper dives into the structure of memory subsystems in use on modern commodity hardware,and what programs should do to achieve optimal performance by utilizing them.

What I will be doing is just summarizing what I (as a...