Why thread belonging to same process affected by page fault

Assignment Help Operating System
Reference no: EM1359502

Q1) Consider a system that uses pure demand paging:

a. When a process first start execution, how would you characterize the page fault rate?

b. Once the working set for a process is loaded into memory, how would you characterize the page fault rate?

c. Assume a process changes its locality and the size of the new working set is too large to be stored into available free memory. What are some options system designers could choose from to handle this situation?

When a page fault occurs, the process requesting the page must block while waiting for the page to be brought from disk into physical memory. Assume there exists a process with five user-level threads where the mapping of user threads to kernel threads is many to one. If one user thread incurs a page fault while accessing its stack, would the other user user threads belonging to the same process also be affected by the page fault (i.e., would they also have to wait for the faulting page to be brought into memory?) Explain.

Reference no: EM1359502

Questions Cloud

How far must the spring be compressed : How far must the spring be compressed. A small remote-control car with a mass of 1.62 moves at a constant speed of = 12.0 in a vertical circle inside a hollow metal cylinder that has a radius of 5.
Organizational development - southwest airlines : Describe this phenomenon from what they have on their site, their mission goals, profitability statements, and leadership. Add your own personal experiences if you have flown with Southwest Airlines.
Legal and ethical responsibilities when working with client : What are some legal and ethical responsibilities when working with a client who is seriously contemplating suicide?
Various approaches to setting transfer prices : What are the main approaches for setting transfer prices? How can the problems that these approaches create be reconciled between the selling and buying divisions?
Why thread belonging to same process affected by page fault : Other user user threads belonging to the same process also be affected by the page fault (i.e., would they also have to wait for the faulting page to be brought into memory?) Explain.
Use the magnitude of the acceleration due to gravity : Use 9.81 for the magnitude of the acceleration due to gravity.
Show how do case studies help in business research : Show how do case studies help in business research and what are the advantages and disadvantages of using case studies?
Describe three security policies that you would primarily : Describe three security policies that you would primarily recommend to an organization to have and why and How security policies should be implemented in organizations?
Create the statement of cash flows : The comparative balance sheet of Westmont Industries at December 31, 2007, reported the following, Create the statement of cash flows of Westmont Industries for the year ended 31, 2007,

Reviews

Write a Review

 

Operating System Questions & Answers

  Optimal page replacement strategy

What is minimum number of page faults for the optimal page replacement strategy? Please show how the page is placed and how page faults occur.

  What is the main advantage of multiprogramming

What is the main advantage of multiprogramming How does the distinction between the monitor mode and user mode function as a rudimentary form of protection (security) system What is the difference between a trap and an interrupt? What is the u..

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Analyse the different methods for collecting data

Analyse the different methods for collecting data Explain by taking examples 3 types of Sampling techniques.

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Give three technical merits of unix

Give three technical merits of UNIX b) Differentiate between "clustered systems" and "real-time systems". c) Describe the purpose of using "trust relationship"

  What is life cycle costing

What is Life Cycle Costing. Describe briefly the methodology for Life Cycle Costing. What are the criteria to consider when a procurement officer is faced with the decision of procuring a used equipment instead of a new one.

  Explain decision variables in relation to linear programming

Explain the following terms in relation to linear programming problems- (1) decision variables (2) objective function

  Give three advantages of virtual machine

In different communications models, communication may take place using either "message passing" or "shared memory". Distinguish between "message passing" and "shared memory", illustrating your answer with a diagram Give three advantages of virt..

  Describe three solutions to critical section problem

Describe three solutions to critical section problem Explain the different methods used to handle deadlocks Distinguish between "No preemption" and "circular wait" in deadlocks prevention

  Computing effective memory access time

Assume that 80 percent of the accesses are in the associative memory and that, of the remaining, 10 percent (or 2 percent of the total) cause page faults.What is the effective memory access time?

  Virtual machines

Virtual machines supported by a host operating system

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd