Age-Memory Trade-off in Read-Copy-Update
Vishakha Ramani, Jiachen Chen, Roy D. Yates
TL;DR
This work analyzes the age-memory trade-off in Read-Copy-Update (RCU) for shared-memory synchronization under real-time constraints. In a memoryless model with update rate $\alpha$ and read rate $\lambda$, it derives an exact expression for $\mathbb{E}[N]$, a tight upper bound, and the average update age $\mathbb{E}[\Delta]=2/\alpha$. The results show $\mathbb{E}[N]$ remains finite for finite $\lambda$, $\mu$, and $\alpha$, revealing a clear trade-off: faster updates reduce AoI but increase memory, whereas lowering read rate reduces memory. Numerical evaluations illustrate the bounds’ tightness and the asymptotic behavior as $\alpha \to \infty$, where $N$ converges to $1+N'$ with $N'$ ~ Poisson$(\lambda/\mu)$, with practical implications for real-time mobile workloads such as Visual SLAM.
Abstract
In the realm of shared memory systems, the challenge of reader-writer synchronization is closely coupled with the potential for readers to access outdated updates. Read-Copy-Update (RCU) is a synchronization primitive that allows for concurrent and non-blocking read access to fresh data. This is achieved through the creation of updated data copies, with each prior version retained until all associated read-locks are released. Given the principle that frequent updating keeps information fresh, the concern is whether we accumulate an infinite number of update copies, leading to excessively large memory usage. This paper analyzes trade-offs between memory usage and update age within real-time status updating systems, focusing specifically on RCU. The analysis demonstrates that with finite read time and read request rate, the average number of updates within the system remains bounded.
