Hardware Performance Counters: Ready-Made vs Tailor-Made

4Citations
Citations of this article
21Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Micro-architectural footprints can be used to distinguish one application from another. Most modern processors feature hardware performance counters to monitor the various micro-architectural events when an application is executing. These ready-made hardware performance counters can be used to create program fingerprints and have been shown to successfully differentiate between individual applications. In this paper, we demonstrate how ready-made hardware performance counters, due to their coarse-grain nature (low sampling rate and bundling of similar events, e.g., number of instructions instead of number of add instructions), are insufficient to this end. This observation motivates exploration of tailor-made hardware performance counters to capture fine-grain characteristics of the programs. As a case study, we evaluate both ready-made and tailor-made hardware performance counters using post-quantum cryptographic key encapsulation mechanism implementations. Machine learning models trained on tailor-made hardwareperformance counter streams demonstrate that they can uniquely identify the behavior of every post-quantum cryptographic key encapsulation mechanism algorithm with at least 98.99% accuracy.

Cite

CITATION STYLE

APA

Kuruvila, A. P., Mahapatra, A., Karri, R., & Basu, K. (2021). Hardware Performance Counters: Ready-Made vs Tailor-Made. In ACM Transactions on Embedded Computing Systems (Vol. 20). Association for Computing Machinery. https://doi.org/10.1145/3476996

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free