Back to search

Massachusetts Institute of Technology

Practical DB-OS Co-Design for Modern High-Performance Database Engines

Abstract

dc:description.abstract

Database management systems (DBMSs) rely on operating systems (OSes) to access hardware resources, but the abstractions exposed by general-purpose OSes are often poorly matched to database workloads. DBMSs are optimized to process data-intensive workloads, while OSes provide interfaces that emphasize security, protection, and fair multiplexing of hardware resources. This long-standing mismatch has become more severe as modern hardware evolves rapidly. Networks and storage devices have improved by orders of magnitude, while single-core CPU performance has improved much more slowly. As a result, operating systems increasingly dominate query and transaction execution time. Existing approaches such as full kernel bypass, custom kernels, and kernel modules can reduce this overhead, but they often sacrifice key practicality properties, including compatibility, security, deployability, and maintainability. This thesis argues for practical DB-OS co-design, replacing poorly matched OS mechanisms on the database critical path while preserving these practicality properties. It begins with a whole-stack measurement study of memory-optimized OLTP systems, which identifies the OS/kernel stack as a major source of cost under modern hardware and workloads. Guided by the principle of specializing only the mechanisms that limit performance, and doing so at the lowest sufficient privilege level, the thesis develops three systems. Tux is a database-aware networking stack that achieves kernel-bypass-class performance without requiring user-space NIC drivers or exclusive device ownership. Calico is a DBMS-controlled buffer pool that matches hardware-accelerated in-memory translation while preserving DBMS control over eviction and scalable I/O. Libdbos leverages hardware virtualization to safely expose privileged mechanisms to the database process, enabling instantaneous virtual-memory snapshots and efficient buffer management. Together, these systems show that the DB-OS interface can be redesigned around database semantics across communication, memory management, and privilege boundaries. The result is a practical path to large end-to-end performance gains without giving up the practicality properties required by production database systems.

Degree

thesis:*
Name thesis:degree_name
Doctoral
Grantor dc:publisher
Massachusetts Institute of Technology
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhou, Xinjing
Advisor dc:contributor.advisor
  • Stonebraker, Michael
ORCID dc:identifier.orcid

Rights

dc:rights
Statement dc:rights
  • In Copyright - Educational Use Permitted
  • Copyright retained by author(s)

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://dspace.mit.edu/handle/1721.1/177360

Chain of custody

source
Harvested from
MIT
Base URL
dspace.mit.edu/oai/request
Last updated
2026-11-30
Source record
OAI-PMH GetRecord
related terms
citation

Zhou, Xinjing. Practical DB-OS Co-Design for Modern High-Performance Database Engines. Massachusetts Institute of Technology, 2026. https://dspace.mit.edu/handle/1721.1/177360