[理工] [計組] 記憶體快取

看板Grad-ProbAsk作者 (Steven_Shie)時間11年前 (2012/12/05 14:36), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
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
文章代碼(AID): #1GlkjsyR (Grad-ProbAsk)
文章代碼(AID): #1GlkjsyR (Grad-ProbAsk)