Files
neon/pageserver/benches
Erik Grinaker 6debb49b87 pageserver: coalesce index uploads when possible (#10248)
## Problem

With upload queue reordering in #10218, we can easily get into a
situation where multiple index uploads are queued back to back, which
can't be parallelized. This will happen e.g. when multiple layer flushes
enqueue layer/index/layer/index/... and the layers skip the queue and
are uploaded in parallel.

These index uploads will incur serial S3 roundtrip latencies, and may
block later operations.

Touches #10096.

## Summary of changes

When multiple back-to-back index uploads are ready to upload, only
upload the most recent index and drop the rest.
2025-01-14 21:10:17 +00:00
..

Pageserver Benchmarks

How to run

To run all benchmarks: cargo bench

To run a specific file: cargo bench --bench bench_layer_map

To run a specific function: cargo bench --bench bench_layer_map -- real_map_uniform_queries