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, 21.06.2019 15:00
1. what are the biggest risks when using the public internet as a wide area network (wan) or transport for remote access to your organization’s it infrastructure?
Answers: 2
question
Computers and Technology, 22.06.2019 10:30
Dave has to create animations for a game. which tool can dave use?
Answers: 3
question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
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, 15.04.2021 15:50
question
Mathematics, 15.04.2021 15:50