YoVDO

Efficient Userspace Optimistic Spinning Locks

Offered By: Linux Plumbers Conference via YouTube

Tags

Linux Plumbers Conference Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore efficient userspace optimistic spinning locks in this Linux Plumbers Conference talk. Dive into the limitations of traditional pthread library locking functions and discover a hybrid spinning/sleeping lock solution. Learn how this new approach combines the best attributes of sleeping and spinning locks, offering improved locking throughput and reduced lock cacheline contention. Understand the mechanics of userspace and kernel spinning, queue-based waiting, and adaptive sleep strategies. Gain insights into optimizing lock performance for large NUMA systems and applications with high concurrency demands. Cover topics such as lock starvation prevention, the "oil filter" concept, and improvements to optimistic spinning protocols (OSP).

Syllabus

Introduction
Locking in Userspace
AdvantagesDisadvantages
Limitations
Optimistic Spinning Filter
Optimistic Spinning in the Kernel
Problems with OSP
Improving OSP
Lock starvation
Oil filter
Mutex
OSP
Critical Section


Taught by

Linux Plumbers Conference

Related Courses

Real Time Mesajlaşma Uygulaması
Udemy
Securely Booting Confidential VMs with Encrypting Disk
Linux Plumbers Conference via YouTube
Pressure Feedback for LRU Map Types
Linux Plumbers Conference via YouTube
Closing the BPF Map Permission Loophole
Linux Plumbers Conference via YouTube
The Revival of the Learning-Sync Bridgeport Flag
Linux Plumbers Conference via YouTube