100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Lecture Notes Computer Science - MEMORY (systems architecture) $10.76   Add to cart

Class notes

Lecture Notes Computer Science - MEMORY (systems architecture)

  • Course
  • Institution

Types of Memory (Storage) The Memory Hierarchy Caching basics Caching - Direct Mapped Cache Performance - Effective Access Time Introduction to Virtual memory

Preview 2 out of 10  pages

  • November 30, 2020
  • 10
  • 2020/2021
  • Class notes
  • Unknown
  • Unknown
avatar-seller

Available practice questions

Flashcards 9 Flashcards
$10.89 0 sales

Some examples from this set of practice questions

1.

What is a memory hierarchy and why do we need one?

Answer: The memory hierarchy is a way of organising memory in a computer to provide a large, cheap and fast storage system by placing a small amount of fast expensive memory close to the processor, and cheap bulk but slower storage further away. Why do we need a memory hierarchy? Processors have increased in speed faster than a memory. Memory hierarchies can bridge the performance gap.

2.

Describe the two principles of the locality that allow (data) memory caches to operate effectively.

Answer: 1. Temporal locality: Items tend to get used more than once. 2. Spatial locality: Items stored together get used together.

3.

What is the small fast memory that acts as a local buffer for the main memory called?

Answer: Cache

4.

In the context of a cache, explain: cache hit and cache miss?

Answer: When the processor requests data from memory it accesses the cache to see if it is already stored there. If it is then it is a cache hit. If it cannot retrieve the data then the processor loads the data it needs from main memory (DRAM) or a lower level-cache – a cache miss.

5.

Explain the operation of a direct-mapped cache

Answer: • Memory locations are mapped to unique cache positions. • Cache Block = (Block Address) modulo (Number of Cache Blocks) • Tag Bits: A tag at cache location gives high order bits • Complete address = tag cache address • Valid Bit: Indicates whether the cache = memory

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ayeshakayani1. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.76. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

98522 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.76  1x  sold
  • (0)
  Add to cart