Discuss the lru page replacement method

Assignment Help Basic Computer Science
Reference no: EM131618762

Question: Consider a program that generates a sequence of virtual address references that correspond to the following sequence of page references: 1,2,3,4,1,2,5,6,1,3,1,2,7,6,3,2,1,2,3,6 (i.e., first it references an address in page #1, then an address in page #2, then an address in page #3, etc.) show how pages are populated in physical frames over time, and indicate where page faults occur, for each of the following cases:

a) LRU page replacement, for each subcase of:

i) one frame,

ii) three frames,

iii) 5 frames,

iv) 7 frames

b) FIFO page replacement, for each subcase of:

i) one frame,

ii) three frames,

iii) 5 frames,

iv) 7 frames

c) Optimal page replacement, for each subcase of:

i) one frame,

ii) three frames,

iii) 5 frames,

iv) 7 frames Did you see an instance of Belady's anomaly?

Reference no: EM131618762

Questions Cloud

Identical expected lives and identical initial cash outflows : Projects A and B have identical expected lives and identical initial cash outflows (costs).
Correct regulatory response to these types of lenders : Explain the wide discrepancy between these rates. What do you believe is the correct regulatory response to these types of lenders??
What is the cause of thrashing : What is the cause of thrashing? How could a system detect thrashing? Once it detects it, what can it do to eliminate the problem?
Calculate both firm stock prices : Both firm's earnings per share are $1.12. Calculate both firm's stock prices.
Discuss the lru page replacement method : Consider a program that generates a sequence of virtual address references that correspond to the following sequence of page references.
Current yield is better approximation of yield to maturity : Calculate the current yield for both bonds if both have a coupon rate equal to 5%. Which current yield is a better approximation of the yield to maturity?
Discuss about the page size and page frames : Suppose we have a system with 32 bit virtual addresses, in which the least-significant bits are used to indicate a 10-bit page offset.
Hired as consultant to quigley company : You were hired as a consultant to Quigley Company, whose target capital structure is 35% debt, 10% preferred, and 55% common equity.
Use the npv decision rule to evaluate these projects : Suppose your firm is considering two mutually exclusive, Use the NPV decision rule to evaluate these projects; which one(s) should be accepted or rejected?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a program that sums a sequence of integers

(Sum a Sequence of Integers) Write a program that sums a sequence of integers. Assume that the first integer read with scanf specifies the number of values.

  Which cache design is better for each of these benchmarks

Shared cache latency increases with the CMP size. Choose the best design if the shared cache latency doubles. Off -chip bandwidth becomes the bottleneck as the number of CMP cores increases. Choose the best design if off -chip memory latency doubl..

  What will be the quantizing error

A 12-bit AID converter has an input range of -5 to +5 V. Estimate the quantization error (as a percentage of reading) for an input -2.46.

  Determine number in cs register

If code segments for the 8086 program start at address 70400H, what number will be in CS Register? Suppose the same code segment base.

  Describe where your main firewalls are

Describe where your main firewalls are (both hardware-based and software-based). Indicate what devices are being used to connect, for example motherboard, USB, network interface card, Bluetooth, etc.

  Create a probability model for the profit on a policy

The company estimates that each year 1 in every 2000 policyholders may have a major injury, and 1 in 500 a minor injury only.

  Replace the db contents by simply running the new script

The design will evolve over the next couple of projects, so make sure you can quickly modify the database schemata and replace the DB contents by simply running the new script.

  Discuss arrays and access array elements

Write a 2 page research paper on creating and accessing arrays. Explain the concepts using at least one example. Use at least two resources (Wikipedia sources are not permitted) and list each resource used at the end of paper in the reference lis..

  Question based on artificial intelligence

If the brain is a computer and the mind its workings, is this fitting analogy of the computer and its software? What would happen if we had dedicated computers with a huge number of neuron circuits?

  Discuss the implication of the filament emissivity

Discuss the implication of the filament emissivity and the emissivity of the surface under analysis and how this will affect the accuracy of the measurement. Suggest methods that could be used to automate the device so that it could essentially be..

  Determining who to include in interviews

Discuss the considerations that should be made when determining who to include in interviews and/or JAD sessions.

  Concept of strategic alignment

The introduction to ISO 27002:2005 includes this statement: "This International Standard may be regarded as a starting point for developing organization-specific guidelines. Not all of the controls and guidance in this code of practice may be appl..

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