HELP!  You have a virtual memory system with a two-entry TLB, a 2-way set associative cache and a page table for a process P. Assume cache blocks of 8 bytes and page size of 16 bytes. In the system below, main memory is divided up into blocks, where each block is represented by a letter. Two blocks equals one frame. a)Virtual address page 3, offset 7 results in a TLB hit or miss? If TLB hit, what’s the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what’s the main memory frame and what the physical address in binary? Explain your answers. b)Virtual address page 0, offset 1310 results in a TLB hit or miss? If TLB hit, what’s the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what’s the main memory frame? Explain your answers. c)Virtual address page 2, offset 3 results in a TLB hit or miss? If TLB hit, what’s the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what’s the main memory frame? Explain your answers.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

HELP! 

You have a virtual memory system with a two-entry TLB, a 2-way set
associative cache and a page table for a process P. Assume cache blocks of 8 bytes and page size
of 16 bytes. In the system below, main memory is divided up into blocks, where each block is
represented by a letter. Two blocks equals one frame.

a)Virtual address page 3, offset 7 results in a TLB hit or miss? If TLB hit, what’s the main
memory frame? If TLB miss, would it result in a page fault? If not a page fault, what’s the main
memory frame and what the physical address in binary? Explain your answers.

b)Virtual address page 0, offset 1310 results in a TLB hit or miss? If TLB hit, what’s the
main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what’s the
main memory frame? Explain your answers.

c)Virtual address page 2, offset 3 results in a TLB hit or miss? If TLB hit, what’s the main
memory frame? If TLB miss, would it result in a page fault? If not a page fault, what’s the main
memory frame? Explain your answers.

0
4
3
1
TLB
01234567
Frame
Valid
3
1
0
1
0
2
1
1
1
0
0
0
Page Table
Set 0
Set 1
tag
tag
с
Ꭰ
Cache
Frame
0
{
{}
1
2
3
tag
tag
C
D
I
J
G 4
H
A
{
B
7
Main Memory
{}
Block
0
1
2
23456
3
I
H
Page
0
1
2 {
3 {
{
{
Block
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
15
Virtual Memory
For Process P
{
5 {
6 {
7{
Transcribed Image Text:0 4 3 1 TLB 01234567 Frame Valid 3 1 0 1 0 2 1 1 1 0 0 0 Page Table Set 0 Set 1 tag tag с Ꭰ Cache Frame 0 { {} 1 2 3 tag tag C D I J G 4 H A { B 7 Main Memory {} Block 0 1 2 23456 3 I H Page 0 1 2 { 3 { { { Block 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D E F G H I J K L M N O P 15 Virtual Memory For Process P { 5 { 6 { 7{
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Memory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education