The Need for Parallel Computing Flashcards

1
Q

What sort of areas demand faster computation?

A
  • Weather Prediction
  • Video Rendering
  • Gene Sequencing
  • Big Data Analytics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Moore’s Law? What is the revised version?

A

Moore’s law states the number of transistors in a circuit roughly doubles every year.
The revised version states that circuit complexity doubles every two years.

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

Usually, more transistors equals to more _____

A

power

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

After around 2005, integrated circuits gained in increase in performance not through advances in single thread performance, but in __________ ______

A

adding cores

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

The fastest computer in the world is called ______ ______ and has over 158 000 __-core CPUs. It can perform ____ petaflops

A

Fujitsu Fugaku, 48, 415

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

Software should be ______ rather than _______ to leverage compute power

A

parallel, sequential

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

Parallel software executes multiple ________ instruction streams

A

independent

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

In parallel software execution, each instruction stream also has an independent _____ speed, meaning you cannot predict where one thread is based on the progress of another thread

A

clock

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

Describe the shared memory architecture

A

Multiple processes P0, P1, P2 are connected to the same memory unit

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

Describe the distributed memory architecture

A

Multiple processes P0, P1, P2 all have their own memory unit

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

In a shared memory architecture, ____________ is easier between threads

A

coordination

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

In a distributed memory architecture, processes communicate with each other via _______ ____

A

network cards

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

Usually you will see a hybrid of shared and ___________ memory architectures

A

distributed

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

Describe a banking scenario where improper parallel execution could cause an inconsistency

A

2 withdrawals occur at the same time, allowing the withdraw-er to take out more money than they have

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

What is the general process of parallel programming? (4)

A
  1. Identify independent pieces of work that can be performed concurrently
  2. Understand the target model and design for it (shared vs distributed memory?)
  3. Employ high-level, standard library constructs when possible
  4. Clearly define pre and post conditions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Compilers have not being successful at extracting parallelism because they are too ______ ________. Programmers must __________ and code the parallel algorithms and data structures

A

context sensitive, conceptualize