potentialpaper

KnowOS: Knowledge-driven Large Language Models for Operating System Kernel Tuning

Hongyu Lin, Yuchen Li, Haoran Luo, Kaichun Yao, Libo Zhang, Mingjie Xing, Yanjun Wu

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Operating System (OS) kernel tuning involves systematically optimizing kernel configurations to enhance system performance. Despite recent advancements in large language models (LLMs), kernel tuning remains a significant challenge due to: (1) the semantic gap between abstract tuning objectives and the specific config options, (2) the limited environmental interaction leading to LLM hallucinations, and (3) the rapid evolution of kernel versions. To address these challenges, we introduce KnowOS, a framework powered by knowledge-driven LLMs for automating kernel tuning. KnowOS leverages three key innovations: structured knowledge construction and mapping, knowledge-driven configuration generation, and continuous knowledge maintenance. Extensive experiments demonstrate that KnowOS achieves performance improvements ranging from 7.1% to 155.4% over default configurations across standard OS benchmarks and real-world applications. These results highlight the potential of structured knowledge representations in overcoming the limitations of pure LLM-based approaches for system optimization. Our code is available at https://anonymous.4open.science/r/KnowOS-B274.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…