Privacy-Preserving Performance Profiling of In-The-Wild GPUs

Ian McDougall, Michael Davies, Rahul Chatterjee, Somesh Jha, Karthikeyan SankaralingamarXiv 2025 · DOI

Abstract

Penrose is a privacy-preserving profiling system designed to enable GPU manufacturers to collect low-level performance data from millions of "in-the-wild" devices. By integrating lightweight kernel sampling, additive homomorphic encryption (AHE), and anonymity networks, Penrose provides fleet-wide insights without compromising user privacy or incurring significant performance overhead. Evaluation shows that Penrose achieves high accuracy with negligible slowdown (0.045%), offering a scalable solution for hardware design optimization.

Introduction

To optimize hardware architectures, manufacturers like NVIDIA or AMD require granular data on how GPUs are utilized in real-world scenarios. However, this data is often inaccessible due to two primary barriers: privacy concerns regarding proprietary models and data, and the prohibitive performance overhead of standard profiling tools (2x to 10x slowdown). While hyperscalers can profile internal data centers, chip designers lack visibility into the diverse workloads running on edge devices and smaller clouds. Penrose addresses these challenges by enabling secure, large-scale telemetry.

System Design and Methodology

Penrose employs a three-tiered architecture: the GPU Client, the Aggregation Server (AS), and the Designer Server (DS).

Penrose design flow and data hierarchy

Privacy-Preserving Mechanisms

The system balances data utility and privacy through several key innovations:

  1. Snippet-based Identification: Instead of tracking application names, Penrose identifies workloads using "snippets"—sequences of kernel calls. It employs Min-Hash and Jaccard similarity to group similar execution patterns, allowing the system to recognize applications (e.g., BERT training) without accessing source code or metadata.
  2. Randomized Sparse Sampling: Penrose profiles only a small fraction of kernels (e.g., 1 in 10,000). By randomizing the starting offset across a massive fleet, the "law of large numbers" ensures aggregate accuracy while keeping per-device overhead negligible.
  3. Additive Homomorphic Encryption (AHE): Using the Paillier cryptosystem, the Aggregation Server sums encrypted performance histograms from thousands of users without decrypting individual values. Only the Designer Server holds the private key to access the final aggregated results.
  4. Anonymity Networks: All telemetry is routed through the Tor network to prevent the Aggregation Server from linking data to specific user IP addresses.
Detailed workflow of snippet-based identification and histogram aggregation

Evaluation and Results

The system was evaluated using Torchbench (154+ deep learning apps), NVIDIA A100 traces for ground truth, and CloudLab to simulate a fleet of 100,000 GPUs.

  • Performance: At a 1/10,000 sampling rate, the average slowdown was only 0.045%, making it suitable for production environments.
  • Scalability: In a simulated fleet of 100,000 GPUs, Penrose achieved >99% application coverage within 8 to 24 hours.
  • Accuracy: Sampled, encrypted histograms showed a relative error of just 1.12% compared to ground-truth data.
  • Cost: A single aggregation server can support 100,000 GPUs for approximately $6,000 per year.

Discussion and Future Work

Analysis of real-world workloads revealed that applications often underutilize either Tensor Cores or DRAM bandwidth, but rarely both, suggesting opportunities for hardware scheduling improvements. While Penrose provides a robust privacy framework, future work includes addressing potential "data poisoning" attacks through hardware-level attestation and refining the characterization of anonymous "private" application clusters. Additionally, extending the system to "stitch" together kernels from distributed training runs remains an area for development.

Summary updated

BibTeX
@misc{mcdougall2025privacy,
  author = {Ian McDougall and Michael Davies and Rahul Chatterjee and Somesh Jha and Karthikeyan Sankaralingam},
  title = {{Privacy-Preserving Performance Profiling of In-The-Wild GPUs}},
  year = {2025},
  eprint = {2509.21762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.21762},
}
Figure