Preview

Scheduling in different Operating Systems

Good Essays
Open Document
Open Document
487 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Scheduling in different Operating Systems
Introduction

With CPU’s become faster and more capable of handling many programs/processes at any single time, a program is essential where the different processes of programs are manages and all given time to be processed by the CPU. The CPU has its limitations and cannot process anything at once. Enter the process Scheduler. The Scheduler helps the CPU by assigning the next process to be processed by the CPU Body

In all the operating systems, schedulers are a critical component of the CPU to getting processes done. Allowing fairness between processes that need to be completed and give over all optimal efficiency to the end user. User perceived performance is a critical part of the scheduler, this how efficient the systems seems to the human user. All processes deserve fairness in which they receive access to systems resources. This is exemplified by the round robin scheduling algorithm.

Figure 1: Simple diagram of scheduling a process

Round Robin is used to switch between real time processes. Round Robin is also used for time-share, meaning that each process is given an equal “time Slice” to be processed by the CPU. Real Time processes have the highest priority and usually over rule any other process at the time.

In Linux, the two processing scheduling algorithms used for real time processes is Round Robin and First-in-First-out (FIFO). These two scheduling algorithms allow real-time processes to be executed in a timely fashion, and a time-sharing algorithm is used for all other processes. The time-sharing algorithms are prioritized and “credit-based”. The process with the most credits is selected, and while a process is running, it loses credits every time the timer interrupts occur. A process may no longer run if it has no more credits remaining. If the process that uses the time-sharing algorithm has no credits remaining, the system assigns credits. Also meaning the higher priority processes will then receive more credits.

An

You May Also Find These Documents Helpful

  • Good Essays

    Some OS routines directly support application programs as they run and thus must be resident. Other transient routines are stored on disk and read into memory only when needed. Fixed-length partitions can also be used to allocate the set amount of memory that a particular program needs to run. Under dynamic memory management, the transient area is treated as a pool of unstructured free space. When the system decides to load a particular program, a region of memory just sufficient to hold the program is allocated from the pool. Using segmentation, programs are divided into independently addressed segments and stored in noncontiguous memory. Paging breaks a program into fixed-length pages.…

    • 7085 Words
    • 29 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 1 Study Guide

    • 378 Words
    • 2 Pages

    Multiple threads can interfere with each other when sharing hardware resources such as caches or translation lookaside buffers (TLBs). As a result, execution times of a single thread are not improved but can be degraded, even when only one thread is executing, due to lower frequencies or additional pipeline stages that are necessary to accommodate thread-switching hardware.…

    • 378 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 1 Study Guide

    • 2629 Words
    • 11 Pages

    CPU scheduler is to selects from among the processes in memory ready to execute and allocates the CPU to one of them. CPU scheduling decisions may take place when a process:…

    • 2629 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    One of the key functions of an operating system is the process management. Linux OS system is very dynamic with constantly changing computing needs. These needs tend to be centered on the process. Processes can be either long or short lived, so managing these processes is very important. Linux incorporates a very flexible design which contains a separate unit to take on the process management task. In a Linux operating system processes are created and represented by an allocated task_struct.…

    • 749 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Memory management is an important characteristic of an operating system. Main memory is divided into two parts one for resident programs, and the other for the program currently in use. The user part must be subdivided to accommodate multiple processes (Stallings, 2012). When a few processes are in the memory then much of the time all of the processes will have to wait for input /output and the processor will be idle. According to Stallings (2012),. The requirements that memory management is supposed to satisfy are Relocation, Protection, Sharing, Logical organization, and Physical…

    • 573 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Exercise 8 Study Guide

    • 398 Words
    • 2 Pages

    1. Under the above policy, 2 processes can be run simultaneously or active at once.…

    • 398 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    IT 600 Module One Lecture

    • 1256 Words
    • 5 Pages

    Silberschatz, A., Galvin, P. B., & Gagne, G. (2009). Operating system concepts. Hoboken, NJ: John Wiley &…

    • 1256 Words
    • 5 Pages
    Better Essays
  • Good Essays

    In order to increase productivity, system response times should be kept to 2 seconds or less. For the…

    • 2555 Words
    • 9 Pages
    Good Essays
  • Powerful Essays

    Bca Cs-63

    • 1608 Words
    • 7 Pages

    Consider the following set of processes that arrive in the ready queue at the same time:…

    • 1608 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    Operating System Differences

    • 3058 Words
    • 13 Pages

    Each operating system is a multi-user system, multiprocessing, multitasking, and multithreading. An operating system capable of allowing multiple software processes to run at the same time is a multiprocessing and multitasking computer. Operating systems that allow different parts of a software program to run concurrently are considered multithreading.…

    • 3058 Words
    • 13 Pages
    Powerful Essays
  • Powerful Essays

    QNX is a microkernel real-time operating system, from now on referred to as an RTOS. A microkernel RTOS is special in the way that the OS is built up with a number of small services which each handle a specific task, this is basically a set of system calls which is available to the developer. These services only implement low-level communication over network and between processes, process scheduling and interrupt handling. Other OS functions as file-system and device drivers are deployed as user processes outside the kernel. In contrast most other OS use a monolithic kernel. In that case all kernel functions reside in…

    • 3500 Words
    • 14 Pages
    Powerful Essays
  • Good Essays

    In the preemptive method, the OS maintains total control over prioritizing system processes. The OS maintains a static priority list of currently running programs and processes; adding programs to the list as they are loaded into resident memory, removing them as they complete or are closed, and modifying the pre-assigned priority level of any program already on the list. In this way, programs are essentially "unaware" of one another, never having to pause for the current process to "check in" with the operating system. This speeds up overall processing time in itself. Additionally, the…

    • 363 Words
    • 1 Page
    Good Essays
  • Satisfactory Essays

    disk scheduling

    • 266 Words
    • 2 Pages

    Disk scheduling is one of the main responsibilities of Operating System. OS manages hard disk to provide best access time. All major Disk scheduling algorithms incorporate seek time as the only factor for disk scheduling. The second factor rotational delay is ignored by the existing algorithms. This research paper considers both factors, Seek Time and Rotational Delay to schedule the disk. Files are the most obvious objects in the operating systems manipulate. Everything is typically stored in files: programs, data, output, and so on. One problem in the file management is how to allocate space for file so that disk space is utilized effectively and files can be accessed quickly. Three major methods of allocating disk space are contiguous, linked and indexed. Each method has its advantages and disadvantages.…

    • 266 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Scheduling

    • 1111 Words
    • 5 Pages

    • Deadlock can occur if two or more processes are competing for two or more common resources • Deadlock causes all processes involved in the deadlock to become permanently blocked…

    • 1111 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Priority Interrupt

    • 2015 Words
    • 9 Pages

    Establishing the priority of the interrupt can be through software or hardware. A polling process is used to identify the highest…

    • 2015 Words
    • 9 Pages
    Good Essays