Multi-Processor Systems Flashcards

(15 cards)

1
Q

General Purpose GPU (GPGPU)

A

Purpose: GPUs are increasingly used for general processing beyond graphics.

Strengths:

Highly pipelined and can perform fine-grained parallelism.
Limitations:

Tend to have limited I/O interfaces and are more suited to batch-style processing.

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

Non-Uniform Memory Access (NUMA

A

Definition: In NUMA systems, the memory access time varies depending on which processor accesses it.

Fast Access: Memory directly connected to the CPU.

Slow Access: Memory connected to a different CPU.

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

Symmetric Multi-Processing (SMP)

A

All processors are equal, each running its own scheduler.
Run Queues: Can be either shared between processors or specific to each one.

Challenges:

Load-balancing and process migration become complex.

Push: Processes are redistributed across CPUs.

Pull: Idle processors request more processes.

Benefit: Improves overall system performance with parallel processing.

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

Asymmetric Multi-Processing (AMP)

A

A single processor runs the scheduler and coordinates all other processors.
Challenges:

Scheduler data structures are accessed only by the main CPU.

Significant cost in moving processes (invalidates caches).

Some processors (like specialist processors) may not be suitable for all tasks.

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

Processor Affinity

A

A process has an affinity for specific CPUs.

This is controlled by a bitmask that indicates which CPUs the process can run on.
cons: If a process last ran on a specific CPU, it’s likely to run there again.

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

Interrupts in Multi-Processor Systems

A

Interrupt Direction: Interrupts need to be routed to the correct CPU, especially in systems with multiple processors.

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

Spin-Locks

A

definition: Spin-locks are used in multi-processor systems to handle brief locks.
efficient for short term locks

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

what is a multi processor

A

A multi-processor system is a computer system that has two or more processors (CPUs) working together to perform tasks

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

virtualisation

A

Virtualization helps to efficiently use resources, securely isolate systems, and easily create or move virtual machines.

It’s used in cloud services, server hosting, and load balancing.

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

Motivation for Virtualization

A

Underused machines: Many servers aren’t fully used, so virtualization helps utilize them better.

Need for strong isolation: Simple protection is not enough when hosting servers or running cloud services.
Virtualization provides independent and secure virtual machines.

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

Types of Virtualization

A

Type 0 - Mainframes:

Uses hardware support to divide resources (like processors) between different OSs on a single machine.

Type 1 - Bare-metal Hypervisors:

Examples: VMware ESX, Linux KVM, Windows Hyper-V.

Runs directly on the hardware without needing an underlying operating system.

Type 2 - Hosted Virtualization:

Examples: VMware Workstation, VirtualBox.

Runs on top of an existing operating system.

Containers (OS Partitioning):

Example: Linux LXC (Linux Containers).

Divides the OS into lightweight sections (containers), sharing the main OS kernel.

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

Hardware Virtualization

A

manage devices like network cards and storage across multiple VMs, making the system more efficient and secure.

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

Intel and AMD Support:

A

intel VT-x, VT-i, VT-d and AMD-V: Technologies that allow processors to directly support virtual machines (VMs).

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

Single-Root I/O Virtualization (SR-IOV)

A

Physical Function (PF): The real device.

Virtual Functions (VFs): Virtual versions of the device for each VM.

SR-IOV: Makes the same device appear as multiple devices to different VMs.

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

Intel VT-d and I/O-MMU

A

I/O-MMU: Protects data when VMs access I/O devices (like network cards).

Protection Domains: Each VM gets its own secure I/O space to avoid conflicts.

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