10. deep understanding of computer system notes: Memory Hierarchy, high-speed cache memory (2)

Source: Internet
Author: User

1. set associative Cache)

1 <e <C/B

2. fully associative Cache)

E = C/B

Because fully-connected high-speed cache requires parallel searches for many matched rows, it is relatively difficult to construct. Therefore, it is only suitable for small high-speed caches, such as TLB in a virtual memory system, it caches page table items.

3. Write back: the storage update should be postponed as much as possible.AlgorithmThe updated block is written back to the memory only when it is evicted.

Processing Miss: Write-allocate is used to load the corresponding memory block to the cache and update the cache.

We recommend that you use the cache for write-back and write allocation.

<Computer systems: a programmer's perspective>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.