3. Processes as Resource Consumers Flashcards
1
Q
Process
A
- A program in execution on a system
- A sequence of instructions along with the state of the memory
2
Q
Multiprogramming
A
- Multiple processes sharing the same set of resources
- Interleaved without any overlap
3
Q
Multiprogramming Level (MPL)
A
- The number of processes sharing resources
- Increasing the MPL increases utilization and throughput
4
Q
Multiprocessing
A
- The overlapped concurrent execution of programs
5
Q
Blocked Process
A
- A process that is stopped because it is waiting for an event
6
Q
Macro-Phases of a Process
A
- Consume some resource (CPU)
- Request/wait for an external service/event
- Do nothing until external service is done (blocked)
- Repeat
7
Q
Suspended Process
A
- A process that cannot be executed because it is swapped out of the main memory
8
Q
Thread
A
- An independent execution of a function within a process (enabling concurrency)
9
Q
State of a System
A
- The state of a bunch of queues, each of which has processes that are waiting for the services of the queue manager