Lock-based or Lock-less: Which Is Fresh?
摘要
We examine status updating systems in which timestamped status updates are stored/written in shared-memory. Specifically, we compare Read-Copy-Update (RCU) and Readers-Writer lock (RWL) as shared-memory synchronization primitives on the update freshness. To demonstrate the tension between readers and writers accessing shared-memory, we consider a network scenario with a pair of coupled updating processes. Location updates of a mobile terminal are written to a sharedmemory Forwarder Information Base (FIB) at a network forwarder. An application server sends "app updates" to the mobile terminal via the forwarder. Arriving app updates at forwarder are addressed (by reading the FIB) and forwarded to the mobile terminal. If a FIB read returns an outdated address, the misaddressed app update is lost in transit. We redesign these reader and writer processes using preemption mechanisms that improve the timeliness of updates. We present a Stochastic Hybrid System (SHS) framework to analyze location and app update age processes and show how these two age processes are coupled through synchronization primitives. Our analysis shows that using a lock-based primitive (RWL) can serve fresher app updates to the mobile terminal at higher location update rates while lock-less (RCU) mechanism favors timely delivery of app updates at lower location update rates.
Index Terms-Network performance analysis, Read Copy Update, Reader Writer Locks, Age-of-Information 1 Formally, a critical section is a protected section of the shared resource that is protected against multiple concurrent accesses
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
相关 Paper
- An HTM-based update-side synchronization for RCU on NUMA systemsSeongjae Park, Paul E. McKenney, Laurent Dufour, Heon Y. YeomEuroSys 2020 · 4 次引用
- Minimizing AoI of Non-Uniform Multi-Source Real-Time Data Updates: Model Generalization, Analysis and Performance EvaluationXiaoxing Qiu, Weiwei Wu, Chenchen Fu, Zelin Yun 等RTSS 2023 · 4 次引用
- Unifying AoI Minimization and Remote Estimation - Optimal Sensor/Controller Coordination with Random Two-way DelayCho-Hsin Tsai, Chih-Chun WangINFOCOM 2020 · 29 次引用
- Verifying General-Purpose RCU for Reclamation in Relaxed Memory Separation LogicJaehwang Jung, Sunho Park, Janggun Lee, Jeho Yeon 等PLDI 2025 · 1 次引用
- An Analytical Approach for Minimizing the Age of Information in a Practical CSMA NetworkSuyang Wang, Oluwaseun T. Ajayi, Yu ChengINFOCOM 2024 · 8 次引用
