Glossary
- Amdahl's law
- \(S(P) = 1/((1-f) + f/P)\): the sequential fraction \(1-f\) limits speedup to \(1/(1-f)\). U1
- AMAT
- Average memory access time, \(HT + MR \times MP\). U4
- Atomic operation
- A memory update that cannot be interrupted by other threads (
#pragma omp atomic, atomicAdd). U11, U12
- Block (CUDA)
- A team of threads that can share memory and synchronise; blocks must be independent. U12
- Cache line
- The fixed size block (typically 64 bytes) transferred between memory and cache. U4
- Coalescing
- Combining neighbouring memory requests of a warp into few transactions. U12
- Consistency level
- Number of replicas that must answer a Cassandra request: ONE, QUORUM, ALL. U6
- Consumer group
- A set of Kafka consumers sharing the partitions of a topic; each partition goes to one member. U8
- Critical path (span)
- The longest chain of dependent tasks; the minimum possible run time with unlimited threads. U10
- Data race
- Concurrent access to the same memory location by several threads, at least one of which writes. U9, U11
- Data parallelism
- The same operation applied to different data elements. U1, U10, U12
- Efficiency
- \(E = S/P\): speedup per processor. U1
- Fork and join
- OpenMP execution model: a master thread forks a team at a parallel region; the team joins at its end. U9
- HDFS
- Hadoop Distributed File System: files split into replicated blocks across DataNodes. U7
- Instruction level parallelism (ILP)
- Executing independent instructions of one instruction stream simultaneously within a core. U1, U3
- Kernel (CUDA)
- A
__global__ function executed by many GPU threads. U12
- Latency and bandwidth
- Start up cost of a message (\(\alpha\)) and data rate (\(1/\beta\)): \(T = \alpha + \beta n\). U5
- Locality
- Temporal (reuse soon) and spatial (use neighbours soon) patterns that make caches effective. U4
- MapReduce
- Programming model: map in parallel, shuffle by key, reduce per key. U7
- Occupancy
- Active warps on an SM divided by the maximum supported. U12
- Offset (Kafka)
- Position of an event in a partition log; consumers commit offsets and can replay. U8
- Partition key
- The value whose hash decides where a row (Cassandra) or event (Kafka) is stored. U6, U8
- Process
- A program in execution with its own address space. U3
- Quorum
- \(\lfloor RF/2 \rfloor + 1\) replicas; \(R + W > RF\) guarantees reads see the latest write. U6
- Reduction
- Combining per thread partial results (sum, max, ...) into one value. U9, U11
- Replication factor (RF)
- Number of copies of each piece of data. U6, U7, U8
- SIMD / SIMT
- Single instruction on multiple data lanes / on multiple threads executed together. U4, U12
- Speedup
- \(S(P) = T(1)/T(P)\). U1
- Streaming Multiprocessor (SM)
- The main programmable compute unit of an NVIDIA GPU. U12
- Task parallelism
- Different operations executed in parallel. U1, U10
- Thread
- A unit of execution within a process; threads share the process's memory. U3, U9
- Von Neumann bottleneck
- The limited bandwidth between CPU and memory, which share one path for instructions and data. U3, U4
- Warp
- A group of 32 CUDA threads executed together by the hardware. U12
- Worksharing
- Dividing the iterations of a loop among the threads of a team (
omp for). U9
- YARN
- Hadoop's resource manager, the operating system of the cluster. U7