Ideal and predictable hit ratio for matrix transposition in data caches
Resumen: Matrix transposition is a fundamental operation, but it may present a very low and hardly predictable data cache hit ratio for large matrices. Safe (worst-case) hit ratio predictability is required in real-time systems. In this paper, we obtain the relations among the cache parameters that guarantee the ideal (predictable) data hit ratio assuming a Least-Recently-Used (LRU) data cache. Considering our analytical assessments, we compare a tiling matrix transposition to a cache oblivious algorithm, modified with phantom padding to improve its data hit ratio. Our results show that, with an adequate tile size, the tiling version results in an equal or better data hit ratio. We also analyze the energy consumption and execution time of matrix transposition on real hardware with pseudo-LRU (PLRU) caches. Our analytical hit/miss assessment enables the usage of a data cache for matrix transposition in real-time systems, since the number of misses in the worst case is bound. In general and high-performance computation, our analysis enables us to restrict the cache resources devoted to matrix transposition with no negative impact, in order to reduce both the energy consumption and the pollution to other computations.
Idioma: Inglés
DOI: 10.3390/math8020184
Año: 2020
Publicado en: Mathematics 8, 2 (2020), 184 [23 pp.]
ISSN: 2227-7390

Factor impacto JCR: 2.258 (2020)
Categ. JCR: MATHEMATICS rank: 24 / 330 = 0.073 (2020) - Q1 - T1
Factor impacto SCIMAGO: 0.495 - Mathematics (miscellaneous) (Q2)

Financiación: info:eu-repo/grantAgreement/ES/AEI-FEDER/TIN2016-76635-C2-1-R
Financiación: info:eu-repo/grantAgreement/ES/DGA/T58-17R
Financiación: info:eu-repo/grantAgreement/ES/MEC/FPU14-02463
Tipo y forma: Article (Published version)
Área (Departamento): Área Arquit.Tecnología Comput. (Dpto. Informát.Ingenie.Sistms.)

Creative Commons You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.


Exportado de SIDERAL (2025-10-17-14:12:23)


Visitas y descargas

Este artículo se encuentra en las siguientes colecciones:
Articles > Artículos por área > Arquitectura y Tecnología de Computadores



 Record created 2025-05-16, last modified 2025-10-17


Versión publicada:
 PDF
Rate this document:

Rate this document:
1
2
3
 
(Not yet reviewed)