December 02, 2023 University of the People Department of Computer Science CS 2301 - Operating Systems 1 Instructor: Damian Kravets
Understanding how computers decide what to work on is really important. It's like having a manager for tasks inside the computer. This manager, known as a CPU scheduling algorithm, decides which job to do first and how to share the computer's time. This decision affects how fast the computer responds, how well it works, and how much energy it uses (pagidimarrybhanupriya,2019). Choosing the most suitable method for U235 wearable health monitoring devices to organize and manage their various tasks is of great importance. It significantly influences not only the overall performance of the device but also its responsiveness and energy efficiency. In the context of this proposal, I put forward the recommendation of implementing a specific system called the Completely Fair Scheduler (CFS). This scheduler comes with a set of advantageous features that align seamlessly with the specific needs and functionalities of U235 devices, contributing to their enhanced operational effectiveness (The Linux Kernel Archives, n.d.). Why CFS is Good: CFS is like the traffic controller for the U235 wearable device's brain, the CPU. It's great because it makes sure all the tasks, or jobs, that the device has to do get a fair share of the CPU's time. Imagine the CPU as a playground slide, and each task is like a kid waiting for a turn. CFS ensures that no kid waits too long and that everyone gets to slide down fairly (The Linux Kernel Archives, n.d.). Now, imagine the U235 device is like a superhero, collecting data from sensors and showing important information to the user. CFS is the sidekick that helps the superhero do its job efficiently. When there's a quick task, like showing a notification, CFS makes sure it happens fast. It's like having a sidekick who knows exactly when to hand the superhero the tools needed to save the day (The Linux Kernel Archives, n.d.).
CFS is also like a wise wizard that doesn't waste time figuring out which task to do next. It quickly decides, making sure the U235 device doesn't spend too much energy on decisions and more on doing things that directly help the user. This is like having a smart wizard who uses magic wisely to save energy and make the device's battery last longer (The Linux Kernel Archives, n.d.). Think of CFS as a well-traveled friend who has been to many places and knows how to handle different situations. It's been used in various devices and proven to be trustworthy. This makes us feel confident that CFS is the right choice for U235 wearables. It's like having a reliable friend who always has your back, no matter what adventures come your way. Comparison with Other Algorithms: When comparing CPU scheduling algorithms, it becomes evident that the Completely Fair Scheduler (CFS) outshines alternative methods. First-Come-First-Served (FCFS) simplicity may lead to a "convoy effect," causing delays in quick tasks behind slower ones and