1. Consider a paging system with the Page Map Table (PMT) stored in physical memory. a) If access time to the memory is 100 nanoseconds, how long does a paged memory reference takes? b) If we add associative registers to store the whole PMT in the associative registers. Calculate the Effective Access Time (EAT) if the associative memories search time is 10 nanoseconds.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Question 6:
1. Consider a paging system with the Page Map Table (PMT) stored in physical memory.
a) If access time to the memory is 100 nanoseconds, how long does a paged memory reference
takes?
b) If we add associative registers to store the whole PMT in the associative registers.
Calculate the Effective Access Time (EAT) if the associative memories search time is 10
nanoseconds.
2. Consider a CPU that uses 20 bits to represent the logical addresses. Assume that we want
to implement a paging mechanism where the page size is 2Kbytes. (Hint 1 kilobyte (Kb) = 2^10 bytes
= 1,024 bytes. 1 megabyte (MB) = 2^20 bytes = 1,048,576 bytes. 1 gigabyte (GB) = 2^30 bytes = 1,073,741,824 bytes)
a) What is the size of the logical space in bytes?
b) How many bits is used for the page number?
c) Give the physical address translation to the logical address 5000 if we assume the following
PMT
Page number
Frame number
1
1
2
3
3
Show the calculation steps:
d) Assume an OS is using LRU page replacement strategy with 3 pages' frames for the
following list of references 2, 1, 3, 4, 1, 2, 5, 1, 2, 3. Give the page replacement sequence
and the number of page faults. Fill the replacement table.
e) If access to the physical memory is 100 nanoseconds and the fault service time is 1ms,
compute the Effective Access Time for the whole list of references.
Transcribed Image Text:Question 6: 1. Consider a paging system with the Page Map Table (PMT) stored in physical memory. a) If access time to the memory is 100 nanoseconds, how long does a paged memory reference takes? b) If we add associative registers to store the whole PMT in the associative registers. Calculate the Effective Access Time (EAT) if the associative memories search time is 10 nanoseconds. 2. Consider a CPU that uses 20 bits to represent the logical addresses. Assume that we want to implement a paging mechanism where the page size is 2Kbytes. (Hint 1 kilobyte (Kb) = 2^10 bytes = 1,024 bytes. 1 megabyte (MB) = 2^20 bytes = 1,048,576 bytes. 1 gigabyte (GB) = 2^30 bytes = 1,073,741,824 bytes) a) What is the size of the logical space in bytes? b) How many bits is used for the page number? c) Give the physical address translation to the logical address 5000 if we assume the following PMT Page number Frame number 1 1 2 3 3 Show the calculation steps: d) Assume an OS is using LRU page replacement strategy with 3 pages' frames for the following list of references 2, 1, 3, 4, 1, 2, 5, 1, 2, 3. Give the page replacement sequence and the number of page faults. Fill the replacement table. e) If access to the physical memory is 100 nanoseconds and the fault service time is 1ms, compute the Effective Access Time for the whole list of references.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY