• Home
  • Search
  • Efficient invisible speculative execution through selective delay and value prediction
  • Open Access IconOpen Access
  • Cite Icon114
  • https://doi.org/10.1145/3307650.3322216Copy DOI Icon

Efficient invisible speculative execution through selective delay and value prediction

  • Jun 22, 2019
  • Christos Sakalis +4 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Speculative execution, the base on which modern high-performance general-purpose CPUs are built on, has recently been shown to enable a slew of security attacks. All these attacks are centered around a common set of behaviors: During speculative execution, the architectural state of the system is kept unmodified, until the speculation can be verified. In the event that a misspeculation occurs, then anything that can affect the architectural state is reverted (squashed) and re-executed correctly. However, the same is not true for the microarchitectural state. Normally invisible to the user, changes to the microarchitectural state can be observed through various side-channels, with timing differences caused by the memory hierarchy being one of the most common and easy to exploit. The speculative side-channels can then be exploited to perform attacks that can bypass software and hardware checks in order to leak information. These attacks, out of which the most infamous are perhaps Spectre and Meltdown, have led to a frantic search for solutions.In this work, we present our own solution for reducing the microarchitectural state-changes caused by speculative execution in the memory hierarchy. It is based on the observation that if we only allow accesses that hit in the L1 data cache to proceed, then we can easily hide any microarchitectural changes until after the speculation has been verified. At the same time, we propose to prevent stalls by value predicting the loads that miss in the L1. Value prediction, though speculative, constitutes an invisible form of speculation, not seen outside the core. We evaluate our solution and show that we can prevent observable microarchitectural changes in the memory hierarchy while keeping the performance and energy costs at 11% and 7%, respectively. In comparison, the current state of the art solution, InvisiSpec, incurs a 46% performance loss and a 51% energy increase.

Similar Papers
  • Conference Article
  • Citations3

Improving Performance of Single-Path Code through a Time-Predictable Memory Hierarchy

  • May 01, 2017
  • Bekim Cilku +4
  • Research Article
  • Citations14

Optimizing Speculative Execution in Spark Heterogeneous Environments

  • Jan 01, 2022
  • IEEE Transactions on Cloud Computing
  • Zhongming Fu +1
  • Conference Article

SpectreShield: Design and Analysis of Spectre Countermeasures on RISC-V Using gem5

  • Aug 04, 2025
  • Muhammad Isa Khan +3
  • Conference Article
  • Citations1

Analysis of the Interactions Between ILP and TLP With Hardware Transactional Memory

  • Mar 01, 2022
  • Victor Nicolas-Conesa +4
  • Conference Article
  • Citations33

A Hardware-Software Platform for Intrusion Prevention

  • Dec 04, 2004
  • M Drinic +1
  • Conference Article
  • Citations70

BSSync: Processing Near Memory for Machine Learning Workloads with Bounded Staleness Consistency Models

  • Oct 01, 2015
  • Joo Hwan Lee +2
  • Conference Article
  • Citations35

From Speculation to Security: Practical and Efficient Information Flow Tracking Using Speculative Hardware

  • Jun 01, 2008
  • Haibo Chen +5
  • Conference Article
  • Citations4

A Study of Core Utilization and Residency in Heterogeneous Smart Phone Architectures

  • Apr 04, 2019
  • Joseph Whitehouse +5
  • Research Article

Invulnerability invariants for software controlled speculation

  • Dec 01, 2024
  • Electronics Letters
  • Nimish Mathure +2
  • Conference Article
  • Citations4

Securing Asynchronous Exceptions

  • Jun 01, 2020
  • Carlos Tome Cortinas +2
  • Conference Article
  • Citations14

Deep jam: conversion of coarse-grain parallelism to instruction-level and vector parallelism for irregular applications

  • Jan 01, 2005
  • P Carribault +2
  • Conference Article
  • Citations350

TOP-PIM

  • Jun 23, 2014
  • Dongping Zhang +5
  • Research Article
  • Citations10

MN-MATE

  • Aug 03, 2015
  • ACM Journal on Emerging Technologies in Computing Systems
  • Kyu Ho Park +7
  • Research Article
  • Citations2

LBMA and IMAR2: Weighted lottery based migration strategies for NUMA multiprocessing servers

  • Aug 17, 2020
  • Concurrency and Computation: Practice and Experience
  • R Laso +5
  • Book Chapter
  • Citations1

Hardware Support for OpenMP Collective Operations

  • Jan 01, 2010
  • Soohong P Kim +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.