Skip to main content
QUICK REVIEW

[Paper Review] A Novel Scheduling Framework Leveraging Hardware Cache Partitioning for Cache-Side-Channel Elimination in Clouds

Read Sprabery, Konstantin Evchenko|arXiv (Cornell University)|Aug 30, 2017
Parallel Computing and Optimization TechniquesComputer Science6 citations
TL;DR

This paper presents a novel scheduling framework that leverages Intel's Cache Allocation Technology (CAT) to partition hardware caches and eliminate cache-side-channel attacks in cloud environments. By integrating hardware cache partitioning with dynamic scheduling and state cleansing, the system achieves side-channel-free execution for KVM-managed containers and virtual machines without requiring application changes or disabling SMT.

ABSTRACT

While there exist many isolation mechanisms that are available to cloud service providers, including virtual machines, containers, etc., the problem of side-channel increases in importance as a remaining security vulnerability, particularly in the presence of shared caches and multicore processors. In this paper we present a hardware-software mechanism that improves the isolation of cloud processes in the presence of shared caches on multicore chips. Combining the Intel CAT architecture that enables cache partitioning on the fly with novel scheduling techniques and state cleansing mechanisms, we enable cache-side-channel free computing for Linux-based containers and virtual machines, in particular, those managed by KVM. We do a preliminary evaluation of our system using a CPU bound workload. Our system allows Simultaneous Multithreading (SMT) to remain enabled and does not require application level changes.

Motivation & Objective

  • To address the growing threat of cache-side-channel attacks in multi-tenant cloud environments with shared multicore processors.
  • To improve isolation guarantees for cloud workloads running in containers and virtual machines.
  • To enable secure execution without disabling Simultaneous Multithreading (SMT) or modifying applications.
  • To integrate hardware cache partitioning with dynamic scheduling for real-time protection.
  • To demonstrate feasibility and effectiveness using a CPU-bound workload evaluation.

Proposed method

  • Utilizes Intel's Cache Allocation Technology (CAT) to partition L3 cache among virtual machines and containers at runtime.
  • Implements a novel scheduling framework that assigns cache partitions based on workload sensitivity and isolation requirements.
  • Applies state cleansing mechanisms to clear sensitive data from cache before releasing resources.
  • Integrates with KVM-based virtualization to enforce cache isolation transparently.
  • Maintains SMT enabled during execution to preserve performance.
  • Employs runtime monitoring and dynamic allocation to adapt cache partitioning based on workload behavior.

Experimental results

Research questions

  • RQ1Can hardware cache partitioning combined with intelligent scheduling effectively prevent cache-side-channel leakage in multi-tenant cloud environments?
  • RQ2To what extent can cache isolation be achieved without disabling SMT or modifying applications?
  • RQ3How does the proposed framework perform under CPU-bound workloads compared to baseline configurations?
  • RQ4Can the system maintain strong isolation guarantees while supporting dynamic workload scheduling?
  • RQ5What is the impact of state cleansing on residual side-channel leakage?

Key findings

  • The system successfully eliminates cache-side-channel attacks in KVM-managed containers and virtual machines using hardware cache partitioning.
  • The framework maintains SMT functionality, preserving performance benefits without compromising security.
  • No application-level modifications are required, enabling seamless deployment in existing cloud stacks.
  • The approach achieves effective isolation through runtime cache partitioning and state cleansing.
  • Preliminary evaluation confirms the feasibility of the framework using CPU-bound workloads.
  • The integration with Intel CAT enables fine-grained, on-the-fly cache allocation for improved security.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.