Code specialization for red-black tree management algorithms - CEA - Commissariat à l’énergie atomique et aux énergies alternatives Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Code specialization for red-black tree management algorithms

Résumé

A lot of work is spent on low-level optimization for regular computations; from instruction scheduling and cache-aware design to intensive use of SIMD instructions. Meanwhile, irregular applications, especially pointer intensive ones, are often only optimized at algorithm or compilation levels, since not so much hardware or dedicated instructions are available for this kind of code. In this paper, we investigate a low-level optimization of associative arrays intensively used in complex applications such as dynamic compilers, using self-modifying code. We propose to encode Red-Black trees, widely used to implement asssociative arrays, as specialized binary code rather than data, in order to accelerate the tree traversal by taking advantage of the underlying hardware: program cache, processor fetch and decode. We show a 45% gain on an ARM Cortex-A9 processor and that we transfer most of the data-cache pressure to the program-cache, motivating future work on dedicated hardware. Copyright
Fichier non déposé

Dates et versions

cea-01818893 , version 1 (19-06-2018)

Identifiants

Citer

A. Carbon, Y. Lhuillier, H.-P. Charles. Code specialization for red-black tree management algorithms. ADAPT '13 Proceedings of the 3rd International Workshop on Adaptive Self-Tuning Computing Systems, Jan 2013, Berlin, Germany. ⟨10.1145/2484904.2484910⟩. ⟨cea-01818893⟩
31 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More