dc.contributor.author | Zhou, Xinjing | |
dc.contributor.author | Leis, Viktor | |
dc.contributor.author | Hu, Jinming | |
dc.contributor.author | Yu, Xiangyao | |
dc.contributor.author | Stonebraker, Michael | |
dc.date.accessioned | 2025-03-07T21:22:13Z | |
dc.date.available | 2025-03-07T21:22:13Z | |
dc.date.issued | 2025-02-11 | |
dc.identifier.issn | 2836-6573 | |
dc.identifier.uri | https://hdl.handle.net/1721.1/158440 | |
dc.description.abstract | This paper revisits the longstanding challenge of coordinating database systems with general-purpose OS interfaces, such as POSIX, which often lack tailored support for DB requirements. Existing approaches to this DB-OS co-design struggle with limited design space, security risks, and compatibility issues. To overcome these hurdles, we propose a new co-design approach leveraging virtualization to elevate the privilege level of DB processes. Our method enables database systems to fully exploit hardware capabilities via virtualization, while minimizing the need for extensive modifications to the host OS kernel, thereby maintaining compatibility. We demonstrate the effectiveness of our approach through two novel virtual memory mechanisms tailored for database workloads: (1) an efficient snapshotting mechanism that captures memory snapshots at millisecond intervals for in-memory databases and HTAP workloads, and (2) a streamlined in-kernel buffer pool design. We introduce Libdbos, a lightweight guest kernel implementing these mechanisms. Our evaluations highlight significant improvements in latency and efficiency compared to existing snapshotting and buffer pool designs, underscoring the potential of the approach. | en_US |
dc.publisher | ACM | en_US |
dc.relation.isversionof | https://doi.org/10.1145/3709714 | en_US |
dc.rights | Creative Commons Attribution-NonCommercial-NoDerivatives | en_US |
dc.rights.uri | https://creativecommons.org/licenses/by-nc-nd/4.0/ | en_US |
dc.source | Association for Computing Machinery | en_US |
dc.title | Practical DB-OS Co-Design with Privileged Kernel Bypass | en_US |
dc.type | Article | en_US |
dc.identifier.citation | Zhou, Xinjing, Leis, Viktor, Hu, Jinming, Yu, Xiangyao and Stonebraker, Michael. 2025. "Practical DB-OS Co-Design with Privileged Kernel Bypass." Proceedings of the ACM on Management of Data, 3 (1). | |
dc.contributor.department | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory | en_US |
dc.relation.journal | Proceedings of the ACM on Management of Data | en_US |
dc.identifier.mitlicense | PUBLISHER_POLICY | |
dc.eprint.version | Final published version | en_US |
dc.type.uri | http://purl.org/eprint/type/JournalArticle | en_US |
eprint.status | http://purl.org/eprint/status/PeerReviewed | en_US |
dc.date.updated | 2025-03-01T08:46:46Z | |
dc.language.rfc3066 | en | |
dc.rights.holder | The author(s) | |
dspace.date.submission | 2025-03-01T08:46:46Z | |
mit.journal.volume | 3 | en_US |
mit.journal.issue | 1 | en_US |
mit.license | PUBLISHER_CC | |
mit.metadata.status | Authority Work and Publication Information Needed | en_US |