Question

Assume a 128KB virtual address space, with page size 64 bytes. a) What is the number...

Assume a 128KB virtual address space, with page size 64 bytes.
a) What is the number of entries in the linear page table for these parameters?
b) If each page table entry requires 4 bytes, what is the space occupied by a page table?
c) If at any point only 1% of the actual translations in the page table are valid, does a two-
level page table improve the space consumption? Explain with detailed calculation.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) What is the number of entries in the linear page table for these parameters?

128KB = 2^7 x 2^10 => 2^17 i.e 17 bits in the virtual address
Page Size. = 64 bytes => 2^6 => 17 bits in the virtual address - 6 (page size) = 11 bits in the virtual page number
Number of entries = 2^11 = 2048

b) If each page table entry requires 4 bytes, what is the space occupied by a page table?

Page table size = 2^11 x 4 bytes => 8KB

Thanks, PLEASE COMMENT if there is any concern.

Add a comment
Know the answer?
Add Answer to:
Assume a 128KB virtual address space, with page size 64 bytes. a) What is the number...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A computer system has a 36-bit virtual address space with a page size of 8K, and...

    A computer system has a 36-bit virtual address space with a page size of 8K, and 4 bytes per page table entry. How many pages are in the virtual address space? What is the maximum size of addressable physical memory in this system? If the average process size is 8GB, would you use a one-level, two-level, or three-level page table? Why? Compute the average size of a page table in part c above

  • A system implements a paged virtual address space for each process using a one-level page table....

    A system implements a paged virtual address space for each process using a one-level page table. The maximum size of virtual address space is 8MB. The page table for the running process includes the following valid entries (the -> notation indicates that a virtual page maps to the givenpage frame, that is, it is located in that frame): Virtual page 2 -> Page frame4 Virtual page 4 -> Page frame 9 Virtual page 1 -> Page frame2 Virtual page 3...

  • A certain byte-addressable computer system has 32-bit words, a virtual address space of 4GB, and a...

    A certain byte-addressable computer system has 32-bit words, a virtual address space of 4GB, and a physical address space of 1GB. The page size for this system is 4 KB. Assume each entry in the page table is rounded up to 4 bytes. a) Compute the size of the page table in bytes. b) Assume this virtual memory system is implemented with a 4-way set associative TLB (Translation Lookaside Buffer) with a total of 256 address translations. Compute the size...

  • Consider a simple paging system with the following parameters: 232 bytes of physical memory; page size...

    Consider a simple paging system with the following parameters: 232 bytes of physical memory; page size of 210 bytes; 216 pages of logical address space. How many entries in the page table? How many bits in each page table entry? Assume each page table entry contains a valid/invalid bit.

  • ​Suppose you have a byte-addressable virtual address memory system with 8 virtual pages of 64 bytes each

    Suppose you have a byte-addressable virtual address memory system with 8 virtual pages of 64 bytes each, and 4-page frames. Assuming the following page table, answer the questions below: Page #Frame #Valid Bit0111312-03014215-06-07-0a) How many bits are in a virtual address? b) How many bits are in a physical address? c) What physical address corresponds to the following virtual addresses (if the address causes a page fault, simply indicate this is the case)? 1) Ox00 2) 0x44 3) OxC2 4) 0x80

  • Q1. Given the image below, answer each part of the question Viitual address Virtual page number...

    Q1. Given the image below, answer each part of the question Viitual address Virtual page number Page ofset 19 10 Valid Physical page number Page table 15 0 then page is not present in memory Physical page number Page offset Phynical address a. What is the size of the Page (in bytes)? b. How many entries are in the page table? c. How big is the Physical Memory? d. How big is the Virtual Memory?

  • SN 6 A system implements a paged virtual address space for each process using a one-level...

    SN 6 A system implements a paged virtual address space for each process using a one-level page table. The maximum size of virtual address space is 4KB. The page table for the running process Includes the following valid entries: Virtual Virtual page 7 - Page frame 4 Virtual Virtual page 5 - Page frame 0 Virtual Virtual page 20 - Page frame 1 Virtual Virtual page 10 - Page frame 3 Virtual Virtual page 3 - Page frame 2 The...

  • Question 2 Suppose you have a byte-addressable virtual address memory with 8 virtual pages of 64...

    Question 2 Suppose you have a byte-addressable virtual address memory with 8 virtual pages of 64 bytes each and 4 page frames. Assuming the following page table, Page = Frame Valid Bit 0 0 1 2 3 4 5 What physical address corresponds to the virtual address 0X44 a. OXC1 b.OXC2 COXC4 d. OXCO OXC3

  • You have a processor that supports virtual memory. The page size used for the virtual memory...

    You have a processor that supports virtual memory. The page size used for the virtual memory is 16 KiBytes, The virtual address size is 24 bits. Each table entry is 2 bytes. How many pages will the processor support? ___ How big is the page table (assume a single level page table) ___

  • A certain computer provides its users with a virtual memory space of 2^32 bytes. The computer...

    A certain computer provides its users with a virtual memory space of 2^32 bytes. The computer has 2^18 bytes of physical memory. The virtual memory is implemented by paging, and the page size is 4,096 bytes. A user process generates the virtual address 11123456 hexadecimal. a. How many entries are there in the page table? b. Explain how the system establishes the corresponding physical location.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT