linux - TLB translation vs cache -
i having doubt regarding memory management in operating systems.i know cache temporary storage location used speed memory accesses whereas tlb used speed translation virtual address physical address.
- now if virtual memory address generated,what first step taken?
- if first step referring tlb , generating physical address, second step taken?(is referring cache see whether data stored in cache)?
- do modern computers use tlbs?
- how cpu know page table located?
- it depends mean "generated". if meant "read", first step either tlb if address has been translated or, if cache supports virtual addresses, in cache see if there entry corresponding virtual address (and if belongs appropriate process, virtual address not enough).
- if first step virtual physical translation, cache physical addresses. assuming want read, indeed next step @ cache.
- yes do. processors using virtual memory use tlb.
- yes, depends on architecture. on intel(x86) processor, instance, page table pointer stored
cr3
register.
Comments
Post a Comment