title: What is the differences between swap space and cpu cache?
body: <p>When I googled about TLB vs CPU cache, I found this graph.
  <a href="https://i.stack.imgur.com/Ndbeg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ndbeg.png" alt="enter image description here"></a></p>
  
  <p>According to the virtual memory mechanism, if we cannot find things in physical memory or disk cache, CPU will look for things in the disk(swap place). That's to say, if we extend this picture, a disk cache should be drawn inside main memory and a disk should be drawn after the main memory. Do I understand them correctly? </p>
  
  <p>Reference: <a href="https://www.geeksforgeeks.org/whats-difference-between-cpu-cache-and-tlb/" rel="nofollow noreferrer">whats-difference-between-cpu-cache-and-tlb</a></p>