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

  Page fault with lru page replacement policy

Computer has 16 pages of virtual address space but only three physical pages frames. Initially physical memory is empty. Program references virtual pages in order 1,2,3,4,5,3,4,1,6,7,8,7,8,9,7,8,9,5,4,5,4,2 Which references a page fault with LRU ..

  Explaining cpu midway through the disk-service routine

CPU with interrupt-driven I/O is busy servicing  disk request. While CPU is midway through the disk-service routine, another I/O interrupt occurs. What occurs next?

  Fragmented mean in reference to hard drives

What does fragmented mean in reference to hard drives, and what, if anything, should be done to prevent it. Describe the general path data takes in an application from user input to the computer hardware.

  Page frames for public use and seven-page program

Given that main memory is consisted of three page frames for public use and that seven-page program (with pages a, b, c, d, e, f, g) requests pages in the following order: a, b, a, c, d, a, e, f, g, c, b, g.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Discuss and provide examples of mutual exclusion

Discuss and provide examples of the following concurrency issues associated with an OS: 1. Mutual exclusion 2. Deadlock 3. Starvation

  Write list of three known vulnerabilities for sql server

Using the internet as a source, compile a list of three known vulnerabilities for SQL Server on Windows operating systems and three vulnerabilities for Oracle on Unix.

  Write a java program on professional expression assignment

Write a java program on Professional Expression Assignment

  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.

  Value of semaphore before entering into critical section

Give a solution using Monitor that is starvation-free. What would be value of semaphore before entering into Critical Section and after leaving it.

  Implement the parser in two iterations

Implement the parser in a separate file. Implement the main parser function in a separate file main.c

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