OSY Micro-Project
OSY Micro-Project
By
“Gaurangi Madankar”
“Aarya Nalage”
“Bhumika Kumari”
ROLL NO:- 55
56
57
SUBJECT INCHARGE
“Gaurangi Madankar”
“Aarya Nalage”
“Bhumika Kumari”
is submitted for
“Operating Systems”
for
____________________________ ______________________________
By
GAURANGI 2209640228
55 MADANKAR
AARYA 2209640229
56
NALAGE
BHUMIKA 2209640230
57
KUMARI
SUBJECT INCHARGE
Vision: -
Mission: -
PROGRAMME OUTCOMES
PO7: Life-long learning: Ability to analyse individual needs and engage in updating
in the context of technological changes
COMPUTER ENGINEERING DEPARTMENT
The project aims to analyze Page Replacement Algorithms like FIFO, LRU, and Optimal
Page Replacement in Operating Systems to improve memory management and system
performance.
Course Outcomes
Proposed Methodology
o First, Search the topic for which you want to make a project, and then propose it to
the Subject In charge.
o After finalizing the topic, start gathering the information about your project.
o Now, it’s time to make a report of your Selected Project.
Action Plan
Subject In-charge
(Mrs. Rachita Mandgilwar)
Page Replacement Algorithms
Rationale
This microproject explores page replacement algorithms in operating systems, such as FIFO,
LRU, and Optimal Page Replacement. It aims to provide students with insights into the trade-
offs and efficiencies of these algorithms, enabling them to design effective memory
management strategies in real-world applications. The project also enhances their analytical
and problem-solving skills by evaluating each algorithm's advantages and limitations.
Literature
Introduction
Purpose
The primary purpose of page replacement algorithms is to minimize page faults, where a
required page is not in memory and must be loaded from the disk. Effective algorithms help
in maintaining a balance between memory usage and processor efficiency, thus enhancing
system responsiveness.
1. First-In-First-Out (FIFO): This algorithm removes the oldest page from memory to
make space for a new one. While simple, FIFO may not always be the most efficient, as older
pages might still be frequently accessed.
Fault Fault Fault Fault Hit Fault Hit Fault Hit Hit Hit Hit Hit Hit
3. Optimal Page Replacement: The optimal algorithm removes the page that will not be
used for the longest time in the future. Although it provides the best possible results in theory,
it is impractical in real-world scenarios because future page requests are unknown.
Fault Fault Fault Fault Hit Fault Hit Fault Hit Hit Hit Hit Hit Hit
4. Clock Algorithm (Second Chance): A practical variation of FIFO, this algorithm gives
each page a second chance before being removed. Pages are stored in a circular list, with a
pointer marking the oldest page. If a page is accessed, it is given a "second chance" before it
is removed.
Fault Fault Fault Fault Hit Fault Fault Fault Hit Fault Fault Fault Fault Fault
Practical Applications
Page replacement algorithms are crucial in systems with limited physical memory. They are
widely used in:
- Computer Operating Systems (Windows, Linux, etc.)
- Real-Time Embedded Systems
- Databases and High-Performance Computing Environments
Conclusion
Page Replacement Algorithms are essential in the design and performance optimization of
operating systems. Understanding various algorithms helps in choosing the right method for a
given environment, balancing efficiency, and speed. This microproject offers a foundational
overview of these algorithms, their benefits, and their limitations, equipping students with
practical knowledge applicable to memory management in real-world systems.
References
Resources Required
Skill Developed
Applications
Subject In-charge
(Mrs. Rachita Mandgilwar)