Managing Memory Efficiently
Memory-Based Filesystem
- no disk or backing store
- avoid extra copies (“disk”, buffer cache, VM system)
Modified Linux RAMDisk
- Linux implementation cleverly prevents copies
- modified to eliminate overhead for empty blocks
- standard ext2fs filesystem
Current Status
- compressed kernel in flash (~300KB expands to ~1M)
- compressed ramdisk in flash (~2MB expands to ~6M)