Re: [理工] [OS] Cache vs. Virtual memory

看板Grad-ProbAsk作者 (DaiJouBu)時間13年前 (2012/11/27 00:22), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《LUCENE (LUCENE)》之銘言: : Compare and explain the difference between these two storage mechanisms: : Cache and Vitual memory, according to their storage type, size, latency, : protocol, hit ratio, and others. : I don't get what protocol is in this comparison..... : Someone knows that answer? : Thanks a lot. strategies ---------------------------------- terminologies ∣mapping∣write ∣replace∣block∣ ---------------------------------|-------∣----- |------ |-----∣ ∣ ∣memory block addr.∣ ∣fully ∣write- ∣random ∣ ∣ ∣block∣------------------∣miss ∣ set ∣through∣ ∣ 中 ∣ cache ∣ ∣cache block addr.∣ ∣direct ∣write- ∣ LRU ∣ ∣ -------∣-------------------------∣-----∣-------∣back ∣-------∣-----∣ virtual∣ ∣virtual page no. ∣page ∣ ∣-------∣ ∣ ∣ memory ∣page ∣------------------∣ ∣fully ∣write- ∣ LRU ∣large∣ ∣ ∣physical page no. ∣falut∣ ∣back ∣ ∣ ∣ -------------------------------------------------------------------- search ---------------------------------------- ∣index to block or set them compare tag∣ |--------------------------------------- ∣ lookup page table ∣ ---------------------------------------- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.252.159.166

11/28 12:27, , 1F
感謝 原來protocol指的是這個
11/28 12:27, 1F
文章代碼(AID): #1GivT63l (Grad-ProbAsk)
文章代碼(AID): #1GivT63l (Grad-ProbAsk)