memory - TLB vs Page Table -
the page table associate each virtual page associated physical frame. tlb same except contains subset of page table.
what purpose of tlb if page table same thing , has more data?
speed.
the tlb cache holds (likely) used pages. principles of locality , temporality (sp) pages referenced in tlb used again soon. underlying idea caching. when these pages needed again, takes minimal time find address of page in tlb. page table can enormous, walking find address of needed page can expensive.
see https://en.wikipedia.org/wiki/translation_lookaside_buffer
Comments
Post a Comment