Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose a computer has 2^32 bytes of byte-addressable main memory and a cache size of 2^15 bytes, and each cache block contains 32 bytes. A)

Suppose a computer has 2^32 bytes of byte-addressable main memory and a cache size of 2^15 bytes, and each cache block contains 32 bytes.

A) How many blocks of main memory are there?

B) How many blocks of cache memory are there?

C) If this cache is direct-mapped, what is the format of a memory address as seen by the cache; that is, the size of the tag field ____, the size of block field ____, and the size of the offset field ____.

D) If this cache is fully associative, what is the format of a memory address as seen by the cache; that is, the size of the tag field ____, and the size of the offset field ____.

E) If this cache is 4-way set associative, what is the format of a memory address as seen by the cache; that is, the size of the tag field ____, the size of set field ____, and the size of the offset field ____.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

Students also viewed these Databases questions