subject

A dual processor SMP system includes an L1 data cache for each processor and employs the MESI protocol to maintain cache consistency. Each cache is a 2-way set associative copy-back cache that contains a total of 8192 cache lines each of which is 256 bytes in size. The Ways within each empty set are filled in the order Way0, Way1, Way2 then Way3. A write-allocate policy is used for each cache. One process, P1, runs on the first processor at the same time that another process, P2, runs on the other processor. P1 reads a variable X with an initial value of 80 that resides in memory at address 0x400804C0. After P1 reads X, P2 writes the value 156 into a variable Y located at memory address 0x400804F8. All caches are initially empty, so each cache line starts out in the invalid (I) state. a. After P1 first reads X, what is the MESI state of the line containing X in P1โ€™s cache and how is P2โ€™s cache affected? That is, what change (if any) occurs in the MESI state for the affected line or lines in the two caches?
b. After P2 writes Y, what is the MESI state of the line containing Y in P2โ€™s cache and how is P1โ€™s cache affected? That is, what change (if any) occurs in the MESI state for the affected line or lines?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories.
Answers: 2
question
Computers and Technology, 22.06.2019 14:30
The โ€œrule of 72โ€ is used to approximate the time required for prices to double due to inflation. if the inflation rate is r%, then the rule of 72 estimates that prices will double in 72/r years. for instance, at an inflation rate of 6%, prices double in about 72/6 or 12 years. write a program to test the accuracy of this rule. for each interest rate from 1% to 20%, the program should display the rounded value of 72/r and the actual number of years required for prices to double at an r% inflation rate. (assume prices increase at the end of each year.)
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
You know the right answer?
A dual processor SMP system includes an L1 data cache for each processor and employs the MESI protoc...
Questions
question
Mathematics, 05.05.2020 19:28
question
Mathematics, 05.05.2020 19:28
question
Mathematics, 05.05.2020 19:28
question
Computers and Technology, 05.05.2020 19:28
question
History, 05.05.2020 19:28
question
Computers and Technology, 05.05.2020 19:28
Questions on the website: 13722363