Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help Digital II ELEG 2913 Memory Addressing Homework Name: Score: 1. Which is not a form of memory locality? a. Temporal b. Cache c.

please help image text in transcribed
image text in transcribed
image text in transcribed
Digital II ELEG 2913 Memory Addressing Homework Name: Score: 1. Which is not a form of memory locality? a. Temporal b. Cache c. Spatial (d. Sequential 2. Which memory below has the shortest access time? a. Registers b. Level 1 Cache c. Main Memory d. Optical Disk 3. How many tag bits will you have if a byte-addressable memory contains 2M and Direct Mapped Cache system with 32 blocks, and each block has 16 bytes? a. 5 b. 7 (e.) 12 d. 13 4. How many tag bits will you have, if 4-way Set Associative Mapping is used for the cache described in problem 3? a. 15 (6.14 c. 13 d. 12 5. Suppose the cache access time is 8 ns, main memory 250 ns, and the cache hit rate of 98%. Using nonoverlapped access, the average access time would be? a. 10 ns b. 11 ns c. 12 ns d. 13 ns 6. The most common way to implement virtual memory is? a. Framing b. Paging c. Caching a. Tagging Digital II ELEG 2913 Memory Addressing Homework 7. Abyte-addressable virtual memory system with a two-entry TLB, a 2-way set associative cache, and a page table for a process P is shown below. Assume cache blocks of 8 bytes and page size of 16 bytes. Main memory is divided into blocks, where each block is represented by a letter. Two blocks equal one frame. Page Table Page Frame Valid TLB 0 31 Page Frame 1 0 1 2 - 0 3 2 1 4 1 1 5 - 0 6 - 0 Set Tag Data Tag Data 7 - 0 0 00 C 01 L 100D 10 H Virtual Memory for Process P Page Data Block Main Memory O AO Frame Data Block 0 B 1 10 C 0 1 C2 0 DI ID 3 1 1 2 2 E 4 1 J3 2 F 5 2 G4 13 G 6 2 H 5 3 H 7 3 A 6 4 I 8 13 B 7 4 J9 5 K 10 5 L 11 6 M 12 6 N 13 0 14 7 P 15 With the information given above, how many virtual and physical address bits will be used, respectively? a. 5,4 5.6, 7 c. 5,4 d. 7.6 Digital II ELEG 2913 Memory Addressing Homework 8. Using the information given in problem 7. a virtual address of 2210 converts to which physical address? a. 10 b. 20 (c.7 4.6 9. Using the information given in problem 7, will there be a TLB hit? a. Yes b. No 10. Using the information given in problem 7, which data block contains the correct address? a. A b. B c. C dD

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

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions