Question
paging

Example • Consider the following page table. The page size is 8 bytes each. Page Frame 0 6 1 2 0 N 3 3 4 5 • What are the phy
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Page size = 8 bytes
Logical Address = (1,5)
page-1 maps to frame-2
Physical Address = 2*8 + 5 = 16 + 5 = 21

Logical Address = (2,0)
page-2 maps to frame-0
Physical Address = 0*8 + 0 = 0

Logical Address = (0,6)
page-0 maps to frame-6
Physical Address = 6*8 + 6 = 48 + 6 = 54

Logical Address = (3,8)
page-3 maps to frame-3
offset can't be 8 (should be less than 8)
Invalid Logical Address.

Add a comment
Know the answer?
Add Answer to:
paging Example • Consider the following page table. The page size is 8 bytes each. Page...
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
  • 1. Consider a simple paging system with the following parameters: 232 bytes of physical memory; page...

    1. 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 bits are in a logical address? How many bytes are in a frame! How many bits in the physical address specify the frame? How many entries are in the page table? How many bits are in each page table entry? Assume each page table entry contains a valid/invalid bit. 2. Consider a...

  • Consider a computer system that uses a paging system. The memory contains 16 frames, each frame...

    Consider a computer system that uses a paging system. The memory contains 16 frames, each frame can accommodate 512 memory locations (size of frame = 512). The page table is as follows: Page Number 0 1 2 3 4 5 6 7 Frame Number 5 3 10 0 2 9 11 14 What are the physical addresses for the following logical addresses? Show your work Logical Address Physical Address 2345 1024 6780

  • 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.

  • Paging Questions 1. A page is 1 KB in size. How many bits are required to...

    Paging Questions 1. A page is 1 KB in size. How many bits are required to store the page offset? 2. A page entry has 10 bits. What is the size of the page table? 3. A logical address is 32 bits long. The page size is 4 KB. Divide the address into its page number and offset. 4. The following hexadecimal addresses are used in a system with a 20-bit logical address where the page size is 256 bytes....

  • A simple paging system has a memory size of 256 bytes and a page size of...

    A simple paging system has a memory size of 256 bytes and a page size of 16 bytes. i. What is the size of the page table? ii. How many bits exist for an address, assuming 1-byte incremental addressing? iii. State p and d values (i.e. the page number and the offset). iv. Perform address translation of 64 bytes to physical address space using the page table below. 0 8 1 6 2 3 3 11 4 7

  • A simple paging system has a memory size of 256 bytes and a page size of...

    A simple paging system has a memory size of 256 bytes and a page size of 16 bytes. i. What is the size of the page table? ii. How many bits exist for an address, assuming 1-byte incremental addressing? iii. State p and d values (i.e. the page number and the offset). iv. Perform address translation of 64 bytes to physical address space using the page table below. 0 8 1 6 2 3 3 11 4 7

  • 2" | Page # (10 pts)On a machine with 8 bytes page size, given the page...

    2" | Page # (10 pts)On a machine with 8 bytes page size, given the page table for a process, and 2 of these 4 entries are mapped to page frames. Frame 0 starts at physical 0 address 0. (All numbers given are in decimal.) a. What are the range(s) of logical address (decimal, byte-level) that would cause 2 a page fault? | Frame # 4 Not in main memory Not in main memory b. Convert the following logical address...

  • Consider a page size of 4 bytes and a physical memory of 32 bytes (8 pages)....

    Consider a page size of 4 bytes and a physical memory of 32 bytes (8 pages). If logical page 4 maps to physical page 20, then logical address 18 (logical page 4, offset 2) maps to physical address a) 80 b) 84 c) 82 d) 18

  • 6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per...

    6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per page table entry a) How many pages are there in the logical address space? Suppose we use two level paging and each page table can fit completely in a frame. [4 pts] How many pages? [2 pts] Show your calculations here: b) For the above-mentioned system, give the breakup of logical address bits clearly indicating number of...

  • 2. In the paging system, assume that the logic address space is 28 and the size...

    2. In the paging system, assume that the logic address space is 28 and the size of a page is 32B a) What is the format of the logical/virtual address? b) Given the following page table Page number Frame number 0 4 4 6 0 Please convert the following logical address into physical address OxFF 0x86 0xA3

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