Now showing1 - 7 of 7
  • Some of the metrics are blocked by your 
    Item type:Publication,
    Work in progress : optimizing schedulability using cache-bypassing
    (IEEE, 2025-05) ;
    We present an optimization technique to improve system schedulability using selective cache bypassing. By allocating parts of the application to uncached memory sections during compilation, context-switching costs and intra-task cache interference are reduced, leading to improved schedulability. We compare the performance of simulated annealing and the strength pareto evolutionary algorithm (SPEA) for the optimization problem. Our evaluation demonstrates an increase in schedulability by up to 20 percentage points using SPEA.
    Publicationtype: Conference Paper
      8
  • Some of the metrics are blocked by your 
    Item type:Publication, Access status: with files ,
    Analyzing the worst-case behavior of multi-level caches in concurrent real-time systems
    This thesis tackles the analysis of the worst-case timing behavior of hard real-time systems featuring multi-level cache hierarchies. First, an analysis of inter-core cache interference in multi-core systems is presented. Second, an analysis of context-switching costs for non-inclusive cache hierarchies is presented, and flaws in the previous state-of-the-art analysis are identified. The evaluations of both analyses show that, in many situations, analysis precision is significantly improved compared to the previous state-of-the-art. Finally, an optimization to improve schedulability using cache bypassing is presented.
    Publicationtype: Doctoral Thesis
      84  48
  • Some of the metrics are blocked by your 
    Item type:Publication, Access status: with files ,
    Towards analysing cache-related preemption delay in non-inclusive cache hierarchies
    (Association for Computing Machinery (ACM), 2024-10-05) ;
    The impact of preemptions has to be considered when determining the schedulability of a task set in a preemptively scheduled system. In particular, the contents of caches can be disturbed by a preemption, thus creating context-switching costs. These context-switching costs occur when a preempted task needs to reload data from memory after a preemption. The additional delay created by this effect is termed cache-related preemption delay (CRPD). The analysis of CRPD has been extensively studied for single-level caches in the past. However, for two-level caches, the analysis of CRPD is still an emerging area of research. In contrast to a single-level cache, which is only affected by direct preemption effects, the second-level cache in a two-level hierarchy can be subject to indirect interference after a preemption. Accesses that could be served from the L1 cache in the absence of preemptions, may be forwarded to the L2 cache, as the relevant data was evicted by a preemption. These accesses create the indirect interference in the L2 cache and can cause further evictions. Recently, a CRPD analysis for two-level non-inclusive cache hierarchies was proposed. In this article, we show that this state-of-the-art analysis is unsafe as it potentially underestimates the CRPD. Furthermore, we show that the analysis is pessimistic and can overestimate the indirect preemption effects. To address these issues, we propose a novel analysis approach for the CRPD in a two-level non-inclusive cache hierarchy. We prove the correctness of the presented approach based on the set of feasible program execution traces. We implemented the presented approach in a worst-case execution time (WCET) analysis tool and compared the performance to existing analysis methods. Our evaluation shows that the presented analysis increases task set schedulability by up to 14 percentage points compared with the state-of-the-art analysis.
    Publicationtype: Journal Article
      8  12
  • Some of the metrics are blocked by your 
    Item type:Publication, Access status: with files ,
    Timing-aware analysis of shared cache interference for non-preemptive scheduling
    (Springer, 2024-09-30) ;
    In multi-core architectures, the last-level cache (LLC) is often shared between cores. Sharing the LLC leads to inter-core interference, which impacts system performance and predictability. This means that tasks running in parallel on different cores may experience additional LLC misses as they compete for cache space. To compute a task’s worst-case execution time (WCET), a safe bound on the inter-core cache interference has to be determined. We propose an interference analysis for set-associative shared least-recently-used caches. The analysis leverages timing information to establish tight bounds on the worst-case interference and classifies individual accesses as either cache hits or potential cache misses. We evaluated the analysis performance for systems containing 2 and 4 cores using shared caches up to 64 KB. The evaluation shows an average WCET reduction of up to 23.3% for dual-core systems and 8.5% for quad-core systems.
    Publicationtype: Journal Article
      10  14
  • Some of the metrics are blocked by your 
    Item type:Publication,
    Shared cache analysis under preemptive scheduling
    (IEEE, 2024) ;
    When sharing a cache between multiple cores, the inter-core interference has to be considered in the worst-case execution time (WCET) analysis. Current interference models are overly pessimistic or not applicable to preemptively scheduled systems. We propose a novel technique to model interference in a preemptive system to classify accesses as cache hits or potential misses. We account for inter-core interference by considering the potential execution scenarios on the interfering core and find the worst-case interference pattern. The resulting access classifications are then used to compute the cache-related preemption delay. Our evaluation shows that the proposed analysis significantly increases the cache hit classifications, reduces WCET on average by up to 11.7%, and reduces worst-case response times on average by up to 15.4% compared to the existing classification technique.
    Publicationtype: Conference Paper
      31
  • Some of the metrics are blocked by your 
    Item type:Publication, Access status: with files ,
    Analysis of shared cache interference in multi-core systems using event-arrival curves
    (Association for Computing Machinery (ACM), 2023-06) ;
    Caches are used to bridge the gap between main memory and the significantly faster processor cores. In multi-core architectures, the last-level cache is often shared between cores. However, sharing a cache causes inter-core interference to emerge. Concurrently running tasks will experience additional cache misses as the competing tasks issue interfering accesses and trigger the eviction of data contained in the shared cache. Thus, to compute a task’s worst-case execution time (WCET), a safe bound on the effects of inter-core cache interference has to be determined. In this paper, we propose a novel analysis approach for shared caches using the least recently used (LRU) replacement policy. The presented analysis leverages timing information to produce tight bounds on the worst-case interference. We describe how inter-core cache interference may be expressed as a function of time using event-arrival curves. Thus, by determining the maximal duration between subsequent accesses to a cache block, it is possible to bound the inter-core interference. This enables us to classify accesses as cache hits or potential misses. We implemented the analysis in a WCET analyzer and evaluated its performance for multi-core systems containing 2, 4, and 8 cores using shared caches from 4 KB to 32 KB. The analysis achieves significant improvements compared to a standard interference analysis with WCET reductions of up to 60%. The average WCET reduction is 9% for dual-core, 15% for quad-core, and 11% for octa-core systems. The analysis runtime overhead ranges from a factor of 4× to 7× compared to the baseline analysis.
    Publicationtype: Conference Paper
      104  678
  • Some of the metrics are blocked by your 
    Item type:Publication,
    WCET Analysis of shared caches in multi-core architectures using event-arrival curves
    (IEEE, 2023) ;
    We propose a novel analysis approach for shared LRU caches to classify accesses as definitive cache hits or potential misses. In this approach inter-core cache interference is modelled as an event stream. Thus, by analyzing the timing between subsequent accesses to a particular cache block, it is possible to bound the inter-core interference. This perspective allows us to classify accesses as cache hits or potential misses using a data-flow analysis. We compare the performance of the presented approach to a partitioning of the shared cache.
    Publicationtype: Conference Paper
      14