TS2025 - Robust Lock-Free Ring-Buffer Protocol over Shared Memory

Published: 29 September 2025
on channel: DiaMon Workgroup
228
3

This presentation outlines an augmented lock‑free transaction protocol for LTTng-UST shared‑memory ring buffers that resolves long‑standing robustness problems when a producer stalls during a transaction (e.g., at breakpoints or when receiving a termination signal). By extending the transaction protocol with a sub-buffer ownership semantic and allowing the consumer daemon to safely abort or recover from incomplete transactions, the updated protocol prevents loss of events and eliminates situations where a destroyed session becomes stuck, waiting indefinitely for a stalled producer to finish its transaction, while preserving the high‑performance lock‑free nature of the original design. Extensive reproducible testing confirms the correctness of the protocol. The upcoming LTTng 2.15 release will integrate these improvements, delivering a more reliable and adaptable LTTng ecosystem.


On this page of the site you can watch the video online TS2025 - Robust Lock-Free Ring-Buffer Protocol over Shared Memory with a duration of hours minute second in good quality, which was uploaded by the user DiaMon Workgroup 29 September 2025, share the link with friends and acquaintances, this video has already been watched 228 times on youtube and it was liked by 3 viewers. Enjoy your viewing!