Silentium! Run-Analyse-Eradicate the Noise out of the DB/OS Stack

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Mauerer, Wolfgang, Ramsauer, Ralf, Lucas, Edson R. F., Scherzinger, Stefanie
Format: Preprint
Publié: 2021
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913488834658304
author Mauerer, Wolfgang
Ramsauer, Ralf
Lucas, Edson R. F.
Scherzinger, Stefanie
author_facet Mauerer, Wolfgang
Ramsauer, Ralf
Lucas, Edson R. F.
Scherzinger, Stefanie
contents When multiple tenants compete for resources, database performance tends to suffer. Yet there are scenarios where guaranteed sub-millisecond latencies are crucial, such as in real-time data processing, IoT devices, or when operating in safety-critical environments. In this paper, we study how to make query latencies deterministic in the face of noise (whether caused by other tenants or unrelated operating system tasks). We perform controlled experiments with an in-memory database engine in a multi-tenant setting, where we successively eradicate noisy interference from within the system software stack, to the point where the engine runs close to bare-metal on the underlying hardware. We show that we can achieve query latencies comparable to the database engine running as the sole tenant, but without noticeably impacting the workload of competing tenants. We discuss these results in the context of ongoing efforts to build custom operating systems for database workloads, and point out that for certain use cases, the margin for improvement is rather narrow. In fact, for scenarios like ours, existing operating systems might just be good enough, provided that they are expertly configured. We then critically discuss these findings in the light of a broader family of database systems (e.g., including disk-based), and how to extend the approach of this paper accordingly.
format Preprint
id arxiv_https___arxiv_org_abs_2102_06219
institution arXiv
publishDate 2021
record_format arxiv
spellingShingle Silentium! Run-Analyse-Eradicate the Noise out of the DB/OS Stack
Mauerer, Wolfgang
Ramsauer, Ralf
Lucas, Edson R. F.
Scherzinger, Stefanie
Databases
When multiple tenants compete for resources, database performance tends to suffer. Yet there are scenarios where guaranteed sub-millisecond latencies are crucial, such as in real-time data processing, IoT devices, or when operating in safety-critical environments. In this paper, we study how to make query latencies deterministic in the face of noise (whether caused by other tenants or unrelated operating system tasks). We perform controlled experiments with an in-memory database engine in a multi-tenant setting, where we successively eradicate noisy interference from within the system software stack, to the point where the engine runs close to bare-metal on the underlying hardware. We show that we can achieve query latencies comparable to the database engine running as the sole tenant, but without noticeably impacting the workload of competing tenants. We discuss these results in the context of ongoing efforts to build custom operating systems for database workloads, and point out that for certain use cases, the margin for improvement is rather narrow. In fact, for scenarios like ours, existing operating systems might just be good enough, provided that they are expertly configured. We then critically discuss these findings in the light of a broader family of database systems (e.g., including disk-based), and how to extend the approach of this paper accordingly.
title Silentium! Run-Analyse-Eradicate the Noise out of the DB/OS Stack
topic Databases
url https://arxiv.org/abs/2102.06219