0% found this document useful (0 votes)
13 views6 pages

Advanced Computer Architecture

The document discusses cache coherence protocols and their processes for managing data consistency across multiple caches in a computing system. It outlines various states of cache blocks, including read and write operations, and the mechanisms for invalidating or updating cache entries to ensure data integrity. Additionally, it describes the role of directory-based and token-based protocols in coordinating cache actions and maintaining shared data consistency.

Uploaded by

Aman Singla 044
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views6 pages

Advanced Computer Architecture

The document discusses cache coherence protocols and their processes for managing data consistency across multiple caches in a computing system. It outlines various states of cache blocks, including read and write operations, and the mechanisms for invalidating or updating cache entries to ensure data integrity. Additionally, it describes the role of directory-based and token-based protocols in coordinating cache actions and maintaining shared data consistency.

Uploaded by

Aman Singla 044
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

(W)

un ota cachea
nitedale 1Okon aa fnocessan oriles to a acbe
block t balakes tR cobies in otfr
achs

1Read HiAA nacl HiCh whon


to head block at i's not aziloble
memad
n inalidinita local caahe

)ADL otRe cachuA noo he bus to Ace


Block

otRen cach RasJRa block The dota jsfetchad


Bemmaun memohyandtho block tonedin the
iguestig proccasa cache in shanad stade
) f anotken ache fas he blokf tin Medk iea
Yptak that cache Lanits baak the ubaloated valuo to
Aubies it dsot
Changes ita state to hansd aThe negutatig cacha ala sads
ale
(W

0) A natn b cache fead Hiss

AJn bhaud stete


2. Wbite His ALite niA, foppens uken
anta
its cachenbhent bit in Bane tte

h the bus to,gain oLclusie aces


ilA othen Caches shoaß the bus'
Rae the block tRoy insalidate it
kas
nikit aak bupn indalidatin

Sampli)
nat ihpl'» cacha iteus

Ahcincoiss

3anit Rit A onite ht ocens when a focaa)oh Lorut


anite to a block dhoti Areset ina
ahe
DCaseol. 0) Whute halidate Brotoual,
G)Baehon dend, a
otae cauches ialdling thaame block
ALL ncthing achesunuelidate tRais cobt

Lateybdate Bcto eol


Snatead
olata
(6ofRen caches ubdatea tRei'i cobie, coitf Ao. neus ualut
Raauna te in Ahaed. tte
ke blakjn
amble c)e Rablock cnsanealatae andd ant
n

L A hites to c btate becomey Nadfie

od aCd do
coehes n a muliBnocaankn. This abhno ach cunta

acnosy a shanel us
(W)

yamfonats ScRanna
Dinchny . Thedinectt is a castnalized data ob
that kals tacak of the stote f ech acha
block n tRa s len 4 meauintains infunmation abou
block and
btate. Rose copes
Cannospeads to a catke block Thase enkue
Contain:
a)atein fooaiena Srolitales wftRen the block is in
Ahoad, modiea an wnucldte.

(6) Shone istja A Oist rocasans tiat Rart a copt


block in thei ahe ThiA liat i Ü e toend inuall
om updaBe messages when neeLASa

hital ta' wken a klock is fnst lodeol jintoa coah

2. Resd Reued an a onactalon Jleguests to aas a hla


chucka he tade e R black and end the oht to
the igustig noJn it sin a shanad on madfi
J Writ Request' when a nocao_uensts o caik to
block , t bends aa nequest tothe dinecto: The
insctazy than denda wiualidak nmeabages to alloth
fanocessass that Rae cobiesgf tAe bock, ensuing
mad Rc block at ant gien bint
Can

Sade Tnanaitin)a The dneaty monggus state acnsitions


Jan cach hlok

Daftoane BoscdBotonlsls Sofhoane-bascd ache co Ransuci


Bmctoola ane exscntial fon maintauning dbta
ansisden andncknngatian n dsbuibutl comuting
yslems.These otocala se.algonitns and data sbsta
caRenan of cacRe achass mltle
Baocessa

|Aanikn Coandinahienja Sftaane. -bas ed natoala nely


Cn alyanitfny to coanlinate tRe aehons f
pfenantcachas Thase alyanitRrnns ensune hat ufen o
Cachemofies a shaiaoldata item,allotRan Cachas aih
tahie Geot ata ane. notieol anal ahelatod azcondighy
YRat
o Dct Stuchoc'a Dath stuchnea such as daee tonies and
ques ane used to tack Re atate 8ache
in
nanaingthe coRanenc
lcachepold ufickdata in fat de
W

achiacdonag me ORon
modfes La dlatu ilem,t ends
ubdatk
to otencoches

tokenaneo ataca used in mulhibnocoaon aglon


t defines tknee btles fon oeh cache hlockolies(),
Shanud (s), ond imalia. (). The Anotocal enuones tRat only
ne cache can Raue a block ia tRa modifiedtde at
an tine thus maintinig cakenenee
Q. HosT Botncolin The Has (Hodied, ooned, shanadnualit)
natcal s on ertenaionftR NSL Bnotocal t inta
adlditioalstate, Oanod(o), Rick allo acoohe a
ald abloce in a moificdstade wkile atRan Caches Can Ro
it in o shoned tate

3 HO£SI Baotocoa The HoesT (Hacdiie, Qad, bcclsiShand.


by aldiny an Qaned.(o) state. Thia otate alloos muliL
aches o Rald copics st a black cin amalfed statesiA
cache degaded
Jbaick chanus fo main mnart

You might also like