Integrating RAPL With BenchmarkDotNet and Benchmarking EFCore
Authors
Ulvmose, Alfred Ilberg ; Cekys, Virmantas
Term
4. term
Education
Publication year
2023
Submitted on
2023-06-09
Pages
47
Abstract
This project has two aims: to build an integration that adds RAPL-based energy measurements to the BenchmarkDotNet benchmarking tool, and to use it in a case study of different EF Core query processing settings. The integration collects and processes RAPL measurements (a way to estimate processor energy consumption) simultaneously on both a client and a server machine. It worked for the case study and could be further developed for submission to the BenchmarkDotNet project. The case study shows that EF Core's 'NoTracking' setting almost always costs more energy on the client device.
Dette projekt har to mål: at udvikle en integration, der tilføjer RAPL-baserede energimålinger til benchmarkværktøjet BenchmarkDotNet, og at bruge den til et casestudie af forskellige indstillinger for, hvordan EF Core behandler forespørgsler. Integrationen indsamler og behandler RAPL-målinger (en metode til at anslå processorens energiforbrug) samtidigt på både en klient- og en servermaskine. Integrationen fungerede til casestudiet og kan videreudvikles med henblik på indsendelse til BenchmarkDotNet. Casestudiet viser, at EF Cores 'NoTracking'-indstilling næsten altid medfører et højere energiforbrug på klientenheden.
[This apstract has been rewritten with the help of AI based on the project's original abstract]
Keywords
rapl ; benchmarkdotnet ; energy efficiency ; efcore ; orm ; postgresql ; dotnet
