To content
Department of Computer Science

MxKernel: A Novel System Software Stack for Data Processing on Modern Hardware

Title

MxKernel: A Novel System Software Stack for Data Processing on Modern Hardware

Authors

Jan Mühlig, Michael Müller, Olaf Spinczyk, Jens Teubner

Published

Datenbank Spektrum (2020)

Abstract

Emerging hardware platforms are characterized by large degrees of parallelism, complex memory hierarchies, and increasing hardware heterogeneity. Their theoretical peak data processing performance can only be unleashed if the different pieces of systems software collaborate much more closely and if their traditional dependencies and interfaces are redesigned.

We have developed the key concepts and a prototype implementation of a novel system software stack named MxKernel. For MxKernel, efficient large scale data processing capabilities are a primary design goal. To achieve this, heterogeneity and parallelism become first-class citizens and deep memory hierarchies are considered from the very beginning. Instead of a classical “thread” model, MxKernel provides a simpler control flow abstraction: MxTasks model closed units of work, for which MxKernel will guarantee the required execution semantics, such exclusive access to a specific object in memory. They can be a very elegant abstraction also for heterogeneity and resource sharing. Furthermore, MxTasks are annotated with metadata, such as code variants (to support heterogeneity), memory access behavior (to improve cache efficiency and support memory hierarchies), or dependencies between MxTasks (to improve scheduling and avoid synchronization cost). With precisely the required metadata available, MxKernel can provide a lightweight, yet highly efficient form of resource management, even across applications, operating system, and database.

Based on the MxKernel prototype we present preliminary results from this ambitious undertaking. We argue that threads are an ill-suited control flow abstraction for our modern computer architectures and that a task-based execution model is to be favored.

Download

From Springer Link