mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
vault backup: 2022-10-30 13:40:53
This commit is contained in:
parent
4682a84c34
commit
c5ae995627
30
content/notes/19-cpu-scheduling.md
Normal file
30
content/notes/19-cpu-scheduling.md
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
title: "19-cpu-scheduling"
|
||||
aliases:
|
||||
tags:
|
||||
- cosc204
|
||||
- lecture
|
||||
---
|
||||
|
||||
why shedule?
|
||||
- keep cpu busy (cpu utilisation)
|
||||
- so processed dont hae to spend time waithing for the CPU
|
||||
- even if cpu is always bust executing processses in different orders can change the average time spent in queue
|
||||
- cpu burst
|
||||
- 
|
||||
- (diagram is old the timing will have changed)
|
||||
- between burst - waiting for io
|
||||
- so that interactive processes respond quickly
|
||||
- time spent waiting in total
|
||||
- average time between visits to CPU
|
||||
- 
|
||||
|
||||
criteria
|
||||
- CPU utilisation - % time CPU is busy
|
||||
- throughput - number of processes completed per time unit
|
||||
- turnaround time - (for a single process) length of time from submitted to completed
|
||||
- waiting time - (for a single process) time spent waiting for the CPU
|
||||
- response time - (for a signle process) average timefrom the submission of a request to a process util the first response in produced
|
||||
|
||||
# Scheduling algorithms
|
||||
|
||||
Loading…
Reference in New Issue
Block a user