COMSCI 2101 - PROCESSOR MANAGEMENT (PT1)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/26

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

27 Terms

1
New cards

PROCESS

basic unit of execution in the operating system

2
New cards

PROCESS

the name we give to a program when it is running in memory.

3
New cards

PROGRAM

a compiled set of instructions that are stored in an executable
file.

4
New cards

PROCESS

the instance of this executable file that the operating system runs, along with its associated resources and current state of execution (e.g.,memory allocation,

5
New cards

JOB SCHEDULER
PROCESS SCHEDULER

The Processor Manager is made up of two sub-managers:

6
New cards

JOB SCHEDULER

High level scheduler

7
New cards

PROCESS SCHEDULER

Low level scheduler

8
New cards

JOB

We describe a collection of processes as a

9
New cards

JOB SCHEDULER

wants to ensure that all components of the operating system are busy, and there is NO COMPONENT that is IDLE.

10
New cards

BATCH JOBS

jobs that are CPU-bound

11
New cards

INTERACTIVE JOBS

jobs that have a lot of I/O operations

12
New cards

PROCESS CONTROL BLOCK

Every process has a field that records their current status, called the

13
New cards

HOLD

When the process is first passed to the Job Scheduler from the
operating system, its status is always set as

14
New cards

READY

When the Job Scheduler passes the process onto the Process
Scheduler, its status is always changed to

15
New cards

PROCESS SCHEDULER

Assigns the CPU to execute processes of those jobs placed on ready queue by Job Scheduler.

16
New cards

PROCESS SCHEDULER

- Determines which jobs will get CPU, when, and for how long.
- Decides when processing should be interrupted.
- Determines queues job should be moved to during execution.
- Recognizes when a job has concluded and should be terminated.

17
New cards

MIDDLE-LEVEL SCHEDULER

In a highly interactive environment there's a third layer
called

18
New cards

MIDDLE-LEVEL SCHEDULER

Removes active jobs from memory to reduce degree of
multiprogramming and allows jobs to be completed faster.

19
New cards

HOLD TO FINISH

When the jobs moves through the system and makes progress, it changes it's states from

20
New cards

1. HOLD
2. READY
3. RUNNING
4. WAITING
5. FINISHED

(JOB AND PROCESS STATUS)
When the job is being processed by the job manager and the
process manager, it is always in one of these 5 states:

21
New cards

HOLD STATE

When a user submits a job and it accepts the job, the job is put on ______ and placed in a queue.

22
New cards

READY STATE

A job is in ______ state when it's ready to run and waiting for the CPU.

23
New cards

RUNNING STATE

When a job is in _______ state, it is being executed.

24
New cards

WAITING STATE

When a job is in ________ state, it means that the job can't continue until a specified I/O operation is done or a resource is allocated.

25
New cards

FINISHED STATE

When a job is in _________ state, it means that the job is done and the output will be returned to the user.

26
New cards

PROCESS CONTROL BLOCK

data structure that contains basic info about the job

27
New cards

Queues

- use PCBs to track jobs.
- PCBs, not jobs, are linked to form
- ____________ must be managed by process scheduling policies and algorithms.