Black-Box Performance Observation and Resource Optimization

39 concepts35 papers1 proposal

In classical computing, optimizing software meant profiling the hardware: counting cache misses, tracking clock cycles, and mapping memory access paths. However, modern computing paradigms—such as public clouds, serverless architectures, and multi-tenant networks—have erected a wall of abstraction. This abstraction simplifies deployment but introduces severe infrastructure opacity.

As Long Thai et al. note, users must optimize applications through a black-box approach, relying entirely on external performance observation and estimation because they lack visibility or control over the underlying physical hardware and provider-side management. This opacity isn't just a minor inconvenience; it fundamentally breaks performance predictability. For instance, Frederick Nwanganga et al. demonstrate that because users cannot observe co-located workloads or physical hardware configurations, predicting CPU, memory, and I/O requirements becomes highly complex, requiring sophisticated non-normal statistical distributions rather than simple rule-of-thumb heuristics.

The Multi-Dimensional Blind Spot

Opacity is rarely a one-sided problem; it manifests as a multi-dimensional blind spot affecting developers, providers, and communication libraries alike.

   +-----------------------------------------------------------------+
   |                       INFRASTRUCTURE WALL                       |
   |                                                                 |
   |   [Cloud Users / Developers]       [Cloud Providers]            |
   |   Blind to:                        Blind to:                    |
   |   - Co-located workloads           - Guest VM internal metrics  |
   |   - Hardware specifications        - Application-level latency  |
   |   - Internal scheduling logic      - Function internal logic    |
   +-----------------------------------------------------------------+

Developer Blindness

In Function-as-a-Service (FaaS) environments, cloud providers conceal internal scheduling algorithms, hardware specifications, and container eviction policies. Marcin Copik et al. point out in their work on SeBS: A Serverless Benchmark Suite for Function-as-a-Service Computing that even proprietary cloud monitoring logs can provide inaccurate or inconsistent resource data. This makes it difficult to know whether a sudden latency spike is caused by application code or an opaque infrastructure change, a challenge highlighted by Simon Eismann et al..

Provider Blindness

Conversely, cloud providers themselves face a blind spot. Due to privacy and security boundaries, providers cannot see inside guest virtual machines (VMs). As Tianyao Shi et al. explain, this forces providers to infer application-level health and performance degradation solely from low-level hardware telemetry. Similarly, in serverless environments, Hanfei Yu et al. observe that providers lack visibility into the internal logic of transient, highly concurrent functions, complicating resource allocation during bursty traffic.

System and Network Blindness

This opacity extends to distributed systems and specialized hardware. Dan Li argues that the complex interactions between container orchestrators, API gateways, and runtimes remain poorly understood black boxes. In supercomputing, Bing Xie et al. show that parallel filesystems hide internal data paths, making it hard to isolate bottlenecks.

Even communication libraries are left in the dark: Marcin Copik et al. explain that the opaque nature of serverless resource allocation prevents libraries from detecting when function instances are physically co-located on the same server, blocking the use of fast shared-memory paths. Furthermore, treating distributed ledger frameworks as black boxes obscures internal component latencies, a limitation that Canhui Wang addresses by breaking down how individual components contribute to total system latency. Even within hardware accelerators, task scheduling and data movement can be opaque, as Zhaokui Li et al. observe in operating-system-enabled coprocessors.

Inferring the Black Box via Surrogate Modeling

If you cannot look inside the box, how do you optimize it? The core insight of this research direction is that opaque systems can be modeled as transfer functions by mapping known inputs to observed outputs.

One approach is miniature probing and local emulation. Instead of deploying blindly to an expensive cloud environment, Xia Liu et al. demonstrate that developers can execute a miniature version of a compute-intensive program on a local machine to analyze its behavior, using these local observations to accurately predict performance and cost on public clouds before actual migration.

Another strategy relies on algorithmic complexity hints. Traditional performance models require white-box access to hardware specifications, which are often proprietary. To bypass this requirement, Ajitesh Srivastava et al. developed a lightweight augmented neural network that predicts execution times across black-box hardware environments.

$$\text{Inputs: } [\text{Algorithmic Complexity } O(N^3)] + [\text{External Execution Time}] \longrightarrow \boxed{\text{Neural Network}} \longrightarrow \text{Predicted Performance}$$

Crucially, instead of reading hardware states, the network is fed the mathematical complexity of the operation (e.g., $O(N^3)$) as an input hint. By pairing high-level algorithmic traits with external execution times, the model learns the underlying hardware's performance characteristics implicitly.

Machine Learning and Online Feedback Loops

When systems are too dynamic for static models, researchers deploy machine learning and online optimization loops to infer hidden states in real time.

For cloud providers attempting to monitor multi-tenant applications without violating privacy boundaries, Tianyao Shi et al. designed a framework called Alioth. It uses denoising auto-encoders and domain adaptation to map low-level hardware telemetry to application-level performance loss, effectively "seeing" through the VM boundary to detect resource interference.

In large-scale networks where an end-to-end orchestrator must manage multiple independent administrative domains (like RAN, Transport, and Core), the internal resource logic of each domain is hidden. Duo Cheng et al. solved this with Odin, a framework that uses Bayesian Optimization to treat individual domains as black boxes. By iteratively adjusting service-level agreement (SLA) decompositions and observing online performance feedback, Odin learns how to satisfy global requirements without ever needing to understand the internal optimization logic of the underlying domains.

Forcing Transparency Through Systematic Benchmarking

When mathematical modeling reaches its limits, researchers force transparency by designing platform-agnostic benchmarking suites and multi-source data fusion techniques that expose hidden infrastructure behaviors through comparative analysis.

For instance, Larissa Schmid et al. developed SeBS-Flow to allow "apples-to-apples" comparisons of serverless workflows across different cloud vendors, exposing hidden I/O bottlenecks and cost-to-performance ratios that providers abstract away. To address the lack of low-level telemetry, Chanh Nguyen et al. propose context-aware, multi-source data fusion to distinguish between platform-level overheads (like cold starts) and genuine application regressions.

Similarly, Ahmed Hassan et al. utilized massive production traces to break down serverless cold starts into granular components, shifting research away from coarse external measurements toward high-fidelity architectural bottleneck analysis. By standardizing how we probe these systems externally, researchers can turn unmeasurable vendor signals—such as proprietary spot instance availability scores, which Kyunghwan Kim et al. note often function as black boxes—into predictable, actionable data for workload planning.

Ultimately, when direct observation is blocked by virtualization, proprietary designs, or security boundaries, the path forward relies on treating the infrastructure as an unknown mathematical function—using external probing, statistical modeling, and machine learning to map its boundaries and optimize its behavior.

Key Foundational Work

Benchmarking OLTP/web databases in the cloud: the OLTP-bench framework (2012) — contributed 2 concept elements to this direction.
Glaucus: Predicting Computing-Intensive Program's Performance for Cloud Customers (2013) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_infrastructure_opacity_8914c106,
  title = {infrastructure opacity},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/infrastructure-opacity/rdr_8914c10619a8495495dc8701f6aeb3dc},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_infrastructure_opacity_8914c106_v1,
  title = {infrastructure opacity},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/infrastructure-opacity/rdr_8914c10619a8495495dc8701f6aeb3dc/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake