Skip to content

MDS 3 · Parallel Computing

XU Exponential University of Applied Sciences 5 ECTS · 56 h contact · 94 h self study Winter 2025/26 and Summer 2026 Baseer Baheer

Course description

Clock speeds stopped rising around 2005. Since then, every real gain in performance has come from doing many things at once: several cores, vector units, graphics processors and whole clusters of machines. This course teaches students to think in parallel. It starts at the level of a single processor and its memory, climbs to shared memory programming with OpenMP and to GPU programming with CUDA, and finally leaves the single machine to study distributed systems such as Cassandra, Hadoop and Kafka. Every topic is tied to data science and AI workloads.

flowchart LR
    subgraph R1["Part A · One machine, one core"]
      direction TB
      U1["U1 Why parallel?"] --> U2["U2 History and C++"] --> U3["U3 Von Neumann,<br/>processes, threads"] --> U4["U4 Memory<br/>and caches"]
    end
    subgraph R2["Part B · Many machines"]
      direction TB
      U5["U5 Distributed<br/>computing"] --> U6["U6 Cassandra"] --> U7["U7 Hadoop"] --> U8["U8 Kafka"]
    end
    subgraph R3["Part C · Many cores, many lanes"]
      direction TB
      U9["U9 OpenMP"] --> U10["U10 Task<br/>parallelism"] --> U11["U11 Data sharing<br/>and races"] --> U12["U12 GPU<br/>and CUDA"]
    end
    R1 --> R2 --> R3

Course Learning Outcomes (CLOs)

On successful completion of this course, students will be able to:

CLO Outcome Bloom
CLO 1 Explain why modern performance depends on parallelism and quantify it with speedup, efficiency and Amdahl's law. ANALYSE
CLO 2 Analyse how processor design, the memory hierarchy and caches determine the speed of a program. ANALYSE
CLO 3 Distinguish processes and threads, shared and distributed memory, data and task parallelism. UNDERSTAND
CLO 4 Implement correct shared memory programs with OpenMP (worksharing, tasks, data sharing clauses) that are free of data races. APPLY
CLO 5 Implement data parallel kernels in CUDA and reason about grids, blocks, warps and memory spaces. APPLY
CLO 6 Explain and operate distributed data systems (Cassandra, Hadoop, Kafka) for scalable pipelines. APPLY
CLO 7 Design, evaluate and present a parallel or distributed solution for a data science workload. CREATE

CLO → PLO mapping

The programme outcomes below are a generic Data Science profile; replace them with the official PLOs of the host programme.

PLO A Domain knowledge PLO B Technical implementation PLO C Analytical problem solving PLO D Communication and teamwork PLO E Professional practice
CLO 1 ●●● ●●
CLO 2 ●●● ● ●●●
CLO 3 ●●● ● ●
CLO 4 ● ●●● ●● ●
CLO 5 ● ●●● ●●
CLO 6 ●● ●●● ●●
CLO 7 ●● ●●● ●●● ●●●

●●● strong · ●● moderate · ● supporting

Units at a glance

Unit Title Key question CLOs
1 Introduction to Parallel Computing Why can't we just wait for a faster CPU? 1, 3
2 From the Abacus to C++ How did we get here, and how do we talk to the machine? 1
3 The Von Neumann Architecture What does a processor actually do with a program? 2, 3
4 Memory Hierarchy and Caches Why is memory, not arithmetic, the bottleneck? 2
5 Distributed Computing What changes when the workers are separate machines? 3, 6
6 Distributed Databases: Cassandra How do we store data on many machines and survive failures? 6
7 Distributed Data Processing: Hadoop How do we compute where the data lives? 6
8 Distributed Event Streaming: Kafka How do we ingest millions of events per second? 6
9 Shared Memory Parallelisation with OpenMP How do we use every core of one machine? 3, 4
10 Task Parallelism What if the work is a workflow, not a loop? 4
11 Data Sharing in a Parallel World Why does my parallel program sometimes print the wrong answer? 4
12 GPU Architecture and CUDA How do thousands of simple cores beat a few strong ones? 1, 5
P Portfolio Can you make a real workload faster, and prove it? 1 to 7

Assessment

The module is assessed through a portfolio consisting of coding, documentation and a presentation. Details and the rubric are on the Portfolio page.

pie showData
    title Indicative weighting of the portfolio
    "Coding and experiments" : 50
    "Documentation and analysis" : 30
    "Presentation and Q&A" : 20

Prerequisites and environment

Helpful background

Good reasoning and analytical skills; C/C++ and/or Python (macros, pointers, arrays, structs, unions, function pointers); Linux, SSH and git; basic computer architecture (memory hierarchy, cache, virtual addresses) and data structures (arrays, linked lists). Talk to the lecturer early if any of these are new.

ls -al ~/.ssh                                        # existing keys?
ssh-keygen -t ed25519 -C "your_university_email"     # create a key
cat ~/.ssh/id_ed25519.pub                            # add it on GitHub: Settings → SSH and GPG keys

Create a private repository under the university organisation and add the lecturer as a collaborator.

sudo apt install build-essential          # gcc, g++, make
gcc -fopenmp hello_omp.c -o hello_omp
OMP_NUM_THREADS=4 ./hello_omp
git clone https://github.com/bugmend/bigdataanalytics.git
# Cassandra: NoSQL/   Hadoop: hadoop/   Kafka: kafka/

Code of conduct

  • Good professional practice: build on the expertise of others and on previous work, with proper attribution.
  • Plagiarism: using the efforts of others, including AI tools and existing GitHub repositories, without attribution.
  • Attendance is closely connected with the final grade; the classroom demos are part of the learning design.