SpiderSense: Lightweight Last-Level Cache Management via Time Period Tagging for LLC-Critical Workloads
Multi-tenant clouds enhance resource sharing among Virtual Machines (VMs) to boost overall utilization and reduce power consumption. However, this also introduces interference among workloads from different tenants and impedes VM performance isolation. In this paper, we first demonstrate that the last-level cache (LLC) in CPUs, which is inherently shared by all VMs on the same physical machine, becomes a significant contending resource for LLC-critical workloads, leading to notable performance imbalances under the default hardware caching strategy. Although recent studies on LLC scheduling have progressed, they often require detailed profiling of user workloads or rely on hyperparameter tuning, limiting their applicability to private clusters or specific scenarios. We propose SpiderSense, a software-initiated LLC partitioner for managing Virtual Machine Monitors (VMM), to address these limitations. SpiderSense leverages modern yet off-the-shelf server CPU features to adaptively orchestrate LLC allocation among running black-boxed user VMs. SpiderSense dynamically samples VMs and calculates their fair share of LLC to allocate them while fully improving performance isolation among VMs. We experiment with SpiderSense using typical LLC-critical workloads, representative of the types of applications that stress LLC performance, such as Memcached and Llama. Our results show that SpiderSense improves performance by up to 40% in numerous colocation scenarios compared to current solutions.
Authors
- Chenggang Wu (ORCID: https://orcid.org/0000-0002-2716-4393)
- Zhixiang Wei
- Yucheng Zheng (ORCID: https://orcid.org/0000-0002-0779-9703)
- Zhibai Huang (ORCID: https://orcid.org/0000-0002-8883-5269)
- Y. Andrew Wang (ORCID: https://orcid.org/0000-0002-2333-8827)
- Xingzi Yu (ORCID: https://orcid.org/0009-0009-5729-3207)
- Tianlei Xiong
- James Yen
- Kailiang Xu
- Zhengwei Qi
Institutions
- Shanghai Jiao Tong University (CN)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-12-25
- DOI
- https://doi.org/10.1145/3778358
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00