Question

Given that main memory is composed of three page frames for public use and that a...

Given that main memory is composed of three page frames for public use and that a program requests pages in the following order:

A, B, C, D, A, B, E, A, B, C, D, E, B, A, B

  • Using the FIFO page removal algorithm, perform a page trace analysis indicating page faults with asterisks (*). Then compute the failure and success ratios
  • Using the LRU page removal algorithm, perform a page trace analysis and compute the failure and success ratios.

The page trace analysis should look something like the image below. It should clearly specify which page is loaded into each of the page frames as the requests come in.


Page Requests

A

B

A

B

F

D

F

C

G

F

G

B

D

E

Page 1

Page 2

Page 3

FAULT

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Given that main memory is composed of three page frames for public use and that a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Given that main memory is composed of four page frames for public use and that program...

    Given that main memory is composed of four page frames for public use and that program requests pages in the following order: a, b, a, b, f, d, f ,c, g, f, a, b, d, e, k, m Using FIFO removal algorithm, perform a page trace analysis and indicate page faults with asterix(*). Then calculate failure rate. Using LRU removal algorithm, perform a page trace analysis and indicate page faults with asterix(*). Then calculate failure rate.

  • 1. Given that main memory is composed of only three page frames for public use and...

    1. Given that main memory is composed of only three page frames for public use and that a seven-page program (with pages a, b, c, d, e, f, g) that requests pages in the following order: a, c, a, b, a, d, a, c, b, d, e, f a. Using the FIFO page removal algorithm, indicate the movement of the pages into and out of the available page frames (called a page trace analysis) indicating each page fault with an...

  • Given that main memory is composed of four page frames for public use, use the following...

    Given that main memory is composed of four page frames for public use, use the following table to answer all parts of this problem: Page Frame   Time When Loaded Time When Last Referenced Referenced BIT      Modified BIT 0 09 307 0 0 1 17 362 1 0 2 10 294 0 1 3 160 369 1 1 The contents of which page frame would be swapped out by FIFO? The contents of which page frame would be swapped out by...

  • Assume demand paging with three frames. Consider the following page reference string: 7, 2, 3, 1,...

    Assume demand paging with three frames. Consider the following page reference string: 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1 If OPT replacement is used, the number of page faults will be a. 8 b. 9 c. 10 d. 7 e.None of the above If LRU replacement is used, the number of page fault will be a. 8 b. 9 c. 10 d. 11 e. None of the above

  • Consider the following page reference string: A C B D B A E F B F...

    Consider the following page reference string: A C B D B A E F B F A G E F A Assuming demand paging with four frames, how many page faults would occur for the following replacement algorithms? Remember that all frames are initially empty, so your first unique pages will cost one fault each. Show all of your works. LRU replacement FIFO replacement Optimal (MIN) replacement

  • Implement the frame replacement algorithm for virtual memory Assume a computer system have 10 memory frames available inside the physical memory and is required to execute a process containing 20 pa...

    Implement the frame replacement algorithm for virtual memory Assume a computer system have 10 memory frames available inside the physical memory and is required to execute a process containing 20 pages. Assume a process P has been executed in the system and produced a sequence of 40 page demands as follows: Page demands trace of process P Demand 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 cont. Page...

  • Use C++ forehand e receiver creates a public key and a secret key as follows. Generate...

    Use C++ forehand e receiver creates a public key and a secret key as follows. Generate two distinct primes, p andq. Since they can be used to generate the secret key, they must be kept hidden. Let n-pg, phi(n) ((p-1)*(q-1) Select an integer e such that gcd(e, (p-100g-1))-1. The public key is the pair (e,n). This should be distributed widely. Compute d such that d-l(mod (p-1)(q-1). This can be done using the pulverizer. The secret key is the pair (d.n)....

  • AutoSave Off HD Unit 1 Project Fall 2020 (2) - Protected View - Excel guada gucci...

    AutoSave Off HD Unit 1 Project Fall 2020 (2) - Protected View - Excel guada gucci GG File Home Insert Draw Page Layout Formulas Data Review View Help O Search Share Comments i PROTECTED VIEW Be careful—files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Enable Editing X H16 fox 1 J к L N O P P Q R S т U A B с D E F G...

  • Problem 1 Please do not use any type of software to solve this problem; perform all...

    Problem 1 Please do not use any type of software to solve this problem; perform all the calculations and draw the charts by hand. You can use your calculator only for simple operations like addition, multiplication, finding averages and standard deviations. The owner of an apartment complex with three-bedroom units is trying to determine what rent he should set for the summer months. He believes that the rent of an apartment in his complex determines if it will be occupied...

  • Which of the three methods do you think Current Designs should use? Why? X V fx...

    Which of the three methods do you think Current Designs should use? Why? X V fx ABCD CD4 - Excel Tutorial H As you learned in the previous chapters, Current Designs has two main product lines - composite kayaks, which are handmade and very laborIntensive and rotomolded kayaks, which require less labor but employ more expensive equipment. Current Design's controller, Dlano Buswell, is now evaluating several different methods of assigning overhead to these products. It is important to ensure that...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT