Selasa, 05 Januari 2010

cache coherence protocol

• Directory-based: A single location (directory) keeps track
of the sharing status of a block of memory
• Snooping: Every cache block is accompanied by the sharing
status of that block – all cache controllers monitor the
shared bus so they can update the sharing status of the
block, if necessary

- Write-invalidate: a processor gains exclusive access of
a block before writing by invalidating all other copies
- Write-update: when a processor writes, it updates other
shared copies of that block

• Directory-based: A satu lokasi (direktori) melacak
dari status berbagi blok memori
• mengintai: Setiap cache blok tersebut dibarengi dengan berbagi
status yang menghambat - semua cache controller memantau
bus bersama sehingga mereka dapat memperbarui status berbagi
blok, jika perlu

- Tulis-membatalkan: sebuah prosesor memperoleh akses eksklusif
blok sebelum menulis dengan mengabaikan semua salinan lain
- Tulis-update: ketika sebuah prosesor menulis, memperbarui lain
berbagi salinan dari blok

Tidak ada komentar:

Posting Komentar