看板 Grad-ProbAsk 關於我們 聯絡資訊
Media applications that play audio or video files are part of a class of workloads 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 KB working set sequentially with the following address stream: 0, 4, 8, 12, 16, 20, 24, 28, 32.... (1) Assume a 64 KB direct-mapped cache with a 32-byte line. 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. (2) Recompute the miss rate when the cache line size is 16 bytes, 64 bytes, and 128 bytes? What kind of locality is this workload exploiting? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.134.2.94