What is the initial value of the counters

Assignment Help Basic Computer Science
Reference no: EM131232060

A page-replacement algorithm should minimize the number of page faults. We can achieve this minimization by distributing heavily used pages evenly over all of memory, rather than having them compete for a small number of page frames. We can associate with each page frame a counter of the number of pages associated with that frame. Then, to replace a page, we can search for the page frame with the smallest counter.

a. Define a page-replacement algorithm using this basic idea. Specifically address these problems:

i. What is the initial value of the counters?

ii. When are counters increased?

iii. When are counters decreased?

iv. How is the page to be replaced selected?

b. How many page faults occur for your algorithm for the following reference string with four page frames?
1, 2, 3, 4, 5, 3, 4, 1, 6, 7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5, 4, 2.

c. What is the minimum number of page faults for an optimal pagereplacement strategy for the reference string in part b with four page frames?

Reference no: EM131232060

Questions Cloud

Create a pie chart for your business income and spending : Create a business budget sheet using Microsoft Excel. In the budget sheet, do the following: Create a label called "Income" and add your monthly business income in the next cell: $25,000. Create a pie chart for your business income and spending
What hardware support is required to implement this feature : What is the copy-on-write feature, and under what circumstances is its use beneficial? What hardware support is required to implement this feature?
Explain the operation of the circuit : Explain the operation of the circuit. Is this a positive- or negative-edge-triggered flip- flop? -  Redesign the circuit to make this a static flip-flop.
Explain the key principles of delegation : Explain the key principles of delegation. Differentiate the types of authorities in an organization. Analyze how those in authority can effectively delegate responsibility authority.
What is the initial value of the counters : What is the minimum number of page faults for an optimal pagereplacement strategy for the reference string in part b with four page frames?
Explore and analyze similarities between the story or play : Your comparison/contrast research paper should explore and analyze the similarities and differences between the story or play and its film version.
How many inputs does each decoder required : How many inputs does each decoder required? - What input to the row decoder is required. -  What input to the column decoder is required.
Identify key issue or issues identified in the case study : Identify the facts surrounding the case, evaluating the biggest strengths in the organization's practices. Identify the key issue or issues identified in the case study. Explain and evaluate the ways in which the key issues were addressed and ultimat..
What is the effective memory access time : Assume that 80 percent of the accesses are in the associative memory and that, of those remaining, 10 percent (or 2 percent of the total) cause page faults. What is the effective memory access time?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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