{"id":{"repo_id":"mit","oai_identifier":"oai:dspace.mit.edu:1721.1/177360"},"canonical_url":"https://search.ndltd.org/etd/mit/oai:dspace.mit.edu:1721.1/177360","repository":{"repo_id":"mit","name":"MIT","base_url":"https://dspace.mit.edu/oai/request"},"display":{"title":"Practical DB-OS Co-Design for Modern High-Performance Database Engines","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Zhou, Xinjing"],"institution":"Massachusetts Institute of Technology","degree_name":"Doctoral","degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Stonebraker, Michael"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-30T16:58:35Z","subjects":[],"languages":[],"rights":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"],"rights_urls":["https://rightsstatements.org/page/InC-EDU/1.0/"],"identifier_entries":[],"person_identifier_entries":[{"key":"dc:identifier.orcid","label":"ORCID","values":["https://orcid.org/0009-0008-5949-6553"],"render_values":[{"text":"0009-0008-5949-6553","href":"https://orcid.org/0009-0008-5949-6553","code":true}]}]},"links":{"outbound_url":"https://dspace.mit.edu/handle/1721.1/177360","outbound_label":"Repository record","outbound_source":"dc:identifier.uri","record_url":"https://dspace.mit.edu/handle/1721.1/177360","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Amit%3Aoai%3Adspace.mit.edu%3A1721.1%2F177360","prefix":"oai_dc"},"source_record":{"url":"https://dspace.mit.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adspace.mit.edu%3A1721.1%2F177360","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Stonebraker, Michael"]},{"key":"dc:creator","label":"Author","values":["Zhou, Xinjing"]},{"key":"dc:identifier.orcid","label":"ORCID","values":["https://orcid.org/0009-0008-5949-6553"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-10-28T17:05:58Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-10-28T17:05:58Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2026-08-03T16:27:18.751Z"]},{"key":"dc:publisher","label":"Institution","values":["Massachusetts Institute of Technology"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctoral","Doctor of Philosophy"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://rightsstatements.org/page/InC-EDU/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dspace.mit.edu/handle/1721.1/177360"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"9dba5e6a-29a1-44ba-96e2-485b3c3945cc\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Title>Practical DB-OS Co-Design for Modern High-Performance Database Engines</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026-05</PublicationDate> <Authors> <Author> <DisplayName>Zhou, Xinjing</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Massachusetts Institute of Technology</DisplayName> <OrgUnit /> </Publisher> </Publishers> <License>https://rightsstatements.org/page/InC-EDU/1.0/</License> <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.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Practical DB-OS Co-Design for Modern High-Performance Database Engines"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["unknown"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"9dba5e6a-29a1-44ba-96e2-485b3c3945cc\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Title>Practical DB-OS Co-Design for Modern High-Performance Database Engines</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026-05</PublicationDate> <Authors> <Author> <DisplayName>Zhou, Xinjing</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Massachusetts Institute of Technology</DisplayName> <OrgUnit /> </Publisher> </Publishers> <License>https://rightsstatements.org/page/InC-EDU/1.0/</License> <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.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.advisor":["Stonebraker, Michael"],"dc:creator":["Zhou, Xinjing"],"dc:date.accessioned":["2026-10-28T17:05:58Z"],"dc:date.available":["2026-10-28T17:05:58Z"],"dc:date.issued":["2026-05"],"dc:date.submitted":["2026-08-03T16:27:18.751Z"],"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."],"dc:description.degree":["Ph.D."],"dc:format.mimetype":["application/pdf"],"dc:identifier.orcid":["https://orcid.org/0009-0008-5949-6553"],"dc:identifier.uri":["https://dspace.mit.edu/handle/1721.1/177360"],"dc:publisher":["Massachusetts Institute of Technology"],"dc:rights":["In Copyright - Educational Use Permitted","Copyright retained by author(s)"],"dc:rights.uri":["https://rightsstatements.org/page/InC-EDU/1.0/"],"dc:title":["Practical DB-OS Co-Design for Modern High-Performance Database Engines"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"others:access_status":["unknown"],"thesis:degree_name":["Doctoral","Doctor of Philosophy"]},"updated_at":"2026-11-30T16:58:35Z"}