Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

10. (10%) Assume that the main memory contains 512 blocks of 16 words each, and there are 32 cache slots. Please compute (1) Size of

image text in transcribed
10. (10%) Assume that the main memory contains 512 blocks of 16 words each, and there are 32 cache slots. Please compute (1) Size of memory in words. (2) Number of bits used for tag when direct mapping scheme is used. (3) Number of bits used for tag when fully associative mapping scheme is used. 4) Number of bits used for tag when 2-way set associative mapping scheme is used. (5) Compute the cache hit ratio of a program that loops 10 times from memory locations 200 to 377. (Assume the fully associative mapping scheme is used.) (6) (Bonus) Assume direct mapping scheme is used. For a memory address 12345, compute the tag value, the slot number, and the word address within its memory block. 11, (4%) A virtual memory has a page size of 512 bytes, eight virtual pages, and four physical page frames. A part of the page ta virtual addresses 1050 and 2084? ble is as follows. What are the physical memory addresses for Page Frame Not in main memory Not in main memory Virtual Page 2 4

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

=+What is the lowest price? Explain.

Answered: 1 week ago