Skip to main content
Kent Academic Repository

Evaluating Candidate Instructions for Reliable Program Slowdown at the Compiler Level: Towards Supporting Fine-Grained Slowdown for Advanced Developer Tooling

Burchell, Humphrey, Marr, Stefan (2025) Evaluating Candidate Instructions for Reliable Program Slowdown at the Compiler Level: Towards Supporting Fine-Grained Slowdown for Advanced Developer Tooling. In: 17th ACM SIGPLAN International Workshop on Virtual Machines and Intermediate Languages, Singapore. (doi:10.1145/3759548.3763374) (KAR id:111071)

Abstract

Slowing down programs has surprisingly many use cases: it helps finding race conditions, enables speedup estimation, and allows us to assess a profiler’s accuracy. Yet, slowing down a program is complicated because today’s CPUs and runtime systems can optimize execution on the fly, making it challenging to preserve a program’s performance behavior to avoid introducing bias.

We evaluate six x86 instruction candidates for controlled and fine-grained slowdown including NOP, MOV, and PAUSE. We tested each candidate’s ability to achieve an overhead of 100%, to maintain the profiler-observable performance behavior, and whether slowdown placement within basic blocks influences results. On an Intel Core i5-10600, our experiments suggest that only NOP and MOV instructions are suitable. We believe these experiments can guide future research on advanced developer tooling that utilizes fine-granular slowdown at the machine-code level.

Item Type: Conference or workshop item (Paper)
DOI/Identification number: 10.1145/3759548.3763374
Uncontrolled keywords: slowdown, x86 instructions, evaluation
Institutional Unit: Schools > School of Computing
Former Institutional Unit:
There are no former institutional units.
Depositing User: Stefan Marr
Date Deposited: 27 Aug 2025 10:04 UTC
Last Modified: 29 Aug 2025 02:45 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/111071 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views of this page since July 2020. For more details click on the image.