SlideShare a Scribd company logo
Morta, Cathrina B.        BSIT 2A               scheduler also must ensure that processes
                                                can meet deadlines; this is crucial for
Scheduling (computing)                          keeping the system stable. Scheduled tasks
                                                are sent to mobile devices and managed
In computer science, scheduling is the          through an administrative back end.
method by which threads, processes or data
flows are given access to system resources      First-Come-First-Served (FCFS)
(e.g. processor time, communications            Scheduling
bandwidth). This is usually done to load
balance a system effectively or achieve a       Other names of this algorithm are:
target quality of service. The need for a       First-In-First-Out (FIFO)
scheduling algorithm arises from the            Run-to-Completion
requirement for most modern systems to          Run-Until-Done
perform multitasking (execute more than
one process at a time) and multiplexing         Perhaps, First-Come-First-Served algorithm
(transmit multiple flows simultaneously).
                                                is the simplest scheduling algorithm is the
The scheduler is concerned mainly with:         simplest scheduling algorithm. Processes are
                                                dispatched according to their arrival time on
      Throughput - number of processes          the ready queue. Being a nonpreemptive
      that complete their execution per time    discipline, once a process has a CPU, it runs
      unit.
                                                to completion.
      Latency, specifically:
          o Turnaround - total time
                                                The FCFS scheduling is fair in the formal
             between submission of a            sense or human sense of fairness but it is
             process and its completion.        unfair in the sense that long jobs make short
          o Response time - amount of time      jobs wait and unimportant jobs make
             it takes from when a request       important jobs wait.
             was submitted until the first
             response is produced.
      Fairness / Waiting Time - Equal CPU       FCFS is more predictable than most of other
      time to each process (or more             schemes since it offers time. FCFS scheme
      generally appropriate times according     is not useful in scheduling interactive users
      to each process' priority).               because it cannot guarantee good response
                                                time. The code for FCFS scheduling is
In practice, these goals often conflict (e.g.
                                                simple to write and understand. One of the
throughput versus latency), thus a scheduler
will implement a suitable compromise.           major drawback of this scheme is that the
Preference is given to any one of the above     average time is often quite long.
mentioned concerns depending upon the
user's needs and objectives.                    The First-Come-First-Served algorithm is
                                                rarely used as a master scheme in modern
In real-time environments, such as
                                                operating systems but it is often embedded
embedded systems for automatic control in
industry (for example robotics), the            within other schemes.

More Related Content

PPTX
Cpu scheduling in operating System.
PDF
Process scheduling (CPU Scheduling)
PPTX
Process scheduling
PPT
21 process scheduling alogorithm
PPTX
MULTILEVEL QUEUE SCHEDULING
PPTX
Process management
PPTX
cpu scheduling
PPTX
Windows process scheduling presentation
Cpu scheduling in operating System.
Process scheduling (CPU Scheduling)
Process scheduling
21 process scheduling alogorithm
MULTILEVEL QUEUE SCHEDULING
Process management
cpu scheduling
Windows process scheduling presentation

What's hot (18)

PPTX
Process scheduling
PDF
OS - Process Concepts
PDF
Unit II - 1 - Operating System Process
PPT
Chapter 3: Processes
PDF
Operating System-Process Scheduling
PDF
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
PPT
Os Concepts
PPTX
Windows process-scheduling
PPT
Chapter 19 - Real Time Systems
PPT
Real-Time Scheduling
PPTX
Process scheduling algorithms
PPT
cpu scheduling OS
PPTX
Process concept
PDF
2 os structure
PPTX
CPU scheduling
PPTX
Process in operating system
PPTX
Lecture 4 process cpu scheduling
Process scheduling
OS - Process Concepts
Unit II - 1 - Operating System Process
Chapter 3: Processes
Operating System-Process Scheduling
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Os Concepts
Windows process-scheduling
Chapter 19 - Real Time Systems
Real-Time Scheduling
Process scheduling algorithms
cpu scheduling OS
Process concept
2 os structure
CPU scheduling
Process in operating system
Lecture 4 process cpu scheduling
Ad

Viewers also liked (20)

DOCX
Cpu scheduling final
PPTX
Modern Operating System Windows Server 2008
PDF
MODERN OPERATING SYSTEM
PPT
Linux Introduction
PPT
Window scheduling algorithm
PPTX
Android operating system
PPTX
Modern operating system.......
PPT
Scheduling In Linux
PDF
Linux Process Management Workshop
PPT
Processes and Threads in Windows Vista
PDF
Processes in unix
PDF
Operating System
PPTX
Android Operating System
PPTX
Process management in linux
PDF
Operating Systems 1 (10/12) - Scheduling
PDF
CPU Scheduling - Part1
PPTX
Unix Process management
PPT
Unix memory management
PPT
Process scheduling linux
PPTX
Android operating system
Cpu scheduling final
Modern Operating System Windows Server 2008
MODERN OPERATING SYSTEM
Linux Introduction
Window scheduling algorithm
Android operating system
Modern operating system.......
Scheduling In Linux
Linux Process Management Workshop
Processes and Threads in Windows Vista
Processes in unix
Operating System
Android Operating System
Process management in linux
Operating Systems 1 (10/12) - Scheduling
CPU Scheduling - Part1
Unix Process management
Unix memory management
Process scheduling linux
Android operating system
Ad

Similar to Cpu scheduling (20)

PDF
cpu scheduling.pdfoieheoirwuojorkjp;ooooo
PPTX
2_CPU Scheduling (2)beautifulgameyt.pptx
PPT
cpu sechduling
PPT
Csc4320 chapter 5 2
PPT
Os..
PPT
Scheduling algorithms
PDF
Cpu scheduling
PPT
CPU SCHEDULING IN OPERATING SYSTEMS IN DETAILED
PPT
Cpu scheduling(suresh)
PPT
Cpu scheduling
PPTX
PROCESS.pptx
PPTX
Cpu scheduling
PDF
PPT
Unit2 CPU Scheduling 24252 (sssssss1).ppt
PPT
Unit2 CPU Scheduling 24252.ppBBBBBBBBBBt
PPTX
Scheduling algo(by HJ)
PPTX
First Come First Serve Scheduling in real time operating system.pptx
cpu scheduling.pdfoieheoirwuojorkjp;ooooo
2_CPU Scheduling (2)beautifulgameyt.pptx
cpu sechduling
Csc4320 chapter 5 2
Os..
Scheduling algorithms
Cpu scheduling
CPU SCHEDULING IN OPERATING SYSTEMS IN DETAILED
Cpu scheduling(suresh)
Cpu scheduling
PROCESS.pptx
Cpu scheduling
Unit2 CPU Scheduling 24252 (sssssss1).ppt
Unit2 CPU Scheduling 24252.ppBBBBBBBBBBt
Scheduling algo(by HJ)
First Come First Serve Scheduling in real time operating system.pptx

Recently uploaded (20)

PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Machine learning based COVID-19 study performance prediction
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Tartificialntelligence_presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Spectroscopy.pptx food analysis technology
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25-Week II
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine learning based COVID-19 study performance prediction
Assigned Numbers - 2025 - Bluetooth® Document
“AI and Expert System Decision Support & Business Intelligence Systems”
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Unlocking AI with Model Context Protocol (MCP)
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Tartificialntelligence_presentation.pptx
Electronic commerce courselecture one. Pdf

Cpu scheduling

  • 1. Morta, Cathrina B. BSIT 2A scheduler also must ensure that processes can meet deadlines; this is crucial for Scheduling (computing) keeping the system stable. Scheduled tasks are sent to mobile devices and managed In computer science, scheduling is the through an administrative back end. method by which threads, processes or data flows are given access to system resources First-Come-First-Served (FCFS) (e.g. processor time, communications Scheduling bandwidth). This is usually done to load balance a system effectively or achieve a Other names of this algorithm are: target quality of service. The need for a First-In-First-Out (FIFO) scheduling algorithm arises from the Run-to-Completion requirement for most modern systems to Run-Until-Done perform multitasking (execute more than one process at a time) and multiplexing Perhaps, First-Come-First-Served algorithm (transmit multiple flows simultaneously). is the simplest scheduling algorithm is the The scheduler is concerned mainly with: simplest scheduling algorithm. Processes are dispatched according to their arrival time on Throughput - number of processes the ready queue. Being a nonpreemptive that complete their execution per time discipline, once a process has a CPU, it runs unit. to completion. Latency, specifically: o Turnaround - total time The FCFS scheduling is fair in the formal between submission of a sense or human sense of fairness but it is process and its completion. unfair in the sense that long jobs make short o Response time - amount of time jobs wait and unimportant jobs make it takes from when a request important jobs wait. was submitted until the first response is produced. Fairness / Waiting Time - Equal CPU FCFS is more predictable than most of other time to each process (or more schemes since it offers time. FCFS scheme generally appropriate times according is not useful in scheduling interactive users to each process' priority). because it cannot guarantee good response time. The code for FCFS scheduling is In practice, these goals often conflict (e.g. simple to write and understand. One of the throughput versus latency), thus a scheduler will implement a suitable compromise. major drawback of this scheme is that the Preference is given to any one of the above average time is often quite long. mentioned concerns depending upon the user's needs and objectives. The First-Come-First-Served algorithm is rarely used as a master scheme in modern In real-time environments, such as operating systems but it is often embedded embedded systems for automatic control in industry (for example robotics), the within other schemes.