arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.08908cs.OScs.LG
收藏

放牧 LLaMaS:将大语言模型用作操作系统模块

Herding LLaMaS: Using LLMs as an OS Module

University of Washington(华盛顿大学);University of Wisconsin–Madison(威斯康星大学麦迪逊分校)

Aditya K Kamath, Sujay Yadalam

AI总结:

本文提出 LLaMaS,利用大语言模型从新设备的文本描述中提取特征并在运行时做出操作系统决策,从而降低异构设备集成到操作系统中的调优成本与管理员负担。

摘要:

随着新型内存技术和计算设备的出现,计算机系统正变得越来越异构。GPU 与 CPU 并列已变得司空见惯,CXL 也有望成为云系统的主要组成部分。操作系统负责管理这些硬件资源,每当有新设备发布时都需要进行修改。为了在每个新的异构设备上实现高性能,多年的研究与开发被投入到操作系统调优中。随着近期内存技术和领域专用加速器的爆发式增长,拥有一个无需大量努力就能为新设备提供高性能的操作系统将大有裨益。我们提出 LLaMaS,它能够轻松适应新设备。LLaMaS 使用大语言模型(LLMs)从新设备的文本描述中提取有用特征,并利用这些特征在运行时做出操作系统决策。为 LLaMaS 添加对新设备的支持,就像用纯文本描述系统和新设备属性一样简单。LLaMaS 减轻了系统管理员的负担,使新设备能够轻松集成到生产系统中。使用 ChatGPT 进行的初步评估表明,LLMs 能够从文本中提取设备特征,并根据这些特征做出正确的操作系统决策。

英文摘要:

Computer systems are becoming increasingly heterogeneous with the emergence of new memory technologies and compute devices. GPUs alongside CPUs have become commonplace and CXL is poised to be a mainstay of cloud systems. The operating system is responsible for managing these hardware resources, requiring modification every time a new device is released. Years of research and development are sunk into tuning the OS for high performance with each new heterogeneous device. With the recent explosion in memory technologies and domain-specific accelerators, it would be beneficial to have an OS that could provide high performance for new devices without significant effort. We propose LLaMaS which can adapt to new devices easily. LLaMaS uses Large Language Models (LLMs) to extract the useful features of new devices from their textual description and uses these features to make operating system decisions at runtime. Adding support to LLaMaS for a new device is as simple as describing the system and new device properties in plaintext. LLaMaS reduces the burden on system administrators to enable easy integration of new devices into production systems. Preliminary evaluation using ChatGPT shows that LLMs are capable of extracting device features from text and make correct OS decisions based on those features.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑