09 – Scheduling: Proportional Share

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:10 PM on 8/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

Proportional Share Scheduler

aka Fair-share scheduler

2
New cards

Proportional Share Scheduler

guarantee that each process obtains a certain percentage of CPU time

3
New cards

Proportional Share Scheduler

not necessarily optimizing for turnaround time or response time

4
New cards

Tickets

represent the share of a resource that a process (or user) should receive

5
New cards

Percent of tickets

represents its share of the system resource in question

6
New cards

Lottery

can be held every time slice

7
New cards

Avoids strange corner case behaviors

why random? (1)

8
New cards

Lightweight

why random? (2)

9
New cards

Fast

why random? (3)

10
New cards

Ticket Currency

a user allocates tickets among their own processes in whatever currency they would like

11
New cards

Ticket Currency

the system converts the local currency into the correct global currency value

12
New cards

Ticket Transfer

a process can temporarily hand off its tickets to another process

13
New cards

Ticket Transfer

useful in client-server application with server doing tasks on behalf client

14
New cards

Ticket Inflation

a process can temporarily raise or lower the number of tickets it owns

15
New cards

Ticket Inflation

if any one process needs more CPU time, it can boost its tickets, assumes that a group of processes trust each other to prevent abuse

16
New cards

Fairness metric

the time the first process completes divided by the time that the second process completes

17
New cards

Stride Scheduling

randomness occasionally will not deliver good results especially for processes with short run times

18
New cards

Deterministic Fair Share Scheduler

stride scheduling, invented by Waldspurger

19
New cards

Linux Completely Fair Scheduler

fairely divide a CPU evenly among all competing processes

20
New cards

Virtual Runtime

CFS, uses a counting-based technique called

21
New cards

Lowest vruntime

CFS, when scheduling decision time occurs, pick the process with the _ _

22
New cards

Periodic Timer Interrupt

CFS, can only make decision at fixed time intervals, not affected if time slice is not a multiple of the interrupt timer interval time

23
New cards

Sched_latency and min_granularity

CFS, 2 control parameters

24
New cards

Sched_latency

determines how long one process shoul run before considering a switch

25
New cards

48 ms

typical values of sched_latency

26
New cards

Sched_latency / n processes

formula of sched_latency, time slice for a process

27
New cards

min_granularity

to address too many processes running

28
New cards

6 ms

minimum time slice for a process despite a large n, typically set to

29
New cards

Weighting

allows user/admins to control process priority (nice and renice progams)

30
New cards

+

sign that means lower priority

31
New cards

-

sign that means higher priority

32
New cards

Red Black Trees

how to efficiently (as quickly as possible) find the next process to run?

33
New cards

Height Balanced Tree

logarithmic search time compared to linear search time for lists

34
New cards

Running

CFS places only _ on the RB tree