IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v16y2023i17p6290-d1228344.html
   My bibliography  Save this article

Time–Energy Correlation for Multithreaded Matrix Factorizations

Author

Listed:
  • Beata Bylina

    (Institute of Computer Science, Maria Curie-Sklodowska University, Pl. M. Curie-Skłodowskiej 5, 20-031 Lublin, Poland
    Current address: Department of Information Systems Software, Institute of Computer Science, Faculty of Mathematics, Physics and Computer Science, Pl. M. Curie-Skłodowskiej 5, 20-031 Lublin, Poland.
    These authors contributed equally to this work.)

  • Monika Piekarz

    (Institute of Computer Science, Maria Curie-Sklodowska University, Pl. M. Curie-Skłodowskiej 5, 20-031 Lublin, Poland
    These authors contributed equally to this work.)

Abstract

The relationship between time and energy is an important aspect related to energy savings in modern multicore architectures. In this paper, we investigated and analyzed the correlation between time and energy. We compared the execution time and energy consumption of the LU factorization algorithms (versions with and without pivoting) and Cholesky with the Math Kernel Library (MKL) on a multicore machine. To reduce the energy of these multithreaded factorizations, the Dynamic Voltage and Frequency Scaling (DVFS) technique was used. This technique allows the clock frequency to be scaled without changing the implementation. In particular, we studied the correlations between time and energy using two metrics: Energy Delay Product (EDP) and Greenup, Powerup, and Speedup (GPS-UP). An experimental evaluation was performed on an Intel Xeon Gold multicore machine as a function of the number of threads and the clock speed. Our test results showed that scalability in terms of execution time, expressed by the Speedup metric, had values close to a linear function as the number of threads increased. In contrast, the scalability in terms of energy consumption, expressed by the Greenup metric, had values close to a logarithmic function as the number of threads increased. The use of the EDP and GPS-UP metrics allowed us to evaluate the impact of the optimized code (DVFS and increase in the number of threads) on the time and energy consumption and to determine a better green category representing energy savings without losing performance.

Suggested Citation

  • Beata Bylina & Monika Piekarz, 2023. "Time–Energy Correlation for Multithreaded Matrix Factorizations," Energies, MDPI, vol. 16(17), pages 1-15, August.
  • Handle: RePEc:gam:jeners:v:16:y:2023:i:17:p:6290-:d:1228344
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/16/17/6290/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/16/17/6290/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:16:y:2023:i:17:p:6290-:d:1228344. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.