{"title":"基于数据驱动软件的嵌入式设备功耗估算","authors":"Haoyu Wang, Xinyi Li, Ti Zhou, Man Lin","doi":"arxiv-2407.02764","DOIUrl":null,"url":null,"abstract":"Energy measurement of computer devices, which are widely used in the Internet\nof Things (IoT), is an important yet challenging task. Most of these IoT\ndevices lack ready-to-use hardware or software for power measurement. A\ncost-effective solution is to use low-end consumer-grade power meters. However,\nthese low-end power meters cannot provide accurate instantaneous power\nmeasurements. In this paper, we propose an easy-to-use approach to derive an\ninstantaneous software-based energy estimation model with only low-end power\nmeters based on data-driven analysis through machine learning. Our solution is\ndemonstrated with a Jetson Nano board and Ruideng UM25C USB power meter.\nVarious machine learning methods combined with our smart data collection method\nand physical measurement are explored. Benchmarks were used to evaluate the\nderived software-power model for the Jetson Nano board and Raspberry Pi. The\nresults show that 92% accuracy can be achieved compared to the long-duration\nmeasurement. A kernel module that can collect running traces of utilization and\nfrequencies needed is developed, together with the power model derived, for\npower prediction for programs running in real environment.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"68 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Data-driven Software-based Power Estimation for Embedded Devices\",\"authors\":\"Haoyu Wang, Xinyi Li, Ti Zhou, Man Lin\",\"doi\":\"arxiv-2407.02764\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Energy measurement of computer devices, which are widely used in the Internet\\nof Things (IoT), is an important yet challenging task. Most of these IoT\\ndevices lack ready-to-use hardware or software for power measurement. A\\ncost-effective solution is to use low-end consumer-grade power meters. However,\\nthese low-end power meters cannot provide accurate instantaneous power\\nmeasurements. In this paper, we propose an easy-to-use approach to derive an\\ninstantaneous software-based energy estimation model with only low-end power\\nmeters based on data-driven analysis through machine learning. Our solution is\\ndemonstrated with a Jetson Nano board and Ruideng UM25C USB power meter.\\nVarious machine learning methods combined with our smart data collection method\\nand physical measurement are explored. Benchmarks were used to evaluate the\\nderived software-power model for the Jetson Nano board and Raspberry Pi. The\\nresults show that 92% accuracy can be achieved compared to the long-duration\\nmeasurement. A kernel module that can collect running traces of utilization and\\nfrequencies needed is developed, together with the power model derived, for\\npower prediction for programs running in real environment.\",\"PeriodicalId\":501333,\"journal\":{\"name\":\"arXiv - CS - Operating Systems\",\"volume\":\"68 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Operating Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2407.02764\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.02764","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
对广泛应用于物联网(IoT)的计算机设备进行能量测量是一项重要而又具有挑战性的任务。这些物联网设备大多缺乏用于电能测量的即用型硬件或软件。成本效益高的解决方案是使用低端消费级功率计。然而,这些低端功率计无法提供精确的瞬时功率测量。在本文中,我们提出了一种简单易用的方法,基于机器学习的数据驱动分析,仅使用低端电能表就能推导出基于软件的瞬时电能估算模型。我们使用 Jetson Nano 板和瑞登 UM25C USB 功率计演示了我们的解决方案。我们使用基准测试来评估 Jetson Nano 板和 Raspberry Pi 的软件功率模型。结果表明,与长时间测量相比,准确率可达 92%。我们开发了一个内核模块,可以收集运行所需的利用率和频率跟踪,并结合得出的功耗模型,对在真实环境中运行的程序进行功耗预测。
Data-driven Software-based Power Estimation for Embedded Devices
Energy measurement of computer devices, which are widely used in the Internet
of Things (IoT), is an important yet challenging task. Most of these IoT
devices lack ready-to-use hardware or software for power measurement. A
cost-effective solution is to use low-end consumer-grade power meters. However,
these low-end power meters cannot provide accurate instantaneous power
measurements. In this paper, we propose an easy-to-use approach to derive an
instantaneous software-based energy estimation model with only low-end power
meters based on data-driven analysis through machine learning. Our solution is
demonstrated with a Jetson Nano board and Ruideng UM25C USB power meter.
Various machine learning methods combined with our smart data collection method
and physical measurement are explored. Benchmarks were used to evaluate the
derived software-power model for the Jetson Nano board and Raspberry Pi. The
results show that 92% accuracy can be achieved compared to the long-duration
measurement. A kernel module that can collect running traces of utilization and
frequencies needed is developed, together with the power model derived, for
power prediction for programs running in real environment.