Model-based cache-aware dispatching of object-oriented software for multicore systems

Tolga Ovatman*, Feza Buzluca

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

2 Citations (Scopus)


In recent years, processor technology has evolved towards multicore processors, which include multiple processing units (cores) in a single package. Those cores, having their own private caches, often share a higher level cache memory dedicated to each processor die. This multi-level cache hierarchy in multicore processors raises the importance of cache utilization problem. Assigning parallel-running software components with common data to processor cores that do not share a common cache increases the number of cache misses. In this paper we present a novel approach that uses model-based information to guide the OS scheduler in assigning appropriate core affinities to software objects at run-time. We build graph models of software and cache hierarchies of processors and devise a graph matcher algorithm that provides mapping between these two graphs. Using this mapping we obtain candidate core sets that each software object can be affiliated with at run-time. These affiliations are determined based on the idea that software components that have the potential to share common data at run-time should run on cores that share a common cache. We also develop an object dispatcher algorithm that keeps track of object affiliations at run-time and dispatches objects by using the information from the compile-time graph matcher. We apply our approach on design pattern implementations and two different application program running on servers using CFS scheduling. Our results show that cache-aware dispatching based on information obtained from software model, decreases number of cache misses significantly and improves CFS' scheduling performance.

Original languageEnglish
Pages (from-to)2754-2770
Number of pages17
JournalJournal of Systems and Software
Issue number11
Publication statusPublished - Nov 2013


  • Cache-aware object dispatching
  • Model-based scheduling
  • Object-oriented design for multicore systems


Dive into the research topics of 'Model-based cache-aware dispatching of object-oriented software for multicore systems'. Together they form a unique fingerprint.

Cite this