subject

Media applications that play audio or video files are part of a class of workkloads called "streaming" workloads (i. e., they bring in large amounts of data but do not reuse much of it). consider a video streaming workload that accesses a 512 kib working set sequentially with the following word address stream:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

a) assume a 64 kib direct-mapped cache with a 32-byte block. what is the miss rate for the address stream above? how is this miss rate sensitive to the size of the cache or the working set? how would you categorize the misses this workload is experiencing, based on the 3c model?

b) re-compute the miss rate when the cache block size is 16 bytes, 64 bytes, and 128 bytes. what kind of locality is this workoad exploiting?

c) "prefetching" is a technique that leverages predictable address patterns to speculatively bring in additoinal cache blocks when a particular cache block is accessed. one example of prefetching is a stream buffer that prefetches sequentially adjacent cache blocks into a separate buffer when a particular cache block is brought in. if the data are found in the prefetch buffer, it is considered as a hit, moved into the cache, and the cache block is prefetched. assume a two-entry stream buffer; and, assume that the cache latency is such that a cache block can be loaded before the computation of the previous cache block is completed. what is the miss rate for the address stream above?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
You know the right answer?
Media applications that play audio or video files are part of a class of workkloads called "streamin...
Questions
question
Mathematics, 18.10.2019 21:40
Questions on the website: 13722359