Docsity

Merging Write Buffer-Advance Computer Architecture-Lecture Slides, Slides of Advanced Computer Architecture

Partial preview of the text

Download Merging Write Buffer-Advance Computer Architecture-Lecture Slides and more Slides Advanced Computer Architecture in PDF only on Docsity!

4: Merging Write Buffer

- Multiword writes are usually faster than writes performed one at a time - Writes usually modify one word in a block; Thus ….. If a write buffer already contains some words from the given data block we will merge current modified word with the block parts already in the buffer

4: Merging Write Buffer

That is, If the buffer contains other modified blocks the address can be checked to see if the address of this new data matches the address of valid write buffer entry Then the new data are combined with the existing entry - it is called Write Merge

4: Merging Write Buffer

4: Merging Write Buffer

5: Victim Caches: Reducing Miss Penalty

….. checked on another miss to see if they have the desired data before going to the next lower-level memory If the desired data (or instruction) is found then the victim block and cache block are swapped This recycling requires small fully associative cache between a cache and its refill path - called the victim cache as shown in the following figure

5: Victim Caches: Reducing Miss Penalty

Placement of victim cache in memory hierarchy Cache

Summary .. Cont‟d

The second technique , “ Critical Word First and Early Restart‟ , is the intolerance

Summary

The third method, „priority to read miss over the write miss‟, is the favoritism The fourth technique , „ merging write- buffer, ”is acquaintance

Summary

Miss penalty; however, the first one – multi level caches, are the most important and efficient However, reducing miss rate and hit rate to improve the memory hierarchy performance are also important metrics We will take up these metrics next time

- till then

Aslam – o – Alacum

And

Allah Hafiz