Cache and Memory Mapping
Part II

Does your computer have cache?
If so how big is it?
How does your cache size compare with the size of main memory?
Do you know what kind of cache it is?
How did you find out about your computer's cache?
Make an assumption that your cache is either:

Fully associative
Direct mapped
Two-way set-associative
Four-way set-associative
Using the relationships in Part I above, determine:

the size of the Tag and Word for Associative cache;
the size of the Tag, Line, and Word for Direct-Mapped Cache ;
the size of Tag, Set, and Word for K-Way Set-Associative Cache.

You may make any assumptions necessary including the number of Words in each block (recommend 2 or 4 or 8)

Part III
Given the following:
Logical Memory size of 1000
Physical Memory size of 2000
Page (and frame) size of 100
Block A contains data for a program
Select Block A’s size and its starting point in both memories. Then write the page table for Block A based on your selections.

Part IV
Discuss the pros and cons of paging.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

Part II
Yes, the computer I use has cache memory.
The size of the cache is 512 KB.
Compared to the size of the main memory, it is very low.
It is a 4-way set-associative cache.
I have initially found the information from above after running hardware tools that show details about most of the components from the computer (e.g. AIDA64). Then I have compared (the size) with the documentation received with the computer.

It can be assumed that each cache block contains 4 words. So the word size is 2 bits since...

By purchasing this solution you'll be able to access the following files:

for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Systems Architecture Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats