8-Distributed-Memory-Introduction Flashcards

(18 cards)

1
Q

What is distributed memory parallelism?

A

Multiple processes with separate memory spaces that communicate explicitly over a network

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

Why is explicit communication needed?

A

Processes cannot directly access each other’s memory - must send/receive messages

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

What is the key difference from shared memory?

A

No data races possible, but communication overhead is the main performance bottleneck

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

What is a process vs a thread?

A

Process: separate address space, expensive to create; Thread: shared address space, cheap to create

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

How do processes communicate?

A

Via interprocess communication (IPC) like sockets, pipes, or message passing libraries

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

What is MPI?

A

Message Passing Interface - standard library for distributed memory programming

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

What are the advantages of distributed systems?

A

Scalability to thousands of nodes, no cache coherency issues, fault tolerance

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

What are the disadvantages?

A

Communication overhead, explicit data movement, more complex programming

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

What is a cluster?

A

Collection of computers connected by high-speed network, running same OS

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

What is a supercomputer?

A

Large-scale cluster optimized for high performance computing

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

What is the fastest supercomputer today?

A

El Capitan: 11,340,000 cores, ~1.8 exaFLOPS, 30MW power consumption

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

What are exaflop machines?

A

Supercomputers capable of 10^18 floating point operations per second

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

What is the interconnection network?

A

High-performance network connecting cluster nodes (e.g. InfiniBand, Gigabit Ethernet)

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

What is the difference between local and wide area networks?

A

Local: high bandwidth, low latency; Wide area: lower bandwidth, higher latency

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

What is the primary performance bottleneck in distributed systems?

A

Communication time - data transfer between nodes

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

What makes distributed programming challenging?

A

Coordination without shared clock, explicit data movement, potential network failures

17
Q

What is the benefit of distributed systems for large problems?

A

Can solve problems too big for single machines

18
Q

What types of applications benefit most from distributed computing?

A

Weather forecasting, scientific simulations, large-scale data processing