Christian Hakert
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Christian Hakert has a total of 57 co-authors. Here are the top co-authors by number of shared publications:
- Jian-Jia Chen
TU Dortmund University, Dortmund, Germany
15 shared publications - Kuan-Hsun Chen
University of Twente
12 shared publications - Jorg Henkel
Karlsruhe Institute of Technology (KIT), Chair for Embedded Systems (CES), Karlsruhe, Germany
5 shared publications - Lars Bauer
Ubitium GmbH
5 shared publications - Hassan Nassar
Department of Computer Science, Karlsruhe Institute of Technology
3 shared publications - Lokesh Siddhu
Chair for Embedded Systems, Karlsruhe Institute of Technology, Karlsruhe, Germany
3 shared publications
Latest Publications
- Open Access
- 23 March 2026
- Published by Association for Computing Machinery (ACM)
- p. 342-348
Sustaining Bε-Tree Efficiency on Single-Access-Port Racetrack Memory in Cyber-Physical System
Energy efficiency is a paramount design constraint for modern Cyber-Physical Systems (CPS), which often operate under stringent power limitations. In these systems, memory is a major contributor to overall power consumption. Racetrack Memory (RTM) stands out as an excellent choice to meet these demands, offering exceptional energy efficiency and high storage density. These features make RTM a compelling memory solution for power-sensitive CPS and embedded applications that need to manage large volumes of data. To achieve high storage density, RTM can be manufactured in either two (2D) or three dimensions (3D) with access ports on racetracks for data reads and writes. High-density RTM boosts capacity by using more domain walls per track or smaller skyrmions for data bits. However, this pursuit of density introduces a challenge with data access. In 2D designs, the sizable injector required for each access port becomes the dominant area overhead, making the elimination of extra ports essential for scaling. This constraint becomes absolute in 3D RTM, where every racetrack is inherently limited to a single access port. Such single-access-port configuration breaks data-indexing schemes tuned for previous multi-access-port access, undermining the balance that Bε-trees normally strike between B-tree-style query latency and Log-Structured Merge-tree insertion throughput. This work introduces RTMε-Tree, a placement-aware adaptation that restructures node buffers, flush order, and key layout so that batched updates and range queries remain efficient through only one access port on RTM. Benchmark-driven evaluation shows that RTMε-Tree cuts the accumulated latency by an average of 71.18% and 15.71% versus the naïve mapping and the ShiftsReduce method, respectively, demonstrating that careful placement and buffering can preserve Bε-tree advantages even under the single-port constraint that limits both 2D and 3D RTM.
- 23 March 2026
- Published by Association for Computing Machinery (ACM)
- p. 342-348
Open AccessSustaining Bε-Tree Efficiency on Single-Access-Port Racetrack Memory in Cyber-Physical System
Energy efficiency is a paramount design constraint for modern Cyber-Physical Systems (CPS), which often operate under stringent power limitations. In these systems, memory is a major contributor to overall power consumption. Racetrack Memory (RTM) stands out as an excellent choice to meet these demands, offering exceptional energy efficiency and high storage density. These features make RTM a compelling memory solution for power-sensitive CPS and embedded applications that need to manage large volumes of data. To achieve high storage density, RTM can be manufactured in either two (2D) or three dimensions (3D) with access ports on racetracks for data reads and writes. High-density RTM boosts capacity by using more domain walls per track or smaller skyrmions for data bits. However, this pursuit of density introduces a challenge with data access. In 2D designs, the sizable injector required for each access port becomes the dominant area overhead, making the elimination of extra ports essential for scaling. This constraint becomes absolute in 3D RTM, where every racetrack is inherently limited to a single access port. Such single-access-port configuration breaks data-indexing schemes tuned for previous multi-access-port access, undermining the balance that Bε-trees normally strike between B-tree-style query latency and Log-Structured Merge-tree insertion throughput. This work introduces RTMε-Tree, a placement-aware adaptation that restructures node buffers, flush order, and key layout so that batched updates and range queries remain efficient through only one access port on RTM. Benchmark-driven evaluation shows that RTMε-Tree cuts the accumulated latency by an average of 71.18% and 15.71% versus the naïve mapping and the ShiftsReduce method, respectively, demonstrating that careful placement and buffering can preserve Bε-tree advantages even under the single-port constraint that limits both 2D and 3D RTM.
- Open Access
- 16 October 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Embedded Systems Letters
- Vol. 17 (5) , 309-312
WCET-Aware Partitioning and Allocation of Disaggregated Networks for Multicore Systems
The integration of machine learning into safety-critical cyber-physical systems has significantly increased computational demands, which are often met by modern multicore platforms. While complex memory subsystems, including local caches, make it challenging to maintain timing predictability, they also provide opportunities for worst-case execution time (WCET) optimization through improved data locality. To address this, we propose a multicore partitioning and allocation strategy that leverages sparse structures through neural network disaggregation to optimize the WCET. Our evaluation shows that disaggregated neural networks achieve a significantly reduced WCET, compared to fully connected monolithic neural networks of similar size.
- 16 October 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Embedded Systems Letters
- Vol. 17 (5) , 309-312
Open AccessWCET-Aware Partitioning and Allocation of Disaggregated Networks for Multicore Systems
The integration of machine learning into safety-critical cyber-physical systems has significantly increased computational demands, which are often met by modern multicore platforms. While complex memory subsystems, including local caches, make it challenging to maintain timing predictability, they also provide opportunities for worst-case execution time (WCET) optimization through improved data locality. To address this, we propose a multicore partitioning and allocation strategy that leverages sparse structures through neural network disaggregation to optimize the WCET. Our evaluation shows that disaggregated neural networks achieve a significantly reduced WCET, compared to fully connected monolithic neural networks of similar size.
- Open Access
- 26 September 2025
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 24 (5s) , 1-25
LazyTick: Lazy and Efficient Management of Job Release in Real-Time Operating Systems
Releasing jobs and performing scheduling decisions in real-time operating systems (RTOSes) is often realized within tick interrupts. In each tick interrupt, a set of tasks that are waiting to release new jobs, namely, the waiting set, is inspected to determine the jobs that should be released at this tick. Such a waiting set is sorted whenever a job has finished, by which the release process can be efficiently achieved. However, the overhead of sorting can vary vastly depending on the task set, which has to be taken into account in the worst-case timing analysis. Moreover, the tick interrupt in common practices is backed by a single hardware timer that is configured to trigger interrupts, either with a fixed period or reconfigured to the next release time (so-called one-shot timer). Since not necessarily at every interrupt a job will be released, several tick interrupts might be redundant. For the one-shot timers, the reconfiguration during runtime also incurs overheads at a variable interval. To reduce such variability and amount of overhead, in this work, we propose LazyTick which partitions the task set and distributes the subsets over multiple timers. Specifically, we propose two job release procedures with constant operations overhead—one for harmonic task sets and one for non-harmonic task sets. We implemented the support for multiple hardware timers in FreeRTOS and conducted intensive experimental evaluations. The evaluation shows that LazyTick can reduce the variability in overhead by up to ≈ 5 × in peak and ≈ 3× on average in comparison to the default implementation. Additionally, the combined overhead of the job release process is reduced by up to ≈ 6.1 × in peak and ≈ 3.6× on average.
- 26 September 2025
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 24 (5s) , 1-25
Open AccessLazyTick: Lazy and Efficient Management of Job Release in Real-Time Operating Systems
Releasing jobs and performing scheduling decisions in real-time operating systems (RTOSes) is often realized within tick interrupts. In each tick interrupt, a set of tasks that are waiting to release new jobs, namely, the waiting set, is inspected to determine the jobs that should be released at this tick. Such a waiting set is sorted whenever a job has finished, by which the release process can be efficiently achieved. However, the overhead of sorting can vary vastly depending on the task set, which has to be taken into account in the worst-case timing analysis. Moreover, the tick interrupt in common practices is backed by a single hardware timer that is configured to trigger interrupts, either with a fixed period or reconfigured to the next release time (so-called one-shot timer). Since not necessarily at every interrupt a job will be released, several tick interrupts might be redundant. For the one-shot timers, the reconfiguration during runtime also incurs overheads at a variable interval. To reduce such variability and amount of overhead, in this work, we propose LazyTick which partitions the task set and distributes the subsets over multiple timers. Specifically, we propose two job release procedures with constant operations overhead—one for harmonic task sets and one for non-harmonic task sets. We implemented the support for multiple hardware timers in FreeRTOS and conducted intensive experimental evaluations. The evaluation shows that LazyTick can reduce the variability in overhead by up to ≈ 5 × in peak and ≈ 3× on average in comparison to the default implementation. Additionally, the combined overhead of the job release process is reduced by up to ≈ 6.1 × in peak and ≈ 3.6× on average.
- Open Access
- 18 June 2025
- Published by Springer Nature in Real-Time Systems
- Vol. 61 (2) , 311-319
Timely ML
We propose two complementary research directions, “Time for ML” and “ML for Time”, that we believe to be critical for the deployment of machine-learning (ML) applications in time-sensitive applications. “Time for ML” refers to ML systems that are aware of and can adapt to dynamic time constraints regarding their execution, while “ML for Time” refers to ML systems that are aware of and can deal with data’s temporal aspects, such as misalignment. We believe these two directions are complementary and can be combined to provide more robust and reliable machine learning systems.
- 18 June 2025
- Published by Springer Nature in Real-Time Systems
- Vol. 61 (2) , 311-319
Open AccessTimely ML
We propose two complementary research directions, “Time for ML” and “ML for Time”, that we believe to be critical for the deployment of machine-learning (ML) applications in time-sensitive applications. “Time for ML” refers to ML systems that are aware of and can adapt to dynamic time constraints regarding their execution, while “ML for Time” refers to ML systems that are aware of and can deal with data’s temporal aspects, such as misalignment. We believe these two directions are complementary and can be combined to provide more robust and reliable machine learning systems.
- Open Access
CHRONOS: Compensating Hardware Related Overheads with Native Multi Timer Support for Real-Time Operating Systems
The management of timing constraints in a real-time operating system (RTOS) is usually realized through a global tick counter. This counter acts as the foundational time unit for all tasks in the systems. In order to establish a connection between a tick and an amount of elapsed time in the real world, often this tick counter is periodically incremented by a hardware timer. At a fixed interval, this timer generates an interrupt that increments the counter. In an RTOS, jobs can only become ready upon a timer tick. That means, during a tick interrupt, the tick counter will be incremented, jobs will be released, and potentially, a scheduling decision will be conducted to select a new job to be run. As this process naturally uses some processing time, it is beneficial regarding the system utilization to minimize the time spent in tick interrupts. In modern microcontrollers, multiple hardware timers are often available. To utilize multiple timers to reduce the overhead caused by tick interrupts, multiple methods are introduced in this paper. The number of interrupts that are triggered by these timers can then be reduced by mapping tasks to timers in such a manner that the greatest common divisor (GCD) of all task periods in a subset is maximized, and the GCD is adopted as the interrupt interval of the timer. To find an optimal mapping of tasks to timers, an MIQCP-model is presented that minimizes the overall number of tick interrupts that occur in a system, while ensuring a correct task release behavior. The presented methods are implemented in FreeRTOS and evaluated on an embedded system. The evaluation of the methods show, that compared to the baseline implementation in FreeRTOS that uses a single timer with a fixed period, the presented methods can provide a significant reduction in overhead of up to $\approx10\times$ in peak and up to $\approx 6\times$ in average.Open AccessCHRONOS: Compensating Hardware Related Overheads with Native Multi Timer Support for Real-Time Operating Systems
The management of timing constraints in a real-time operating system (RTOS) is usually realized through a global tick counter. This counter acts as the foundational time unit for all tasks in the systems. In order to establish a connection between a tick and an amount of elapsed time in the real world, often this tick counter is periodically incremented by a hardware timer. At a fixed interval, this timer generates an interrupt that increments the counter. In an RTOS, jobs can only become ready upon a timer tick. That means, during a tick interrupt, the tick counter will be incremented, jobs will be released, and potentially, a scheduling decision will be conducted to select a new job to be run. As this process naturally uses some processing time, it is beneficial regarding the system utilization to minimize the time spent in tick interrupts. In modern microcontrollers, multiple hardware timers are often available. To utilize multiple timers to reduce the overhead caused by tick interrupts, multiple methods are introduced in this paper. The number of interrupts that are triggered by these timers can then be reduced by mapping tasks to timers in such a manner that the greatest common divisor (GCD) of all task periods in a subset is maximized, and the GCD is adopted as the interrupt interval of the timer. To find an optimal mapping of tasks to timers, an MIQCP-model is presented that minimizes the overall number of tick interrupts that occur in a system, while ensuring a correct task release behavior. The presented methods are implemented in FreeRTOS and evaluated on an embedded system. The evaluation of the methods show, that compared to the baseline implementation in FreeRTOS that uses a single timer with a fixed period, the presented methods can provide a significant reduction in overhead of up to $\approx10\times$ in peak and up to $\approx 6\times$ in average. - Open Access
Realizing Hardware-Optimized General Tree-Based Data Structures for Heterogeneous System Classes
Tree-based data structures are ubiquitous across applications. Therefore, a multitude of different tree implementations exist. However, while these implementations are diverse, they share a tree structure as the underlying data structure. As such, the access patterns inside these trees are very similar, following a path from the root of the tree towards a leaf node. Similarly, many distinct types of memory exist. These types of memory all have different characteristics. Some of these have an impact on the overall system performance. While the concrete types of memory are varied, their characteristics can often be abstracted to have a similar effect on the performance. We show how the characteristics of different types of memories can be used to improve the performance of tree-based data structures. By reordering the nodes of a tree inside memory, the characteristics of memory can be exploited to optimize the performance. To this end, this paper presents different strategies for reordering nodes inside memory as well as efficient algorithms for realizing these strategies. It additionally provides strategies to decide when such a reordering operation should be triggered during operation. Further, this paper conducts experiments showing the performance impact of the proposed strategies. The experiments show that the strategies can improve the performance of trees by up to 95\% as offline optimization and 75\% as online optimization.
Open AccessRealizing Hardware-Optimized General Tree-Based Data Structures for Heterogeneous System Classes
Tree-based data structures are ubiquitous across applications. Therefore, a multitude of different tree implementations exist. However, while these implementations are diverse, they share a tree structure as the underlying data structure. As such, the access patterns inside these trees are very similar, following a path from the root of the tree towards a leaf node. Similarly, many distinct types of memory exist. These types of memory all have different characteristics. Some of these have an impact on the overall system performance. While the concrete types of memory are varied, their characteristics can often be abstracted to have a similar effect on the performance. We show how the characteristics of different types of memories can be used to improve the performance of tree-based data structures. By reordering the nodes of a tree inside memory, the characteristics of memory can be exploited to optimize the performance. To this end, this paper presents different strategies for reordering nodes inside memory as well as efficient algorithms for realizing these strategies. It additionally provides strategies to decide when such a reordering operation should be triggered during operation. Further, this paper conducts experiments showing the performance impact of the proposed strategies. The experiments show that the strategies can improve the performance of trees by up to 95\% as offline optimization and 75\% as online optimization.
- Open Access
- 27 October 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-8
Co-Designing NVM-based Systems for Machine Learning and In-memory Search Applications
- 27 October 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-8
Open AccessCo-Designing NVM-based Systems for Machine Learning and In-memory Search Applications
- Open Access
- 20 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 58-61
Language-Based Deployment Optimization for Random Forests (Invited Paper)
Arising popularity for resource-efficient machine learning models makes random forests and decision trees famous models in recent years. Naturally, these models are tuned, optimized, and transformed to feature maximally low-resource consumption. A subset of these strategies targets the model structure and model logic and therefore induces a trade-off between resource-efficiency and prediction performance. An orthogonal set of approaches targets hardware-specific optimizations, which can improve performance without changing the behavior of the model. Since such hardware-specific optimizations are usually hardware-dependent and inflexible in their realizations, this paper envisions a more general application of such optimization strategies at the level of programming languages. We therefore discuss a set of suitable optimization strategies first in general and envision their application in LLVM IR, i.e. a flexible and hardware-independent ecosystem.
- 20 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 58-61
Open AccessLanguage-Based Deployment Optimization for Random Forests (Invited Paper)
Arising popularity for resource-efficient machine learning models makes random forests and decision trees famous models in recent years. Naturally, these models are tuned, optimized, and transformed to feature maximally low-resource consumption. A subset of these strategies targets the model structure and model logic and therefore induces a trade-off between resource-efficiency and prediction performance. An orthogonal set of approaches targets hardware-specific optimizations, which can improve performance without changing the behavior of the model. Since such hardware-specific optimizations are usually hardware-dependent and inflexible in their realizations, this paper envisions a more general application of such optimization strategies at the level of programming languages. We therefore discuss a set of suitable optimization strategies first in general and envision their application in LLVM IR, i.e. a flexible and hardware-independent ecosystem.
- Open Access
Register Your Forests: Decision Tree Ensemble Optimization by Explicit CPU Register Allocation
Bringing high-level machine learning models to efficient and well-suited machine implementations often invokes a bunch of tools, e.g.~code generators, compilers, and optimizers. Along such tool chains, abstractions have to be applied. This leads to not optimally used CPU registers. This is a shortcoming, especially in resource constrained embedded setups. In this work, we present a code generation approach for decision tree ensembles, which produces machine assembly code within a single conversion step directly from the high-level model representation. Specifically, we develop various approaches to effectively allocate registers for the inference of decision tree ensembles. Extensive evaluations of the proposed method are conducted in comparison to the basic realization of C code from the high-level machine learning model and succeeding compilation. The results show that the performance of decision tree ensemble inference can be significantly improved (by up to $\approx1.6\times$), if the methods are applied carefully to the appropriate scenario.
Open AccessRegister Your Forests: Decision Tree Ensemble Optimization by Explicit CPU Register Allocation
Bringing high-level machine learning models to efficient and well-suited machine implementations often invokes a bunch of tools, e.g.~code generators, compilers, and optimizers. Along such tool chains, abstractions have to be applied. This leads to not optimally used CPU registers. This is a shortcoming, especially in resource constrained embedded setups. In this work, we present a code generation approach for decision tree ensembles, which produces machine assembly code within a single conversion step directly from the high-level model representation. Specifically, we develop various approaches to effectively allocate registers for the inference of decision tree ensembles. Extensive evaluations of the proposed method are conducted in comparison to the basic realization of C code from the high-level machine learning model and succeeding compilation. The results show that the performance of decision tree ensemble inference can be significantly improved (by up to $\approx1.6\times$), if the methods are applied carefully to the appropriate scenario.
- 25 September 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Embedded Systems Letters
- Vol. 15 (4) , 234-237
Swift-CNN: Leveraging PCM Memory’s Fast Write Mode to Accelerate CNNs
Non-volatile memories (especially phase change memories, PCM) offer scalability and higher density. However, reduced write performance has limited their use as main memory. Researchers have explored using the fast write mode available in PCM to alleviate the challenges. The fast write mode offers lower write latency and energy consumption. However, the fast-written data are retained for a limited time and need to be refreshed. Prior works perform fast writes when the memory is busy and use slow writes to refresh the data during memory idle phases. Such policies do not consider the retention time requirement of a variable and repeat all the writes made during the busy phase. In this work, we suggest a retention-time-aware selection of write modes. As a case study, we use Convolutional Neural Networks (CNNs) and present a novel algorithm, Swift-CNN, that assesses each CNN layer’s memory access behavior and retention time requirement and suggests an appropriate PCM write mode. Our results show that Swift-CNN decreases inference and training execution time and memory energy compared to state-of-the-art techniques and achieves execution time close to the ideal (fast write-only) policy.
- 25 September 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Embedded Systems Letters
- Vol. 15 (4) , 234-237
Swift-CNN: Leveraging PCM Memory’s Fast Write Mode to Accelerate CNNs
Non-volatile memories (especially phase change memories, PCM) offer scalability and higher density. However, reduced write performance has limited their use as main memory. Researchers have explored using the fast write mode available in PCM to alleviate the challenges. The fast write mode offers lower write latency and energy consumption. However, the fast-written data are retained for a limited time and need to be refreshed. Prior works perform fast writes when the memory is busy and use slow writes to refresh the data during memory idle phases. Such policies do not consider the retention time requirement of a variable and repeat all the writes made during the busy phase. In this work, we suggest a retention-time-aware selection of write modes. As a case study, we use Convolutional Neural Networks (CNNs) and present a novel algorithm, Swift-CNN, that assesses each CNN layer’s memory access behavior and retention time requirement and suggests an appropriate PCM write mode. Our results show that Swift-CNN decreases inference and training execution time and memory energy compared to state-of-the-art techniques and achieves execution time close to the ideal (fast write-only) policy.