Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Scheduling (computing)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===First come, first served=== {{Main|FIFO (computing and electronics)}} [[File:Thread pool.svg|thumb|400px|A sample [[thread pool]] (green boxes) with a queue (FIFO) of waiting tasks (blue) and a queue of completed tasks (yellow)]] ''First in, first out'' ([[FIFO (computing and electronics)|FIFO]]), also known as ''first come, first served'' (FCFS), is the simplest scheduling algorithm. FIFO simply queues processes in the order that they arrive in the ready queue. This is commonly used for a '''{{visible anchor|task queue}}''', for example as illustrated in this section. * Since context switches only occur upon process termination, and no reorganization of the process queue is required, scheduling overhead is minimal. * Throughput can be low, because long processes can be holding the CPU, causing the short processes to wait for a long time (known as the convoy effect). * No starvation, because each process gets chance to be executed after a definite time. * [[Turnaround time]], waiting time and response time depend on the order of their arrival and can be high for the same reasons above. * No prioritization occurs, thus this system has trouble meeting process deadlines. * The lack of prioritization means that as long as every process eventually completes, there is no starvation. In an environment where some processes might not complete, there can be starvation. * It is based on queuing.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)