JTJens Teubner

Jens Teubner

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Jens Teubner has a total of 32 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    To stride or not to stride the memory access?

    by Lennart Schmidt, Roland Kühn, Matti Krause, Jens Teubner, Wolfgang Lehner, Dirk Habich


  • Open Access

    MxKernel: A Bare-Metal Runtime System for Database Operations on Heterogeneous Many-Core Hardware

    by Marcel Lütke Dreimann, Jan Mühlig, Michael Müller, Olaf Spinczyk, Jens Teubner

    Large-scale data processing forms the core of modern online services, such as social media and e-commerce, calling for an ever-increasing performance with predictable service quality. Even though emerging hardware platforms can deliver the required performance, actually harnessing it and guaranteeing a certain service quality is still a challenge for application and system software developers. We argue that the major hindrance for applications and system software alike lies in the design of today’s system software architecture. The thread abstraction, for example, hides hardware characteristics, such as the memory topology or accelerators from applications and application behavior from the system software, forcing the latter to base resource management on assumptions while preventing the former from leveraging the potential of modern hardware. We present the as a novel system software architecture with the requirements of modern data-intensive applications in mind. Instead of threads, the provides s as control flows, short, closed units of work that can easily be annotated with application-specific hints giving a glimpse into an application’s future behavior. These hints are used by the to provide automatic synchronization and prefetching, as well as efficient dynamic resource partitioning to ensure performance isolation and the observance of quality of service requirements.


  • Open Access

    How to Be Fast and Not Furious: Looking Under the Hood of CPU Cache Prefetching

    by Roland Kühn, Jan Mühlig, Jens Teubner

    Software-based prefetching is a powerful method for tolerating access penalties that are encountered by data processing systems: memory latency. Although the idea appears straightforward---simply informing the CPU about upcoming data accesses---the intricacies of its implementation remain insufficiently understood. Existing works demonstrate how to rewrite algorithms for prefetching, yet they often overlook the limitations and hardware implications of bringing data into the cache hierarchy. In this paper, we examine software-based prefetching thoroughly by delving into its implementation and identifying pitfalls across various platforms. Furthermore, we provide actionable insights and recommendations for developers seeking to boost their applications through this technique.


  • DB/OS Co-Design in the MxKernel Project

    by Jens Teubner

    Better integrating layers in the system software stack is seen as a promising way to leverage the potential of modern hardware technologies. In my talk I will describe our vision in the MxKernel project to make the co-design of databases and operating systems real. In MxKernel fundamentally change the process abstraction from threads to “tasks.” Tasks represent small units of work, rather than (lengthy) pieces of control flow. This makes them a better abstraction to enrich them with information about application characteristics. In the talk I will illustrate how this enables (a) automatic data prefetching by the task scheduler and (b) synchronization in multi-core environments with less developer effort, yet lower contention during execution.

  • Open Access

    Micro Partitioning: Friendly to the Hardware and the Developer

    by Jan Mühlig, Jens Teubner

    Modern hardware’s complexity has made studying hardware-conscious algorithms a relevant topic for many years. Partitioning algorithms, for instance, break data into bits that fit into fast CPU caches. Unfortunately, they are often challenging to design, develop, and maintain. While hardware-oblivious algorithms are easier to build, they may perform poorly when hardware or data deviate from expectations. In this paper, we introduce micro partitioning, which enhances the partitioning problem in a way that outperforms state-of-the-art solutions while being hardware-agnostic. By storing tuples in a tight address space, micro partitioning creates an access pattern that is friendly to both caches and translation lookaside buffers. We also show how micro partitioning interacts with task-based execution strategies in a symbiotic way, making micro partitioning intuitive to express for developers.


  • Open Access

    Towards Data-Based Cache Optimization of B+-Trees

    by Roland Kühn, Daniel Biebert, Christian Hakert, Jian-Jia Chen, Jens Teubner

    The rise of in-memory databases and systems with considerably large memories and cache sizes requires the rethinking of the proper implementation of index structures like B+-trees in such systems. While disk block-sized nodes and binary search were considered as good in the past, smaller node sizes and cache-friendly linear search within nodes can be noticeably more performant nowadays. Considering the probabilistic distribution of lookup values to the B+-tree as part of a memory-friendly and cache-aware layout is a consequent next step, which is studied in this paper. Favoring frequently visited nodes and paths in the regard of cache hits can improve the overall performance of the tree and, thus, of the entire database system. We provide such an optimized B+-tree layout, which takes the probabilistic distribution of the lookup values as a basis. Experimental evaluation shows that choosing rather small node sizes in combination with our optimization algorithm can improve the performance by up to in comparison to a default baseline.


  • Open Access

    Low-latency query compilation

    by Henning Funke, Jan Mühlig, Jens Teubner

    Query compilation is a processing technique that achieves very high processing speeds but has the disadvantage of introducing additional compilation latencies. These latencies cause an overhead that is relatively high for short-running and high-complexity queries. In this work, we present Flounder IR and ReSQL, our new approach to query compilation. Instead of using a general purpose intermediate representation (e.g., LLVM IR) during compilation, ReSQL uses Flounder IR, which is specifically designed for database processing. Flounder IR is lightweight and close to machine assembly. This simplifies the translation from IR to machine code, which otherwise is a costly translation step. Despite simple translation, compiled queries still benefit from the high processing speeds of the query compilation technique. We analyze the performance of our approach with micro-benchmarks and with ReSQL, which employs a full translation stack from SQL to machine code. We show reductions in compilation times up to two orders of magnitude over LLVM and show improvements in overall execution time for TPC-H queries up to 5.5 $$\times $$ × over state-of-the-art systems.


  • Open Access

    Low-latency compilation of SQL queries to machine code

    by Henning Funke, Jens Teubner

    Query compilation has proven to be one of the most efficient query processing techniques. Despite its fast processing speed, the additional compilation times of the technique limit its applicability. This is because the approach is most beneficial only when the improvements in processing time clearly exceed the additional compilation time. Recently the feasibility of query compilers with very low compilation times has been shown. This may prove query compilation as a merely universal approach. In this article and in the corresponding live demo, we show the capabilities of the ReSQL database system, which uses the intermediate representation Flounder IR to achieve very low compilation times. ReSQL reduces the compilation times from SQL to machine code compared to existing LLVM-based techniques by up to 101.1x for real-world analytic queries.


  • Like water and oil

    by Henning Funke, Jens Teubner

    In response to physical limitations, hardware has changed significantly during the past two decades. As the database community we have no chance but adapt to those changes in order to benefit from these and further hardware advances.