Minimizing the energy consumption of (pseudo) random number generators in the low-level language zig
Identificadores
URI: https://hdl.handle.net/10481/97301Metadata
Show full item recordMateria
random number generators metaheuristics zig RNGs
Date
2024-11-24Sponsorship
This work is supported by the Ministerio espa\~{n}ol de Econom\'{\i}a y Competitividad (Spanish Ministry of Competitivity and Economy) under project PID2020-115570GB-C22 (DemocratAI::UGR), as well as PID2023-147409NB-C22.Abstract
Pseudo random number generators are an essential part of every machine learning or metaheuristic algorithm. Even if every call will not, by itself, consume a large amount of energy, they are invoked so many times in any algorithm implementation that their consumption will add up to a significant amount, impacting overall consumption in several percentage points. In this poster we will examine what the energy consumption is, as well as the number of random number generated per joule, that can be achieved by different random number generators implemented in low-level languages. Our conclusion is that there can be a factor of two difference between the one that consumes the largest and the least amount of energy.