YoVDO

Good FIFOs Make Good Thread Neighbors

Offered By: CppNow via YouTube

Tags

C++Now Courses Parallel Programming Courses System Architecture Courses Mutex Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of First-In-First-Out (FIFO) queues and their impact on thread communication in parallel programming during this C++Now 2017 conference talk. Delve into the micro-architectural implications of FIFO implementations, examining various open-source examples and their behavior on different hardware. Follow along as the speaker dissects code and assembly, revealing the inner workings of processor cores. Gain valuable insights into how FIFOs affect performance, covering topics such as thread ordering, coherence networks, prefetching, virtual memory, NUMA considerations, and the challenges of mutex usage. Learn to optimize thread communication for improved parallelism and scalability in your C++ programs.

Syllabus

Intro
Ground Rules
Information - Integrity Matters
Information - Ordering Matters
Obligatory Thread Ordering Example
Thread Communication
First-On First-Out (FIFO) Queue
Chunk of Memory Types
Commonalities
Quiz Time
Coherence Network + Coherence
Experiment
DDR to Core
Prefetch Maybe?
Blue Pill of Virtual Memory
Move Pages (remember NUMA)
Darth Mutex
The Dark Side of Mutex
Alignment
Two socket system, Producer - Consumer Pair


Taught by

CppNow

Related Courses

0xBADC0DE
CppNow via YouTube
Optimizing the Emergent Structures of C++
CppNow via YouTube
C++ Use in High Performance Computing Within DOE - Past and Future
CppNow via YouTube
Yet Another Paradigm Shift - A Meta4 Model of Concurrency
CppNow via YouTube
A Crash Course in Unicode for C++ Developers
CppNow via YouTube