The Need for Parallel Computing Flashcards
What sort of areas demand faster computation?
- Weather Prediction
- Video Rendering
- Gene Sequencing
- Big Data Analytics
What is Moore’s Law? What is the revised version?
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.
Usually, more transistors equals to more _____
power
After around 2005, integrated circuits gained in increase in performance not through advances in single thread performance, but in __________ ______
adding cores
The fastest computer in the world is called ______ ______ and has over 158 000 __-core CPUs. It can perform ____ petaflops
Fujitsu Fugaku, 48, 415
Software should be ______ rather than _______ to leverage compute power
parallel, sequential
Parallel software executes multiple ________ instruction streams
independent
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
clock
Describe the shared memory architecture
Multiple processes P0, P1, P2 are connected to the same memory unit
Describe the distributed memory architecture
Multiple processes P0, P1, P2 all have their own memory unit
In a shared memory architecture, ____________ is easier between threads
coordination
In a distributed memory architecture, processes communicate with each other via _______ ____
network cards
Usually you will see a hybrid of shared and ___________ memory architectures
distributed
Describe a banking scenario where improper parallel execution could cause an inconsistency
2 withdrawals occur at the same time, allowing the withdraw-er to take out more money than they have
What is the general process of parallel programming? (4)
- Identify independent pieces of work that can be performed concurrently
- Understand the target model and design for it (shared vs distributed memory?)
- Employ high-level, standard library constructs when possible
- Clearly define pre and post conditions