SemaTune: Semantic-Aware Online OS Tuning with Large Language Models
Georgios Liargkovas, Mihir Nitin Joshi, Hubertus Franke, Kostis Kaffes

TL;DR
SemaTune is a semantic-aware online OS tuning framework leveraging large language models to optimize Linux parameters, improving performance while maintaining safety and low latency.
Contribution
It introduces a novel host-side OS tuning approach that uses LLMs for reasoning about control semantics and indirect signals, with a structured validation process.
Findings
SemaTune improves stable-phase performance by 72.5% over defaults.
It achieves 153.3% improvement over the strongest non-LLM baseline.
The tuning session costs about $0.20 in model calls.
Abstract
Online OS tuning can improve long-running services, but existing controllers are poorly matched to live hosts. They treat scheduler, power, memory, and I/O controls as black-box variables and optimize a scalar reward. This view ignores cross-knob policy structure, breaks down when application metrics are unavailable, and can send a running service into degraded regions that persist after the bad setting is removed. We present SemaTune, a host-side framework for steady-state OS tuning with bounded language-model guidance. SemaTune turns knob schemas, telemetry, current configuration, recent action--response history, and retrieved prior runs into a compact decision context. A fast loop proposes low-latency updates, a slower loop periodically revises the search strategy, and every proposed change passes through typed validation before reaching kernel or sysctl interfaces. This lets the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
