BYOS: Knowledge-driven Large Language Models Bring Your Own Operating System More Excellent

📅 2025-03-12
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the challenges of manually configuring OS kernels for diverse workloads and the lag between human-driven tuning and rapid kernel evolution, this paper proposes BYOS: an automated kernel configuration optimization framework that synergistically leverages large language models (LLMs) and a novel Operating-System-Directed dual-layer Knowledge Graph (OD-KG). OD-KG uniquely integrates kernel semantic structures with constraint logic, significantly enhancing LLMs’ domain-specific understanding and explainable reasoning capabilities. Coupled with configuration-space modeling and empirical validation, BYOS enables end-to-end high-performance configuration generation. Evaluated across multiple representative workloads, BYOS-generated configurations achieve 7.1%–155.4% performance improvements over vendor-default configurations, substantially reducing the time-to-deployment for customized OSes. This work establishes a new paradigm for LLM-driven intelligent configuration of systems software.

Technology Category

Application Category

📝 Abstract
Kernel configurations play an important role in the performance of Operating System (OS). However, with the rapid iteration of OS, finding the proper configurations that meet specific requirements can be challenging, which can be primarily attributed to the default kernel provided by vendors does not take the requirements of specific workloads into account, and the heavyweight tuning process cannot catch up with the rapid evolving pace of the kernel. To address these challenges, we propose BYOS, a novel framework powered by Large Language Models (LLMs) to customize kernel configurations for diverse user requirements. By integrating OS-oriented Dual-layer Knowledge Graph (OD-KG) and corresponding reasoning strategy, BYOS enhanced the LLM's understanding of the characteristics and capabilities of OS, thus enabling customized, cost-effective, and convenient generation of kernel configurations. Experiments show that the kernels configured by BYOS outperform the default vendor-configured kernels by 7.1% to 155.4%, demonstrating the effectiveness and efficiency of BYOS in customizing kernel configurations. Our code is available at https://github.com/LHY-24/BYOS.
Problem

Research questions and friction points this paper is trying to address.

Customizing kernel configurations for specific user requirements.
Addressing challenges in OS performance due to rapid kernel evolution.
Enhancing LLM understanding of OS characteristics for better configuration.
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLMs customize kernel configurations effectively
OD-KG enhances OS understanding for LLMs
BYOS outperforms default kernels significantly
🔎 Similar Papers
H
Hongyu Lin
University of Chinese Academy of Sciences, Beijing, China; Institute of Software Chinese Academy of Sciences, Beijing, China
Y
Yuchen Li
University of Chinese Academy of Sciences, Beijing, China; Institute of Software Chinese Academy of Sciences, Beijing, China
Haoran Luo
Haoran Luo
Nanyang Technological University
Knowledge GraphLarge Language ModelsGraph Neural Networks
Kaichun Yao
Kaichun Yao
Institute of Software, Chinese Academy of Sciences
Natural Language ProcessingData Mining
L
Libo Zhang
Institute of Software Chinese Academy of Sciences, Beijing, China
M
Mingjie Xing
Institute of Software Chinese Academy of Sciences, Beijing, China
Yanjun Wu
Yanjun Wu
Institute of Software, Chinese Academy of Sciences
Computer Science