{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,8]],"date-time":"2026-11-08T10:36:11Z","timestamp":1794134171374,"version":"4.8.0"},"reference-count":30,"publisher":"National Library of Serbia","issue":"2","license":[{"start":{"date-parts":[[2025,1,1]],"date-time":"2025-01-01T00:00:00Z","timestamp":1735689600000},"content-version":"unspecified","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["ComSIS","COMPUT SCI INF SYST","COMPUT SCI INFORM SY","COMPUTER SCI INFORM","COMSIS J"],"published-print":{"date-parts":[[2025]]},"abstract":"<jats:p>In this article, we compare the energy efficiency of hardware and software implementations of Heapsort and Dijkstra?s algorithm for route finding. The software implementations are written in C for Raspberry Pi, and the hardware implementations are crafted in Chisel for an FPGA. Our objective is to examine how we can fairly compare energy efficiency between hardware and software. These solutions are positioned to replace each other in operational contexts, necessitating a comparison of their whole-system energy consumption. This study seeks to identify circumstances where time and energy efficiency diverge, offering insights to guide hardware selection. Our findings serve as a step towards understanding the complex trade-offs in algorithm performance across different computational platforms.<\/jats:p>","DOI":"10.2298\/csis240914028k","type":"journal-article","created":{"date-parts":[[2025,3,5]],"date-time":"2025-03-05T14:17:15Z","timestamp":1741184235000},"page":"649-671","source":"Crossref","is-referenced-by-count":1,"title":["Energy-efficiency of software and hardware algorithms"],"prefix":"10.2298","volume":"22","author":[{"suffix":"H.","given":"Maja","family":"Kirkeby","sequence":"first","affiliation":[{"name":"Department of People and Technology Roskilde University, Roskilde, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Thomas","family":"Krabben","sequence":"additional","affiliation":[{"name":"Department of People and Technology Roskilde University, Roskilde, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"suffix":"B.","given":"Maria","family":"Mikkelsen","sequence":"additional","affiliation":[{"name":"Department of People and Technology Roskilde University, Roskilde, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mads","family":"Rosendahl","sequence":"additional","affiliation":[{"name":"Department of People and Technology Roskilde University, Roskilde, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mathias","family":"Larsen","sequence":"additional","affiliation":[{"name":"IT University of Copenhagen, Copenhagen, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Martin","family":"Sundman","sequence":"additional","affiliation":[{"name":"IT University of Copenhagen, Copenhagen, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tjark","family":"Petersen","sequence":"additional","affiliation":[{"name":"DTU Compute Technical University of Denmark, Lyngby, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Martin","family":"Schoeberl","sequence":"additional","affiliation":[{"name":"DTU Compute Technical University of Denmark, Lyngby, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1078","reference":[{"key":"ref1","doi-asserted-by":"crossref","unstructured":"Andrae, A.S.G.: New perspectives on internet electricity use in 2030. Engineering and Applied Science Letter 3, 19-31 (2020), https:\/\/doi.org\/10.30538\/psrp-easl2020.0038","DOI":"10.30538\/psrp-easl2020.0038"},{"key":"ref2","doi-asserted-by":"crossref","unstructured":"Asiatici, M., Maiorano, D., Ienne, P.: How many cpu cores is an fpga worth? lessons learned from accelerating string sorting on a cpu-fpga system. Journal of Signal Processing Systems 93, 1405-1417 (12 2021), https:\/\/doi.org\/10.1007\/s11265-021-01686-8","DOI":"10.1007\/s11265-021-01686-8"},{"key":"ref3","doi-asserted-by":"crossref","unstructured":"Bachrach, J., Vo, H., Richards, B.C., Lee, Y., Waterman, A., Avizienis, R., Wawrzynek, J., Asanovic, K.: Chisel: constructing hardware in a scala embedded language. In: Groeneveld, P., Sciuto, D., Hassoun, S. (eds.) The 49th Annual Design Automation Conference 2012, DAC \u201912, San Francisco, CA, USA, June 3-7, 2012. pp. 1216-1225. ACM (2012), https:\/\/doi.org\/10.1145\/2228360.2228584","DOI":"10.1145\/2228360.2228584"},{"key":"ref4","unstructured":"Berlekamp, E.R., Conway, J.H., Guy, R.K.: Winning ways for your mathematical plays. Vol. 2. Academic Press Inc., London (1982), games in particular"},{"key":"ref5","unstructured":"Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms. MIT Press, Cambridge, MA, 3rd edn. (2009)"},{"key":"ref6","doi-asserted-by":"crossref","unstructured":"Eder, K., Gallagher, J.P., L\u00f3pez-Garc\u00eda, P., Muller, H., Bankovi\u0107, Z., Georgiou, K., Haemmerl\u00e9, R., Hermenegildo, M.V., Kafle, B., Kerrison, S., Kirkeby, M., Klemen, M., Li, X., Liqat, U., Morse, J., Rhiger, M., Rosendahl, M.: Entra: Whole-systems energy transparency. Microprocessors and Microsystems 47, 278-286 (2016), https:\/\/doi.org\/10.1016\/j.micpro.2016.07.003","DOI":"10.1016\/j.micpro.2016.07.003"},{"key":"ref7","doi-asserted-by":"crossref","unstructured":"Favaro, F., Dufrechou, E., Ezzatti, P., Oliver, J.P.: Energy-efficient algebra kernels in fpga for high performance computing. Journal of Computer Science & Technology 21(2), 80-92 (2021)","DOI":"10.24215\/16666038.21.e09"},{"key":"ref8","doi-asserted-by":"crossref","unstructured":"Field, H., Anderson, G., Eder, K.: Eacof: a framework for providing energy transparency to enable energy-aware software development. In: Proceedings of the 29th Annual ACM Symposium on Applied Computing. p. 1194-1199. SAC \u201914, Association for Computing Machinery, New York, NY, USA (2014), https:\/\/doi.org\/10.1145\/2554850.2554920","DOI":"10.1145\/2554850.2554920"},{"key":"ref9","doi-asserted-by":"crossref","unstructured":"H\u00e4hnel, M., D\u00f6bel, B., V\u00f6lp, M., H\u00e4rtig, H.: Measuring energy consumption for short code paths using rapl. SIGMETRICS Perform. Eval. Rev. 40(3), 13-17 (Jan 2012), https:\/\/doi.org\/10.1145\/2425248.2425252","DOI":"10.1145\/2425248.2425252"},{"key":"ref10","doi-asserted-by":"crossref","unstructured":"Hirata, H., Nunome, A.: A modified parallel heapsort algorithm. International Journal of Software Innovation 8(3), 1-18 (2020), https:\/\/doi.org\/10.4018\/IJSI.2020070101","DOI":"10.4018\/IJSI.2020070101"},{"key":"ref11","unstructured":"Intel Corporation: Intel 64 and IA-32 Architectures Software Developer\u2019s Manual (2023), https:\/\/www.intel.com\/content\/www\/us\/en\/developer\/articles\/technical\/intel-sdm.html, accessed: 2024-11-04"},{"key":"ref12","doi-asserted-by":"crossref","unstructured":"Jagadeesh, G., Srikanthan, T., Lim, C.: Field programmable gate array-based acceleration of shortest-path computation. IET Computers & Digital Techniques 5, 231-237 (2011), https: \/\/doi.org\/10.1049\/iet-cdt.2009.0072","DOI":"10.1049\/iet-cdt.2009.0072"},{"key":"ref13","unstructured":"Jasika, N., Alispahic, N., Elma, A., Ilvana, K., Elma, L., Nosovic, N.: Dijkstra\u2019s shortest path algorithm serial and parallel execution performance analysis. In: 2012 Proceedings of the 35th International Convention MIPRO. pp. 1811-1815 (2012), https:\/\/ieeexplore.ieee.org\/document\/6240942, accessed: 2024-11-04"},{"key":"ref14","doi-asserted-by":"crossref","unstructured":"Jmaa, Y.B., Atitallah, R.B., Duvivier, D., Jemaa, M.B.: A comparative study of sorting algorithms with fpga acceleration by high level synthesis. Computacion y Sistemas 23, 213-230 (2019), https:\/\/doi.org\/10.13053\/CyS-23-1-2999","DOI":"10.13053\/cys-23-1-2999"},{"key":"ref15","doi-asserted-by":"crossref","unstructured":"Jmaa, Y.B., Duvivier, D., Abid, M.: Sorting algorithms on arm cortex a9 processor. In: Barolli, L., Woungang, I., Enokido, T. (eds.) International Conference on Advanced Information Networking and Applications. vol. 227, pp. 355-366. Springer International Publishing (2021), https:\/\/doi.org\/10.1007\/978-3-030-75078-7_36","DOI":"10.1007\/978-3-030-75078-7_36"},{"key":"ref16","doi-asserted-by":"crossref","unstructured":"Khan, K.N., Hirki, M., Niemi, T., Nurminen, J.K., Ou, Z.: RAPL in Action. ACM Transactions on Modeling and Performance Evaluation of Computing Systems 3(2), 1-26 (jun 2018), https:\/\/doi.org\/10.1145\/3177754","DOI":"10.1145\/3177754"},{"key":"ref17","unstructured":"Kirkeby, M.H., Krabben, T., Larsen, M., Mikkelsen, M.B., Petersen, T., Rosendahl, M., Schoeberl, M., Sundman, M.: Energy consumption and performance of heapsort in hardware and software (2022), https:\/\/arxiv.org\/abs\/2204.03401"},{"key":"ref18","unstructured":"Kirkeby, M.H., Schoeberl, M.: Towards comparing performance of algorithms in hardware and software (2022), https:\/\/arxiv.org\/abs\/2204.03394"},{"key":"ref19","doi-asserted-by":"crossref","unstructured":"Koch, D., Torresen, J.: Fpgasort: a high performance sorting architecture exploiting run-time reconfiguration on fpgas for large problem sorting. In: Proceedings of the 19th ACM\/SIGDA International Symposium on Field Programmable Gate Arrays. p. 45-54. FPGA \u201911, Association for Computing Machinery, New York, NY, USA (2011), https:\/\/doi.org\/10.1145\/1950413.1950427","DOI":"10.1145\/1950413.1950427"},{"key":"ref20","doi-asserted-by":"crossref","unstructured":"Lei, G., Dou, Y., Li, R., Xia, F.: An fpga implementation for solving the large single-sourceshortest- path problem. IEEE Transactions on Circuits and Systems II: Express Briefs 63(5), 473-477 (2016), https:\/\/doi.org\/10.1109\/TCSII.2015.2505998","DOI":"10.1109\/TCSII.2015.2505998"},{"key":"ref21","doi-asserted-by":"crossref","unstructured":"Mihhailov, D., Sklyarov, V., Skliarova, I., Sudnitson, A.: Parallel fpga-based implementation of recursive sorting algorithms. In: 2010 International Conference on Reconfigurable Computing and FPGAs. pp. 121-126 (2010)","DOI":"10.1109\/ReConFig.2010.30"},{"key":"ref22","doi-asserted-by":"crossref","unstructured":"Mueller, R., Teubner, J., Alonso, G.: Data processing on fpgas. Proc. VLDB Endow. 2(1), 910-921 (aug 2009), https:\/\/doi.org\/10.14778\/1687627.1687730","DOI":"10.14778\/1687627.1687730"},{"key":"ref23","doi-asserted-by":"crossref","unstructured":"Pereira, R., Couto, M., Ribeiro, F., Rua, R., Cunha, J., Fernandes, J.P., Saraiva, J.: Ranking programming languages by energy efficiency. Sci. Comput. Program. 205, 102609 (2021), https:\/\/doi.org\/10.1016\/j.scico.2021.102609","DOI":"10.1016\/j.scico.2021.102609"},{"key":"ref24","doi-asserted-by":"crossref","unstructured":"Rotem, E., Naveh, A., Ananthakrishnan, A., Weissmann, E., Rajwan, D.: Power-management architecture of the intel microarchitecture code-named sandy bridge. IEEE Micro 32(2), 20-27 (2012), https:\/\/doi.org\/10.1109\/MM.2012.12","DOI":"10.1109\/MM.2012.12"},{"key":"ref25","doi-asserted-by":"crossref","unstructured":"Ruiz-Rosero, J., Ramirez-Gonzalez, G., Khanna, R.: Field programmable gate array applications- a scientometric review. Computation 7(4) (2019), https:\/\/www.mdpi.com\/2079-3197\/7\/4\/63","DOI":"10.3390\/computation7040063"},{"key":"ref26","doi-asserted-by":"crossref","unstructured":"Santos, B., Fernandes, J.P., Kirkeby, M.H., Pardo, A.: Compiling haskell for energy efficiency: Empirical analysis of individual transformations. In: The 39th ACM\/SIGAPP Symposium on Applied Computing (SAC \u201924), April 8-12, 2024, Avila, Spain. Association for Computing Machinery, New York, NY, United States (2023), https:\/\/doi.org\/10.1145\/3605098.3635915","DOI":"10.1145\/3605098.3635915"},{"key":"ref27","unstructured":"Schoeberl, M.: Digital Design with Chisel. Kindle Direct Publishing (2019), available at https:\/\/github.com\/schoeberl\/chisel-book"},{"key":"ref28","doi-asserted-by":"crossref","unstructured":"Tommiska, M., Skytt\u00e4, J.: Dijkstra\u2019s shortest path routing algorithm in reconfigurable hardware. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) 2147, 653-657 (2001), https:\/\/doi.org\/10.1007\/3-540-44687-7_73","DOI":"10.1007\/3-540-44687-7_73"},{"key":"ref29","unstructured":"Xilinx: Vivado design suite user. guide power analysis and optimization (October 2021), https:\/\/docs.amd.com\/r\/2021.2-English\/ug907-vivado-power-analysis-optimization, uG907 (v2021.2), Accessed: 2024-11-04"},{"key":"ref30","doi-asserted-by":"crossref","unstructured":"Zhou, Y., Jin, X.,Wang, T.: FPGA implementation of a* algorithm for real-time path planning. Int. J. Reconfigurable Comput. 2020, 8896386:1-8896386:11 (2020), https:\/\/doi.org\/10.1155\/2020\/8896386","DOI":"10.1155\/2020\/8896386"}],"container-title":["Computer Science and Information Systems"],"original-title":[],"language":"en","deposited":{"date-parts":[[2025,5,13]],"date-time":"2025-05-13T13:22:31Z","timestamp":1747142551000},"score":1,"resource":{"primary":{"URL":"https:\/\/doiserbia.nb.rs\/Article.aspx?ID=1820-02142500028K"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025]]},"references-count":30,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2025]]}},"URL":"https:\/\/doi.org\/10.2298\/csis240914028k","relation":{},"ISSN":["1820-0214","2406-1018"],"issn-type":[{"value":"1820-0214","type":"print"},{"value":"2406-1018","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025]]}}}