﻿# GetBatch: small-object throughput gains and a separate training-tail experiment

AIStore GetBatch batches object retrieval while retaining sample order. Read its synthetic throughput gains separately from the smaller-client latency experiment.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/getbatch-small-object-throughput-training-tail-client-configuration/
Language: en

## A storage primitive after sampling

The [GetBatch paper](https://arxiv.org/html/2602.22434v1), submitted February 25, 2026, describes distributed retrieval of already selected objects or archive members through a single ordered response. Sampling, bucketing and batch formation remain client responsibilities. AIStore coordinates retrieval across storage targets and assembles the requested items in their specified order.

This changes the access path rather than proving that training examples have been correctly partitioned across workers. The [distributed dataset guide](/journal/data-guide-distributed-shard-worker-overlap/) explains that separate assignment problem. The [original API documentation](https://github.com/NVIDIA/aistore/blob/main/docs/get_batch.md) also distinguishes streaming delivery from buffering a complete result; both preserve request order.

## Synthetic speedups depend strongly on object size

The synthetic benchmark uses a 16-node AIStore cluster on Oracle Cloud Infrastructure, with dedicated clients and fixed request concurrency. Configurations run for an hour, with page caches cleared before each run. At batch size 128, reported throughput improvements over individual GET requests reach 15× for 10 KiB objects, 6.2× for 100 KiB objects and 1.7× for 1 MiB objects.

Those results support amortizing request overhead when objects are small. They do not establish a 15× faster optimizer step or end-to-end training run. As payloads grow, transferring bytes occupies more of the operation, so eliminating request-level overhead has a smaller relative effect. Cluster hardware, concurrency and the comparison access method remain part of the observation.

## Full training throughput and latency use different configurations

The application is Canary-1B-Flash speech training on 85,000 hours of multilingual audio. The full configuration uses 128 A100 80GB GPUs and 1,024 data-loader workers against the same storage cluster. Sequential shard access, individual random GET and GetBatch deliver similar aggregate throughput in that configuration. The storage system has spare capacity, so the synthetic maximum does not translate into an equivalent training-throughput multiplier.

The latency subsection then explicitly reduces the clients to 32 GPUs and 256 workers. Its table compares complete batch retrieval, from request issuance until all bytes arrive. Relative to individual random GET, GetBatch lowers batch P95 from 3668.7 to 1808.6 milliseconds, approximately 2×. Per-object P99 falls from 53.5 to 14.5 milliseconds, approximately 3.7×. Those tail results belong to the reduced-client experiment, rather than being silently assigned to the full configuration.

## Ordering and tails retain their own costs

Sequential shard access has lower batch latency in the reported table, but constrains which samples can be selected without reading additional shards. Its per-object timing also represents consumption from an open stream, unlike an independent random retrieval. Consequently, it is not an identical access contract merely because every method returns training data.

Ordered assembly can buffer items that arrive early while waiting for an earlier requested item. The designated target can itself encounter disk, memory or CPU pressure; the paper discusses throttling, admission control and limits on scaling. Continue-on-error preserves positions with explicit missing-item placeholders, not fabricated samples. The consumer still needs to handle those outcomes.

The [benchmark methodology guide](/journal/inference-benchmark-method/) helps distinguish throughput from a retrieval percentile. GetBatch supplies measured benefits for particular access patterns and preserves a useful ordering contract. It does not guarantee faster training at every scale, replace dataset validation or make an AIStore-specific operation a standard capability of every object store.
