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: Artículo (Versión definitiva)
Área (Departamento): Área Arquit.Tecnología Comput. (Dpto. Informát.Ingenie.Sistms.)

Creative Commons Debe reconocer adecuadamente la autoría, proporcionar un enlace a la licencia e indicar si se han realizado cambios. Puede hacerlo de cualquier manera razonable, pero no de una manera que sugiera que tiene el apoyo del licenciador o lo recibe por el uso que hace.


Exportado de SIDERAL (2025-05-16-12:25:54)


Visitas y descargas

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



 Registro creado el 2025-05-16, última modificación el 2025-05-16


Versión publicada:
 PDF
Valore este documento:

Rate this document:
1
2
3
 
(Sin ninguna reseña)