Optimizing Memory Management: A Linux Bash Scripting Approach to Page Replacement Algorithms Analysis
Rohini G. Khalkar, Roshankumar S. Pokal, Rohan Badiger, Rudra Pratap Dev, Ruchir Bhatia, Sidharth Sukumaran Nair · 2024
This research paper delves into the critical realm of page replacement algorithms, a fundamental component of memory management in computer systems. Memory page replacement is essential for optimizing resource utilization and system performance. Employing algorithms within Bash scripts demonstrates progress in enhancing Linux boot time and optimizing its overall size [1]. The study focuses on the comparison of three prominent page replacement algorithms that are First-In-First-Out (FIFO), Optimal Page Replacement and Least Recently Used (LRU). By examining their principles, implementations, historical context, and performance across diverse scenarios, this research sheds light on their strengths and limitations. The approach is to consider processes as users and the virtual memory pages they occupy as the targets for replacement. In essence, this concept likens processes to users seeking replacements for specific memory pages [2] .The findings offer valuable insights for system administrators and designers, enabling them to make informed decisions about memory management strategies and ensure efficient system operation in a variety of computing applications.