caching - Relationship between a virtual page and cacheline -



have question on os virtual page , cpu cacheline.
basically, os manages 4kb sized virtual page.
however, cacheline 64b.
can see page consists of 64 * 64b cacheline.
if os request page, page gets mapped 64 cachlines?
how page gets mapped cacheline?
memory controller request 64 times memory?

thank you!

os allocates space new pages in physical memory (ram) not organized in terms of cache lines. on allocating new page, os allocate 4kb space in physical memory new page.

when processor first reads or writes address in newly allocated page, cause cache miss. cache send cache line fetch request memory controller. memory controller fetch appropriate 64 bytes (cache line) page , send requesting cache.


Comments