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.)
Exportado de SIDERAL (2025-10-17-14:12:23)


Visitas y descargas

Este artículo se encuentra en las siguientes colecciones:
articulos > articulos-por-area > arquitectura_y_tecnologia_de_computadores



 Notice créée le 2025-05-16, modifiée le 2025-10-17


Versión publicada:
 PDF
Évaluer ce document:

Rate this document:
1
2
3
 
(Pas encore évalué)