Back to search

EPFL

Improving Main-memory Database System Performance through Cooperative Multitasking

Abstract

dc:description

Database systems access memory either sequentially or randomly. Contrary to sequential access and despite the extensive efforts of computer architects, compiler writers, and system builders, random access to data larger than the processor cache has been synonymous to inefficient execution. Especially in the big data era, data processing is memory bound, and accesses to DRAM and non-volatile memory each take several tens or hundreds of nanoseconds respectively, posing a great challenge to current processors. Due to the mismatch between the way humans write code and the way processors execute this code, workload execution stalls on main memory access, instead of executing the other parallel work that typically exists in big data workloads. This thesis establishes cooperative multitasking as the principal way to hide memory latency in operations that consist of parallel tasks. We first systematize cooperative multitasking presenting an analogue of Amdahl's law for latency hiding. More importantly, we then introduce interleaving with coroutines, a general-purpose and practical technique to interleave the execution of parallel tasks within one thread interleaved execution and thereby hide memory access. This form of cooperative multitasking enables significant performance improvements for analytical and transactional use cases that suffer from unavoidable memory accesses, such as index joins and tuple reconstruction, as well as concurrent GET and PUT operations in key-value stores. Given enough parallel work, sufficient hardware support for concurrent memory accesses, and a low-overhead mechanism to switch between tasks, interleaved execution renders important database operations oblivious to memory latency and makes their execution behave as if all accessed data resides in the processor cache.

Degree

thesis:*
Grantor dc:publisher
EPFL
Year dc:date
2019

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Psaropoulos, Georgios
Contributors dc:contributor
  • Ailamaki, Anastasia

Subjects

dc:subject × 10

Rights

Language dc:language
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
EPFL
Base URL
infoscience.epfl.ch/server/oai/openaire4
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Psaropoulos, Georgios. Improving Main-memory Database System Performance through Cooperative Multitasking. EPFL, 2019. https://doi.org/10.5075/epfl-thesis-9712