Skip to main content
HUD LOGCHUNK SYSTEMS // LOKI 3.X SINGLE-BINARY TSDB & ZSTD TELEMETRY SCHEMA: TSDB-SHIPPER V13 | ZSTD 6X-11X | BASELINE 2026-11-13
GrafanaLokiRAM
GrafanaLokiRAM Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
TSDB & RAM Tuning

Sizing Memcached (2-24 GB) for Query Frontend & Chunk Cache

Split Memcached RAM cleanly between chunk_cache_config and results_cache so Grafana dashboards render in under 400 ms.

42% TSDB Index / 58% Chunk+Results · 1 MB Max Item

Sizing Memcached (2-24 GB) for Query Frontend & Chunk Cache
Telemetry baseline verified 2026-11-13 by LogChunk Systems.

Preventing Large Chunk Eviction Churn

Launch memcached with -I 4m or -I 2m when caching large 1.5 MB ZSTD chunks so Memcached does not silently drop items exceeding its default 1 MB slab limit.

Splitting Results vs Chunk Cache

Query frontend results_cache accelerates repeated metric queries (rate(), count_over_time()), while chunk_cache eliminates repeated disk reads during trace drill-downs.

Measured Thresholds & Loki TSDB Parameters

Total Cache BudgetSuggested Memcached (-m)Recommended Workload
2 - 4 GB Cache1,160 - 2,320 MB10-100 GB/day single-team clusters
6 - 10 GB Cache3,560 - 5,940 MB100-450 GB/day multi-squad dashboards
16 - 24 GB Cache9,500 - 14,250 MB500-1,500 GB/day heavy LogQL regex alerting
42% TSDB Index / 58% Chunk+Results · 1 MB Max Item InterServer $6/TB SliceUltaHost VDS ($37.50+/mo)