The Gateway to Computer Science Excellence
0 votes

can anyone explain how TLB is organized when it is used as Direct mapped and set-assosiative  or suggest any resource to read ?

in Operating System by Active (3.6k points) | 25 views

1 Answer

+1 vote

the concept of TLB directed , set associative is same a cache direct mapping or  set associative mapping

the only difference is 

"TLB is about ‘speeding up address translation for Virtual memory’ so that page-table needn’t to be accessed for every address"


" CPU Cache is about ‘speeding up main memory access latency’ so that RAM isn’t accessed always by CPU"

 1) Direct mapping



2) Set Associative




by Boss (13.7k points)
just see the organization of cache from any standard book ....In case of TLB it's same as the Cache organization only differ is TLB store the address of the physical address and cache store the "block / frame " of the main memory

No related questions found

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,650 questions
56,242 answers
95,944 users