FaaSnap
Lixiang Ao, George Porter, Geoffrey M. Voelker · 2022
FaaSnap is a VM snapshot-based platform that uses a set of complementary optimizations to improve function cold-start performance for Function-as-a-Service (FaaS) applications. Compact loading set files take better advantage of prefetching. Per-region memory mapping tailors page fault handling depending on the contents of different guest VM memory regions. Hierarchical overlapping memory-mapped regions simplify the mapping process. Concurrent paging allows the guest VM to start execution immediately, rather than pausing until the working set is loaded. Altogether, FaaSnap significantly reduces guest VM page fault handling time on the critical path and improves overall function loading performance. Experiments on serverless benchmarks show that it reduces end-to-end function execution by up to 3.5x compared to state-of-the-art, and on average is only 3.5% slower than snapshots cached in memory. Moreover, we show that FaaSnap is resilient to changes of working set and remains efficient under bursty workloads and when snapshots are located in remote storage.
Cited by 59 works. doi:10.1145/3492321.3524270 Open-access PDF
Authors
References
- 2017 USENIX Annual Technical Conference (USENIX ATC'17)
- Container-based operating system virtualization
- SnowFlock
- Building a Chatbot with Serverless Computing
- Unikernels
- Scalability, fidelity, and containment in the potemkin virtual honeyfarm
- My VM is Lighter (and Safer) than your Container
- Catalyzer
- Sprocket
- A mixed-method empirical study of Function-as-a-Service software development in industrial practice