Wk3L2 - Multiple Cores Flashcards

1
Q

What is a CPU (Central Processing Unit)?

A

A CPU is the electronic circuitry that executes instructions in a computer program. Modern CPUs typically contain multiple processors or cores for increased performance.

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

What are Logical Cores?

A

Logical cores are virtual cores created through hyper-threading, allowing one physical core to run multiple threads simultaneously. They increase CPU efficiency without changing the physical hardware.

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

What are the four components of the von Neumann Architecture?

A
  • Memory: Stores program instructions and data.
  • Control Unit: Fetches instructions and controls execution order.
  • ALU (Arithmetic Logic Unit): Performs basic operations.
  • I/O Interface: Manages input and output devices.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Shared Memory Architecture?

A

In shared memory architecture, all processors access a common memory space. This design simplifies programming but can be complex to build due to issues like cache coherence.

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

What is the difference between Uniform Memory Access (UMA) and Non-Uniform Memory Access (NUMA)?

A

UMA: All processors have equal access times to memory.

NUMA: Memory access times differ depending on the processor’s physical location, leading to slower access across processors.

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

What is Message Passing Architecture?

A

Message passing involves connecting computers through networks to increase parallelism. While it’s scalable, it’s much slower than shared memory due to network latency.

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

How do GPUs differ from CPUs in parallel processing?

A

CPUs handle hundreds of complex tasks in parallel.

GPUs are optimized for handling thousands of simple tasks in parallel using Single Instruction Multiple Data (SIMD) architecture, commonly used for tasks like graphics rendering.

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

What are the different types of NVIDIA GPU Cores?

A

Cuda Cores: General-purpose cores.

Tensor Cores: Optimized for matrix operations, AI, and physics calculations.

RT Cores: Used for real-time ray tracing, specialized for rendering realistic shadows and reflections.

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

What is the main trade-off between Shared Memory and Message Passing architectures?

A

Shared Memory: Faster communication but harder to scale beyond hundreds of processors.

Message Passing: Easier to scale but much slower due to network communication overhead.

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