Search arXiv⌕ Search

arXiv · 2611.16566

Towards Automated Recommendation of Steady-State Detection Algorithms for Software Performance Benchmarks

Abstract

Steady-state detection is a central step in software performance benchmarking, yet different detection methods rely on different assumptions and may perform best on different execution profiles. This paper formulates steady-state detection as an algorithm-recommendation problem: given a benchmark time series, predict which of two complementary detectors is more appropriate. The first, CP-SSD, identifies steady state through changepoint-based segmentation of the execution trace, whereas the second, KB-KSSD, uses a kernel-based approach to identify stable behaviour. We propose a data-driven recommender that characterises benchmark time series using automatically extracted features and combines supervised prediction with information derived from groups of time series exhibiting similar behaviour. The approach is evaluated on 407 labelled benchmark time series for which one of the two detectors can be identified as preferable with respect to a reference steady-state index. The proposed recommender selects the better detector correctly for 72.97% of the series, compared with 62.65% when always selecting the detector that performs best most often, corresponding to an absolute improvement of 10.32 percentage points. Paired statistical testing and bootstrap confidence intervals support this improvement. A comparison with a recommender using time-series features alone shows that the cluster-derived information mainly improves interpretability rather than predictive accuracy. Recommendations also remain highly stable when the unsupervised representation is learned from either the labelled subset or the full collection of 5,860 time series. These results demonstrate the feasibility of per-series steady-state detector recommendation while highlighting the need for broader labelled data, particularly for execution profiles favouring the changepoint-based detector.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Martin Beseda, Vittorio Cortellessa, Federico Di Menna, Daniele Di Pompeo, Luca Traini. 2026-11-12. Towards Automated Recommendation of Steady-State Detection Algorithms for Software Performance Benchmarks. https://searcharxiv.org/abs/2611.16566

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Held While Waiting: What LLM Agent Sessions Reserve on Serverless and Agent Runtimes

LLM agents spend nearly all their time waiting for the model. On Amazon Bedrock AgentCore, our agents waited a median of 2.7 seconds for each model reply, then computed for an estimated 5 to 40 milliseconds. AgentCore does not charge for CPU during the wait. But it reserves a separate environment, a virtual machine with its own memory, for every conversation, and keeps it reserved until the conversation is closed. So 1,000 conversations reserve 1,000 environments to do the work of 2 to 15 processor cores. A service runs out of environments long before it runs out of processing power. The shortage has two causes, and each has a fix. An environment stays reserved after its conversation ends: in the customer-service benchmark we ran, a conversation lasts 33 seconds on average, but its environment is held for 15 minutes more unless the client closes it. And an environment serves only one conversation, which is mostly waiting: in our simulation, 64 conversations sharing one environment need 59 times fewer environments, and 99 of every 100 replies are delayed by at most 40 milliseconds. The milliseconds are an estimate because they are hard to measure: a stubbed model, a timer around the model call, and steps run back to back each gave a plausible number that was too low. We show how to avoid all three. Of the two fixes, closing needs only the client. Sharing needs the platform, and of the agent runtimes we surveyed only one allows it, in part. They keep conversations apart because an agent runs tools, and sometimes code, chosen by a model. The open problem is to keep them apart without reserving an environment for each while it waits.

cs.PF↗

Recovering Parallelism under Fixed Numerical References in Quantized LLM Decoders

Preserving a quantized decoder's complete output scores and committed state can constrain projection arithmetic and attention views at different query granularities. Applying attention's finest partition to the entire decoder then fragments projection work that is already compatible with the numerical reference. We implement local lowering that retains admitted projection groups, refines physical views inside attention, and rejoins outputs in logical query order. Owned output rows, state commit, and guarded graph reuse carry the result into successive transactions. Complete-vector and active-state comparisons match the bound references in the exercised cases. At a selected 32B A5000 crossing with frozen proposals, local lowering reduces verification-through-commit time by 21.56% across 12 paired time blocks (95% CI [20.21%, 22.83%]). Independent complete-request studies evaluate few-column execution and prefill packing under their own controls. Few-column execution reduces RTX request time by 15.80% relative to grouped scalar execution in a descriptive comparison; packing admitted groups accelerates both target-only and speculative requests. Scalar regrouping alone has verification savings offset by prefill costs. Natural-workload studies further show that sparse opportunities, sampling, drafting, and setup can limit or reverse the service benefit. These results support enforcing each numerical obligation at its required operator and state boundary, then evaluating the retained work over the complete request and deployment lifetime.

cs.PF↗

Measuring and Charging for Retained Context in Long-Context LLM Services

Long-context large language model (LLM) services charge for repeated context, yet billing weights need not reflect its contribution to answer quality. We present a three-layer framework separating content relevance, observable proxies and auditable positional weights. Context-ablation experiments show that relevance dominates position and that distance-decay families do not outperform a relevance-only baseline. A measured serving stack shows that cache hits reduce repeated-prefix compute cost by over two orders of magnitude at 65,536 tokens, while cold resends constrain sustainable discounts. Cross-provider measurements separate cache value from tokenisation and list-price differences. Calibrated simulations reduce the 99th percentile of session charges by 31-42%, although revenue-matched nonlinear tariffs achieve similar reductions and median charges increase. The framework provides a bounded per-token accounting rule and measured deployment constraints, rather than a validated utility estimator.

cs.PF↗