Rio file cache
Rio is a research file cache that combines memory protection with a platform-specific recovery path to preserve file data across operating-system crashes.
Alpha design: the 1996 implementation uses a protected registry and warm reboot to recover cached buffers. It forces KSEG accesses through the TLB so physical-address shortcuts cannot bypass page protection. Metadata ordering still matters. The study excludes power outages. [1]
PC design: the 2001 FreeBSD 2.2.7 implementation uses safe sync during the crash because reset can erase memory. Its final BIOS-based path avoids the normal virtual-memory system and kernel disk drivers. Successful control transfer and completed writes remain necessary. [4]
Evaluation boundary: safe sync can preserve already-corrupted data. The 2001 experiments discard runs without a crash after 15 minutes; their corruption frequency describes that selected population, not a field failure rate. [4]
Transaction boundary: Vista adds an undo protocol above Rio; retained bytes alone do not make several application updates atomic. [3]
Relations
- related
- Write-back cache, Write-through cache, Crash consistency, Power loss protection, Vista recoverable memory
Limitations
Citations
- Chen et al. The Rio File Cache: Surviving Operating System Crashes. ASPLOS VII (1996), sections 1-3, 5.
- Lowell and Chen. Free Transactions with Rio Vista. SOSP 1997, section 4, PDF p. 4.
- Ng and Chen. The Design and Verification of the Rio File Cache. IEEE TC 50(4), 2001, pp. 322-337, sections 1-4 and 8.
- Rio project publication history: March 1996 technical report versus ASPLOS 1996 protection.
Further reading
Sources & caveats
- Source review, not an independent fault-injection experiment.
- The March 1996 technical report uses code patching; the ASPLOS version changes the protection method. Performance figures from these versions are not interchangeable. [5]