chapter 2 Flashcards

1
Q

whats a process?

A

a process is a program in execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Process Control Block (PCB)

A

is a data structure that stores all the info about a process, it is used by the CPU to manage the execution of the process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Process States

A

RUNNING, BLOCKED and READY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CPU Scheduling (CPU Zuteilung oder Ablaufplannung)

A

refers to the method used by the CPU to decide which process in the system should be allocated CPU time at any given moment. Primary goal is to ensure the ordered flow of competing processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Preemption - Verdrängung

A

temporarily halt a currently running process, types of events that lead to preemption are: interrupts, higher-priority processes becoming ready, or time-slicing in round robin scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Inter-Process Communication (IPC)

A

enables multiple processes to cooperate, work together, share data and synchronise their actions to achieve common goals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Types of IPC: local and remote

A

local IPC: communication between processes running on the same machine, they can communicate through the shared mem
remote IPC: communication between processes running on the different machines, they can communicate over a network (clients and servers)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Address mapping

A

is the process of translating logical @ (used by programs) into physical ones (used by hardware).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Placement strategies of addresses in mem

A

OS must decide the location of mem to be allocated:
- compaction: moves around processes to create a large block of free mem
- fragmentation: mem is broken into small, not attached blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Replacement strategies

A

when mem is full, OS needs to swap out some area to the secondary storage to free up some space, these strategies decide which mem area is to be swapped out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Non-Uniform Mem Architecture (NUMA)

A

mem design used in multiprocessor systems, where each CPU has its own local mem but can also access memory attached to other CPUs. The CPUs communicate viw HyperTransport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly