Lesson 2 Flashcards
Starts from Process State
A data structure used by the operating system to store all information about a process.
Process Control Block
Represents the current status of a process in its life cycle.
Process State
The process is being created.
New
The process is currently executing.
Running
The process is waiting for an event or resource.
Waiting
The process is ready to execute but waiting for CPU time.
Ready
The process has completed execution.
Terminated
The action of transferring control from the operating system to a selected process.
Dispatch
A register that holds the address of the next instruction to be executed.
Program Counter
Contains temporary data storage locations within the CPU for a process.
CPU Register
Data about the process’s priority and scheduling policy.
CPU Scheduling Information
Information about the memory allocated to the process.
Memory Management Information
Keeps track of resource usage for the process.
Accounting Information
Maintains information about the status of I/O operations associated with process.
I/O Status Information
The smallest sequence of programmed instructions that can be managed independently by the scheduler.
Threads
The method by which the operating system determines which processes to execute at any given time.
Process Scheduling
The component responsible for deciding which processes to run next.
Process Scheduler
Contains all processes in the system.
Job Queue
Contains processes that are ready to execute.
Ready Queue
Contains processes waiting for I/O devices.
Device Queue
Decides which ready processes to execute next.
Short Term/CPU Scheduler
Decides which processes are admitted to the system for processing.
Long Term/Job Scheduler
A process that spends more time waiting for I/O operations than using the CPU
I/O Bound Process
A process that spends more time executing computations on the CPU than waiting for I/O
CPU Time /CPU Bound Process