Skip to main content
SHARE
Publication

Porting the Kitten Lightweight Kernel Operating System to RISC-V...

by Nick Gordon, Kevin Pedretti, John R Lange
Publication Type
Conference Paper
Book Title
2022 IEEE/ACM International Workshop on Runtime and Operating Systems for Supercomputers (ROSS)
Publication Date
Page Numbers
1 to 7
Publisher Location
New Jersey, United States of America
Conference Name
International Workshop on Runtime and Operating Systems for Supercomputers (ROSS 2022)
Conference Location
Dallas, Texas, United States of America
Conference Sponsor
IEEE
Conference Date

Hardware design in high-performance computing (HPC) is often highly experimental. Exploring new designs is difficult and time-consuming, requiring lengthy vendor cooperation. RISC-V is an open-source processor ISA that improves the accessibility of chip design, including the ability to do hardware/software co-design using open-source hardware and tools. Co-design allows design decisions to easily flow across the hardware/software boundary and influence future design ideas. However, new hardware designs require corresponding software to drive and test them. Conventional operating systems like Linux are massively complex and modification is time-prohibitive. In this paper, we describe our port of the Kitten lightweight kernel operating system to RISC-V in order to provide an alternative to Linux for conducting co-design research. Kitten's small code base and simple resource management policies are well matched for quickly exploring new hardware ideas that may require radical operating system modifications and restructuring. Our evaluation shows that Kitten on RISC-V is functional and provides similar performance to Linux for single-core benchmarks. This provides a solid foundation for using Kitten in future co-design research involving RISC-V.