Skip to content
KG.
  • Blog
  • Hire me, or see what I ship.

    • ProjectsCase studies & shipped work
    • ServicesWork with me
    • SponsorSponsor the blog
  • Essays and references on AI engineering.

    • BlogEssays on AI engineering
    • Learning PathsGuided curricula
    • Topic PillarsDeep-dive hubs
    • GlossaryAI & dev terms, defined
    • CheatsheetsQuick references
    • ComparisonsX vs Y, decided
  • Things to click, play, and take apart.

    • Tools29 dev & AI utilities
    • Games16 browser games
    • DemosInteractive explainers
    • ChallengesDaily coding puzzles
  • Me

    • AboutWho I am
    • UsesMy gear & setup
    • ResumeCV (PDF)

    Shelf

    • BookshelfBooks I recommend
    • Reading ListWhat I'm reading
  • Subscribe
  • Let's talk
  1. Home
  2. ›
  3. Blog
  4. ›
  5. Performance Tuning

Performance Tuning

2 posts tagged #performance-tuning

postgres psql terminal linux server — illustration for article on Transparent Huge Pages + Postgres: Stop Cloud and DevOps

Transparent Huge Pages + Postgres: Stop P99 Latency Cliffs

THP isn’t “free performance” for Postgres. Here are the exact Linux settings to avoid p99 latency cliffs, plus a validation loop and Kubernetes guardrails.

August 11, 2026 9 min read
Read more
postgresql database server terminal linux — illustration for article on PostgreSQL Performance Halved on Linux Kernel Technology

PostgreSQL and THP on Linux Kernel 6.8: Diagnose and Fix

Transparent Huge Pages set to always can stall PostgreSQL backends during memory compaction. How to check THP and mTHP on Linux Kernel 6.8, fix them, and make the fix survive reboots.

April 5, 2026 14 min read
Read more

Keep exploring

Close to this topic, not on this page.

  • vLLM Self-Hosted LLM Production Checklist: Auth + Quotas A production-first checklist for self-hosting an OpenAI-compatible vLLM endpoint: auth, per-tenant quotas, streaming SSE, queueing, and… 9 min read
  • How to Build Vendor-Neutral LLM Observability A practical blueprint for vendor-neutral LLM observability: an OpenTelemetry pipeline, an open trace schema, redaction boundaries, tail… 8 min read
  • eBPF vs Sidecars: Kubernetes Observability Migration Plan A pragmatic migration plan for Kubernetes teams moving from Envoy sidecars to node-level eBPF observability, with P99 validation and… 9 min read

Content

  • Blog
  • Topic Pillars
  • Learning Paths
  • Games
  • Demos

Resources

  • Tools
  • Glossary
  • Cheatsheets
  • Comparisons
  • LLM Prices
  • Embedding Prices

About Me

  • About
  • Uses
  • Bookshelf
  • Reading List

Meta

  • Subscribe
  • Changelog
  • Sitemap
  • Privacy
  • Terms
  • RSS
KG

Building intelligent systems. Still chasing those sour icecreams.

Made with coffee and curiosity in Toronto. 2026.