Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Compare and contrast internal fragmentation and external fragmentation. Describe how the operating system detects thrashing. Once the thrashing is detected, explain what the operating system

Compare and contrast internal fragmentation and external fragmentation.
Describe how the operating system detects thrashing. Once the thrashing is detected,
explain what the operating system can do to stop it.
Given that main memory is composed of two-page frames for public use and that a 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
I. Using the FIFO and LRU page removal algorithm, do a page trace analysis
indicating page faults with asterisks (*). Then compute the failure and success
ratios.
II. Based on your answer in 3(i), which of the page removal algorithm performed
better? Justify your answer.
Given that main memory is composed of two-page frames for public use and that a seven-
page program (with pages a,b,c,d,e,f,g) requests pages in the following order:
a,d,b,a,f,b,e,c,g,f,b,g
I. Using the MRU (most-recently-used) and LFU (least frequently used) page
removal algorithm, do a page trace analysis indicating page faults with asterisks
(*). Then compute the failure and success ratios.
II. Based on your answer in 4(i), which of the page removal algorithm performed
better? Justify your answer.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions