Question

Discuss how frame sharing can be done using the Inverted Page Table when using a single...

Discuss how frame sharing can be done using the Inverted Page Table when using a single Frame Table for logical-to-physical address mapping. (Slightly modify the diagram in Q.9a, if necessary, to support your answer.)

Q9.A: Discuss two advantages for sharing pages (or page frames).

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

1) As we all know that each operating system individually maintains an isolated page table for each which contains frames in it. When the process is very large and it is occupying the virtual memory then according to that size than the size of the page table which containing the frames also will be increased.

Inverted Page Table:

   It is one stack like structure. It has a one-page table for every frame present in the main memory. In the inverted page table, the number of entries of the pages is equal to the number of frames in the main memory. Here the thing is a single table is needed for mapping all the processes. It is mainly used to fight against the drawbacks of the page table. Each entry in the page table has a few fields in order to describe them. They are:

i) Page Number: It describes the range of the page number of the logical address.

ii) Process Id: Each and every inverted page table consists of address space information of all the processes which are under the execution. If two different processes have a similar virtual address then at that case the process id is used. Process Id acts as an address space identifier and gives a virtual page for a certain process which is mapped to that corresponding frame.

iii) Control Bits: Used to store extra-paging information which includes dirty bit, valid bit etc

iv) Chained Pointer: Two or more processes can share the one main memory. In this process, two or more logical pages mapped to one single page table.

Advantages of Sharing pages:

i) Sharing of pages can minimize the usage of RAM.

ii) Allocation of memory is very easy and also it is not much expensive.

iii) Swapping of pages is more efficient in the sharing of pages.

iv) Each process is allocated to one page separately then it consumes more memory in main memory if one process sharing the pages then it consumes less memory.

Add a comment
Know the answer?
Add Answer to:
Discuss how frame sharing can be done using the Inverted Page Table when using a single...
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
  • Problem 6 (13 points) The page table below is for a system with 16-bit virtual as well as physica...

    Problem 6 (13 points) The page table below is for a system with 16-bit virtual as well as physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The LRll pagg-replacement algorithm is used. The numbers are given in decimal Page Frame eferepceit 14 10 13 15...

  • For part A: convert the virtual address into page numbers and offset, and then into hexadecimal...

    For part A: convert the virtual address into page numbers and offset, and then into hexadecimal numbers. Redraw the page table showing which pages were referenced and in any needed to be loaded into memory and what frame was selected. Assume frames 6,7,11,and 12 are available. 9.22 The page table shown in Figure 9.32 is for a system with 16-bit virtual and physical addresscs and with 4,096-byte pages. The reference bit is been referenced. Periodically, a thread zeroes out all...

  • Problem 6 (13 points) The page table below is for a system with 16-bit virtual as...

    Problem 6 (13 points) The page table below is for a system with 16-bit virtual as well as physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The LRll pagg-replacement algorithm is used. The numbers are given in decimal Page Frame eferepceit 14 10 13 15...

  • The lab for this week addresses taking a logical database design (data model) and transforming it...

    The lab for this week addresses taking a logical database design (data model) and transforming it into a physical model (tables, constraints, and relationships). As part of the lab, you will need to download the zip file titled CIS336Lab3Files from Doc Sharing. This zip file contains the ERD, Data Dictionary, and test data for the tables you create as you complete this exercise. Your job will be to use the ERD Diagram found below as a guide to define the...

  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

  • Hi, Kindly assist with my project management assignment below using the attached case study Question 1 Update the project charter for the remainder of the project in response to Adams’ memo (lines 241...

    Hi, Kindly assist with my project management assignment below using the attached case study Question 1 Update the project charter for the remainder of the project in response to Adams’ memo (lines 241 through 246). Question 2 Prepare a plan for the remainder of the project in response to Adams’ memo (lines 241 through 246). Your answers to the above will be assessed in terms of the level of communication displayed, the insights and inferences drawn, and your ability to...

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