What is the size of the page table at each level

Assignment Help Operating System
Reference no: EM131113164

Operating Systems Assignment-

Question 1 - There are four processes P1, P2, P3 and P4 that enter the ready queue of a uni-processor system in the order above at the same time. Their service time requirements are listed below, in CPU time units:

P1

8

P2

6

P3

22

P4

4

a. Show how the processes are scheduled if FCFS scheduling is employed, using the timing diagram format found in our in class examples). What are the waiting times of the four processes in the ready queue? What is the average waiting time?

b. Show how the processes are scheduled if Round Robin scheduling is employed (use a time slice length of 2 time units). What are the waiting times of the four processes in the ready queue (i.e. how long does each process spend in total waiting to run)? What is the average waiting time?

Question 2 - Consider a paged virtual memory system with 32-bit virtual addresses and 1K byte pages. A hierarchical page table structure is to be employed. It is desired to limit the size of each part of the page table to one page. Each page table entry requires 32 bits.

a. How many levels of page tables are required? Explain.

b. What is the size of the page table at each level? Hint: One page table size is smaller.

c. The smaller page size could be used at the top level or the bottom level of the page table hierarchy. Which strategy consumes the least number of pages?

Question 3 - Consider the organization of a UNIX file as represented by the inode. Assume that there are 12 direct block pointers and a singly, doubly, and triply indirect pointer in each inode. Further, assume that the system block size and the disk sector size are both 512 bytes. If the disk block pointer is 4 bytes, then:

a. What is the maximum file size supported by this system? Give your answer as four separate values; the number of bytes that can be accessed directly, the number of bytes accessed using a single indirect reference, double indirect reference, and triple indirect reference.

b. Assuming no information other than that the file inode is already in main memory, how many disk accesses are required to access the byte in position 13,423,956?

Question 4 - A process contains seven virtual pages on disk and is assigned a fixed allocation of three page frames in memory. The following page trace occurs:

3, 2, 4, 3, 4, 2, 2, 3, 4, 5, 6, 7, 7, 6, 5, 4, 5, 6, 7, 2, 1

a. Show the successive pages residing in the three frames using the LRU replacement policy. Compute the hit ratio in main memory (i.e. the number of page references found in main memory divided by the total number of references). Assume that the frames are initially empty.

b. Repeat part (a) for the FIFO replacement policy.

Reference no: EM131113164

Questions Cloud

Visible analyst diagramming tool : Draw a level 0 data flow diagram for the real estate system using Visible Analyst diagramming tool.
Bad debt reporting issues clark pierce conducts : Bad-Debt Reporting Issues Clark Pierce conducts a wholesale merchandising business that sells approximately 5,000 items per month with a total monthly average sales value of $250,000.
Find the rotor copper loss at full load : Find the rotor copper loss at full load and the speed at maximum torque. Compute the value of the per-phase rotor resistance (referred to the stator) that must be added in series to produce a starting torque equal to the maximum torque.
Assumption that the signal travels : How long does it take on the average to send the message from the source to the destination? Make an assumption that the signal travels at a speed of 2 x 105 km/second.
What is the size of the page table at each level : COMP 3430 Operating Systems Assignment. Consider a paged virtual memory system with 32-bit virtual addresses and 1K byte pages. A hierarchical page table structure is to be employed, What is the size of the page table at each level
Determining the metropolitan medical group : The Metropolitan Medical Group (MMG) merged with the Oak Grove Medical Group (OGMG). The Oak Grove Medical Group has four offices and owns the medical office building where their imaging and radiology lab and physical therapy and diagnostic labora..
Show that the rotor current torque power of a poly phase : show that the rotor current, torque, and electromagnetic power of a poly phase induction motor vary almost directly as the slip, for small values of slip.
Discuss the advantages and disadvantage of the gold standard : Discuss the advantages and disadvantages of the gold standard.
What would be the effect of shipping costs : Suppose that the pound is pegged to gold at 6 pounds per ounce, whereas the franc is pegged to gold at 12 francs per ounce. This, of course, implies that the equilibrium exchange rate should be two francs per pound. If the current market exchange rat..

Reviews

Write a Review

Operating System Questions & Answers

  Security is an essential element in modern operating system

Security is an essential element in modern operating system design. An open and unprotected TCP/IP port can present a significant network operating system vulnerability

  Simple procedure to implement the graphics package

The group of classes represent a collection of graphic objects, such as circles, rectangles, lines, and points.

  Data hierarchy in either a windows or linux environment

Describe one scenario not mentioned in the textbook in which the use of an array would be a plausible solution. Support your response with an example of the described use of the array.

  Describe what is slot time

A signal takes 4.5 µs to travel from node A to node B. Given a speed of propagation of 1.77x 10^8 m/s, what is the distance between the two nodes? Choose the nearest to the correct value from the options listed below.

  Race condition

Race Condition:  A situation in which multiple threads or processes read and write a shared data item and the final result depends on the relative timing of their execution.

  Comparison of wireless lan and lan

Assume your local hospital has decided to extend their offices to another department of the building where it is difficult to have cables installed.

  A plug in and a helper application

Discuss similarities and differences between a plug-in and a helper application?

  Disadvantages to living in an information age

Discuss some of the disadvantages to living in an Information Age? At present more and more people rely on computers to create, store, and manage critical information.

  Describe the employee and emp_photo tables in detail.

Open the SAMPLE database and its Tables folder, describe what information you see there, using the terms introduced in this module, such as table, schema and key.

  Question about deadlock

A system has five active procedures(A-E) and one type of resource, which there are two-hundred total unites available in the system.

  Explain each step of the machine cycle

Compare and contrast machine and high-level languages using resources from the Internet or AIU's library. Be sure to explain why the hexadecimal and binary codes are important for programming in both languages.

  Propose the computing and data communications elements

Propose the computing and data communications elements needed to satisfy the system requirements defined in the given case. You must specify the criteria for evaluating the hardware, software and data communications requirements of your 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