Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Good FIFOs Make Good Thread Neighbors

CppNow via YouTube

Overview

Coursera Plus Annual Sale: All Certificates & Courses 25% Off!
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

Reviews

Start your review of Good FIFOs Make Good Thread Neighbors

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.