Re: [理工] [OS] Cache vs. Virtual memory
※ 引述《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
11/28 12:27, 1F
討論串 (同標題文章)