[CS-453] Concurrent Computing


2023, autumn semester. Master course.
This course is independent from the course Distributed Algorithms.

Prerequisites ICC, Operating Systems
Recommendations Algorithms, concurrency


Presentation of the course: YouTube

Textbook: Algorithms for Concurrent Systems

General information:

  • Exercises are made available on the course webpage.
  • Exercises are not graded and do not count towards the final grade. However, solving the exercises will help you prepare for the final exam.
  • Solutions to the exercises will be available on the course webpage one week after the exercises were given.
  • The project consists in implementing a Software Transactional Memory (STM).
  • There is one single deadline at the very end of the course; but start as early as possible.
  • The final exam and the midterm will be written and without books or any other material. Only the final exam is graded, the midterm is for training purposes only.



News

A course page is also available on Moodle. We encourage students to register on Moodle, in order to get all the course announcements by email. Students can use Moodle to ask questions about the exercise sessions and/or the project.



Dates and schedule

What When Where Note
Course lectures Monday 8:15-10:00 INM 202 The first lecture will be given on Monday Sept 25.
Exercise sessions Tuesday 13:15-14:00 PO 01 No session on Sept 19 and Sept 26.
Project sessions Tuesday 14:15-16:00 PO 01 No session on Sept 19.


What When Where
Midterm exam (not graded) TBA TBA
Final exam TBA TBA
Project deadline Friday Dec 22 11:59PM N/A



Teaching team


Slides and exercises

Week(s) Lecture Slides Exercises Videos
1 No class No lecture No exercises
2 Introduction PDF, video No exercises
3 Project Introduction PDF No exercises
4 Registers PDF, video1 i, ii, iii
5 Registers video2
6 Registers video3
7 The Power of Registers PDF, video i, ii
8 The Limitations of Registers PDF, video i, ii
9 Universal Constructions PDF, video i, ii
10 Implementing Consensus with Timing Assumptions PDF, video i, ii
11 Anonymous Processes PDF, paper, video
12 Transactional Memory PDF, video
13 Why lock-free synchronization? (Aleksandar Dragojevic) video
14 Concurrent programming: From theory to practice PDF, video



Project

Description: PDF

Repository: https://github.com/LPD-EPFL/CS453-2023-project

Important notes:

  • 30% of the final grade.
  • Prior knowledge of C and/or C++ is assumed. Only the memory model of C11/C++11 will be briefly presented.
  • Only Ubuntu and Debian distributions, with reasonably recent GCC/clang, are supported troubleshooting-wise. You can use any other OS or compiler for your local developments, but be aware the TAs may not be able to help you.
  • Automated submission system with unlimited submissions allowed until the deadline (only your best submission is considered for grading). The specs of the evaluation machine are available in the project description.



Auxiliary documents



Supplementary Material

  • Lecture Notes pdf
  • Registers, Ivan Kviatkevitch pdf
  • Writing while reading and Tromp's algorithm, Laurent Bindschaedler pdf
  • Consensus with timing assumptions, Utkarsh Upadhyay pdf
  • Computing with anonymous processes, Shabnam Ataee pdf
  • Object Implementation out of faulty base objects, Shabnam Ataee pdf
  • Set Agreement, Mihailo Velimirovic pdf
  • The Power and Limitations of Registers, Ruben Braojos pdf



References