---
title: "Performance engineering (hard)"
description: "Profiling, latency/throughput optimization, benchmarks"
url: "https://swe.quest/tags/performance?difficulty=hard"
---

# Performance engineering (hard)

Topic in Reliability & operations: Profiling, latency/throughput optimization, benchmarks

By difficulty: [Easy](https://swe.quest/tags/performance.md?difficulty=easy) · [Medium](https://swe.quest/tags/performance.md?difficulty=medium) · [Hard](https://swe.quest/tags/performance.md?difficulty=hard)

Posts 1–24 of 195, page 1 of 9, newest first.

## 2026-11-27

- [Taking Trainium3 to the Track: Generating Videos with LTX-2.5](https://swe.quest/articles/taking-trainium3-to-the-track-generating-videos-with-ltx-2-5-b0838d9918a36e17.md): Hugging Face · 2026-11-27 · Hard · 14 min read · Inference & serving, Performance engineering, Hardware, Video & media, Python
  LTX-2.5 video-with-audio generation was ported to AWS Trainium3 via diffusers, cutting a 10-second clip from 5 min 20 s at 960×544 to 22–23 s at 2048×1024 on 32 of 64 NeuronCores, roughly matching LTX's paid API.

## 2026-11-26

- [Qualcomm’s Oryon 3 Reaches the Top](https://swe.quest/articles/qualcomm-s-oryon-3-reaches-the-top-dfacb3c3353b5dcc.md): Chips and Cheese · 2026-11-26 · Hard · 19 min read · Hardware, Performance engineering
  Qualcomm's Oryon 3 P-core in the Snapdragon X2 Elite keeps Oryon 1's large out-of-order backend, with a ~675-entry ROB, and its speed-focused two-level cache.

## 2026-11-25

- [Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000](https://swe.quest/articles/hill-climbing-inkling-2-mini-inference-on-one-rtx-pro-6000-c3647a6de3f84545.md): Hugging Face · 2026-11-25 · Hard · 9 min read · Inference & serving, Performance engineering, LLMs, AI agents
  Agent-driven tuning of Inkling 2 Mini, a looped 26B-total/3B-active MoE, on a single RTX PRO 6000 raised single-user decode from 136 to 190.6 tok/s (+40%) and 8-user throughput from ~570 to 716 tok/s by switching from SGLang to vLLM nightly and enabling DSpark speculative decoding with 7 drafts and probabilistic draft sampling.

## 2026-11-18

- [180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers](https://swe.quest/articles/180b-parameters-32gb-of-ram-pushing-moe-inference-to-the-limit-with-transformers-63cd3cf21432f7c3.md): Hugging Face · 2026-11-18 · Hard · 11 min read · Inference & serving, LLMs, Performance engineering, Caching, Hardware
  Streaming MoE experts from SSD through a bounded device-side slot pool lets Transformers run Qwen3.8-Flash-Next (121 GB of experts) on a 32 GB MacBook M5 at ~13.9 tok/s, within 6% of the specialized Strata engine on decode and slightly faster on prefill.

## 2026-11-17

- [More load is faster: Tuning Postgres read replicas](https://swe.quest/articles/more-load-is-faster-tuning-postgres-read-replicas-edfe2bbdc0de0a5f.md): ClickHouse · 2026-11-17 · Hard · 9 min read · PostgreSQL, Replication, Performance engineering
  Postgres read replicas fed from archived WAL (rather than streaming replication) show a U-shaped lag curve: idle systems wait up to archive\_timeout (60s) for a 16MB segment to fill, while very high write rates make archive upload fall behind.

## 2026-11-16

- [Talking Venice with Mahesh Subramony at AMD In-Depth](https://swe.quest/articles/talking-venice-with-mahesh-subramony-at-amd-in-depth-30acd76e3da9a7e0.md): Chips and Cheese · 2026-11-16 · Hard · 9 min read · Hardware, Performance engineering
  AMD's EPYC Venice (Zen 6) moves to 2.5D packaging because CCD-to-I/O-die bandwidth rose from under 700 GB/s to about 1.6 TB/s, and conventional packaging would have spent roughly 10–15% of SoC power just moving those bits.
- [Last year we built megakernels. This year we deleted them: The road to Together Compiler](https://swe.quest/articles/last-year-we-built-megakernels-this-year-we-deleted-them-the-road-to-together-8e97dcf4bda731c8.md): Together AI · 2026-11-16 · Hard · 28 min read · Compilers, Inference & serving, Performance engineering, Hardware
  Megakernels for Llama 1B hit 990 TPS on H100 but were too inflexible to productionize, supporting only one model, batch size and precision.

## 2026-11-11

- [Talking Zen 6 with Mike Clark at AMD In-Depth](https://swe.quest/articles/talking-zen-6-with-mike-clark-at-amd-in-depth-409a250d28f4882a.md): Chips and Cheese · 2026-11-11 · Hard · 9 min read · Hardware, Performance engineering
  AMD's Zen 6 family flips the role of its two core variants: the dense Zen 6c becomes the top-IPC performance core, with full 4MB-per-core L3 (128MB across 32 cores) and larger schedulers and queues that its lower frequency target allows, while classic Zen 6 is now the high-frequency design.

## 2026-11-10

- [AMD’s Zen 6 Family: Feeding the Beast](https://swe.quest/articles/amd-s-zen-6-family-feeding-the-beast-1f1265a4e76c1d9c.md): Chips and Cheese · 2026-11-10 · Hard · 10 min read · Hardware, Performance engineering
  Zen 6 evolves Zen 5 with a faster branch predictor (lower mispredict penalty, two taken branches per cycle within the L1i), single-thread use of both decode clusters, four 256-bit vector loads per cycle, doubled VNNI throughput, fixed 64 B/cycle L2 bandwidth, and one fewer integer multiply unit.
- [How We Built TLX: A Hardware-Native GPU Compiler for Production ML at Scale](https://swe.quest/articles/how-we-built-tlx-a-hardware-native-gpu-compiler-for-production-ml-at-scale-f66815adb066ecad.md): Meta Engineering · 2026-11-10 · Hard · 17 min read · Compilers, Hardware, Performance engineering, Language design, Model training
  Triton Low-Level Extensions (TLX) add explicit warp-group, synchronization, memory and cluster-level orchestration to Triton, so engineers can use Hopper and Blackwell features such as TMA, TMEM, mbarriers and paired-CTA execution without dropping to CUDA.

## 2026-11-07

- [JIT bitmap text rendering for microcontrollers](https://swe.quest/articles/jit-bitmap-text-rendering-for-microcontrollers-b2c91e4d8888665c.md): Linebender · 2026-11-07 · Hard · 13 min read · Compilers, Performance engineering, Hardware, Algorithms
  Proportionally spaced, kerned bitmap text on the RP2350 renders fast enough to race the beam by JIT-compiling each string into ARM Cortex-M33 code.

## 2026-11-06

- [Safe and Efficient Multi-Epoch Embedding Training](https://swe.quest/articles/safe-and-efficient-multi-epoch-embedding-training-8bb4bc8c80d4baba.md): Pinterest Engineering · 2026-11-06 · Hard · 12 min read · Recommendations & ranking, Model training, Performance engineering, ML platforms
  Fine-tuning large pretrained ID embedding tables for more than one epoch in Pinterest's Homefeed ranking model caused about a 6% offline save regression.
- [Writing a DSL for high performance parallel programming in OxCaml](https://swe.quest/articles/writing-a-dsl-for-high-performance-parallel-programming-in-oxcaml-5f7bd51c2038a2c3.md): Jane Street Tech Blog · 2026-11-06 · Hard · 17 min read · Compilers, Functional programming, Language design, Performance engineering, Hardware
  A Jane Street intern built a JIT compiler for an SPMD-style DSL in OxCaml so SIMD kernels for options pricing and risk checks can be written once as ordinary-looking OxCaml functions instead of architecture-specific C intrinsics.

## 2026-11-05

- [Faster Retrieval for Better, More Efficient RAG](https://swe.quest/articles/faster-retrieval-for-better-more-efficient-rag-d17d027c0d4bf4d2.md): Apple Machine Learning Research · 2026-11-05 · Hard · 12 min read · Vector search, RAG & retrieval, Machine learning, Search, Performance engineering
  Maximum inner product search can be amortized by training small neural networks offline on a known query distribution, exploiting the fact that the max-inner-product function is the convex support function of the key set, whose gradient is the best-matching key.

## 2026-11-04

- [Together Compiler: Continual Compilation for AI inference](https://swe.quest/articles/together-compiler-continual-compilation-for-ai-inference-d1283db901cce6b0.md): Together AI · 2026-11-04 · Hard · 6 min read · Inference & serving, Compilers, AI agents, Performance engineering
  Together Compiler (TKCC) is an agent-driven continual optimization loop that recompiles inference engines as model, hardware and traffic shape drift.

## 2026-11-02

- [How we halved DNS build delay and cut memory use by 85%](https://swe.quest/articles/how-we-halved-dns-build-delay-and-cut-memory-use-by-85-571d0d573d8e7634.md): Cloudflare · 2026-11-02 · Hard · 15 min read · DNS, Scaling, Queues & messaging, Performance engineering, Testing
  Cloudflare's DNS Zone Builder now uses a targeted build planner that picks the smallest provably safe build (resources only, resources plus metadata, apex plus metadata, purge, or full zone) and a unified per-zone scheduler that merges queued work.

## 2026-10-28

- [Meta Andromeda: Powering the Next Generation of Ads Retrieval Through Model-System Co-Design](https://swe.quest/articles/meta-andromeda-powering-the-next-generation-of-ads-retrieval-through-model-4334615c71f64c69.md): Meta Engineering · 2026-10-28 · Hard · 11 min read · Recommendations & ranking, Ads, Inference & serving, Hardware, Performance engineering
  Meta's next-generation Andromeda ads retrieval engine co-designs model, system and GPU hardware to score every eligible ad with near ranking-level quality at over one billion ads per second per GPU server, a 100x lift over the 2024 system.
- [The new cost-based join optimizer with reordering support for non-inner joins](https://swe.quest/articles/the-new-cost-based-join-optimizer-with-reordering-support-for-non-inner-joins-60f6c88dd7c8b7a9.md): ClickHouse · 2026-10-28 · Hard · 17 min read · Query engines, Algorithms, Analytics & OLAP, Performance engineering
  ClickHouse's new cost-based join optimizer uses an exhaustive DPsub dynamic-programming enumerator over table-subset bitmasks.

## 2026-10-24

- [“Performance” Oryon: Qualcomm’s Little Core](https://swe.quest/articles/performance-oryon-qualcomm-s-little-core-ce032e00550f29ac.md): Chips and Cheese · 2026-10-24 · Hard · 11 min read · Hardware, Performance engineering
  Qualcomm's Snapdragon X2 Elite "performance" cores are really efficiency cores: a 4-wide, 3.6 GHz out-of-order design that trades peak throughput for lower power while still performing well thanks to solid branch prediction, Zen 4-class reorder buffer and register file sizes, and large, low-latency caches.

## 2026-10-23

- [Launching a trillion-parameter model at Sakana AI](https://swe.quest/articles/launching-a-trillion-parameter-model-at-sakana-ai-9bcebf1840c2211d.md): Modal · 2026-10-23 · Hard · 6 min read · Inference & serving, LLMs, Performance engineering, Serverless
  Modal served Sakana Namazu, a ~1T-parameter Japanese-focused MoE model, by quantizing only the routed experts to NVFP4.

## 2026-10-19

- [Nvidia Vera’s System Architecture: Pushing Bandwidth](https://swe.quest/articles/nvidia-vera-s-system-architecture-pushing-bandwidth-d04b001904ba6a86.md): Chips and Cheese · 2026-10-19 · Hard · 8 min read · Hardware, Performance engineering
  Nvidia's Vera server chip pairs wide Olympus cores with a second-generation Scalable Coherency Fabric and a 1024-bit LPDDR5X-9600 interface (about 1.23 TB/s).

## 2026-10-16

- [Building fast filesystems for VMs](https://swe.quest/articles/building-fast-filesystems-for-vms-c974511fa7175ffd.md): Modal · 2026-10-16 · Hard · 9 min read · Storage systems, Virtualization, Performance engineering, Linux, Sandboxing & isolation
  Modal replaced virtio-fs with a custom virtio-blk backend, ImageFS-blk, for its VM Sandboxes.

## 2026-10-14

- [Why Redshift Serverless can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-redshift-serverless-can-t-match-clickhouse-cloud-for-real-time-analytics-8ba7c0518a8afd27.md): ClickHouse · 2026-10-14 · Hard · 20 min read · Analytics & OLAP, Stream processing, Cost optimization, Performance engineering, Cloud platforms
  In a CostBench continuous-ingestion test streaming 113.2 billion stock quotes at a target of 1M rows/s, ClickHouse Cloud scored 1,996× better end-to-end performance per dollar than Redshift Serverless.

## 2026-10-13

- [Chasing that 32 ms tail latency in ClickHouse](https://swe.quest/articles/chasing-that-32-ms-tail-latency-in-clickhouse-e6423f2da8a7c8b8.md): ClickHouse · 2026-10-13 · Hard · 11 min read · Networking, Performance engineering, Linux, Databases, Debugging
  An extra full round trip (~32 ms) on simple SELECTs over ClickHouse's Native protocol came from TCP\_NODELAY turning each end-of-query metadata packet (Logs, Progress, ProfileEvents) into its own TCP segment.

[Next page](https://swe.quest/tags/performance.md?difficulty=hard&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=performance](https://swe.quest/feed.xml?difficulty=hard&tag=performance). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
