Steps to reproduce a similar setup for further experimentation #225
Replies: 2 comments 1 reply
-
Hi Chris, thanks a lot for reaching out!
You don't need hardware! There is the possibility to integrate hardware into your experiments if you want to, but you can also do everything through software. In this case, you need to use software-based power measurements like Intel's Running Average Power Limit or nvidia-smi. Or you can simply define some mapping function for e.g. CPU usage to power demand, as we did for the virtual node in the paper.
For our hardware setup we spent less than 100€: it's really just a RaspberryPi 4b with a power sensor (we used this one but I think it's not available any more). But this setup is just a proof of concept, I wouldn't necessarily recommend it for serious experiments. Our current setup for testing cloud applications with Vessim includes power-metered 16-core servers, some including GPUs, so then we're obviously talking a lot more. If you want to get started I recommend a software-based setup! Let us know what you want to test and we might be able to help you with that :) |
Beta Was this translation helpful? Give feedback.
-
Ah.. I think you're talking about the CPU power curves of the kind discussed below and published by SPEC, right? I know the Green Coding solutions folk are working on a project to make them easy to generate based on the kind of underlying processor: https://github.com/green-coding-solutions/cloud-energy You can see how it tracks against the SPEC model, and other models used in the public domain: This makes me think you could set up a fairly general "virtual node" on most cloud platforms to model changes if you at least have access to the utilisation of the CPU. Thanks for the pointer about the Pi power measurement tool, too - I didn't know they existed til this paper. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I just finished reading this paper about Vessim properly, as a prelude to the HotCarbon conf next week:
Source: Software‐in‐the‐loop simulation for developing and testing carbon‐aware applications
This is such a cool paper!
I have some questions about reproducing a setup for experimentation in future, as I am a contributor to Branch Magazine, and have some familiarity with the Solar Protocol art project. So, I am curious about adopting some of this for other projects.
1. How would I replicate this setup used in the paper for future experimentation?
I appreciate that the paper outlines different ways to setup a 'test lab', and it seems a slightly more lightweight setup than replicating what the Ecovisor used.
I also see there is still some hwardware required - particulary for physical Rpi nodes. I see the the Solar Protocol documentation has some instructions for recreating a hardware setup - would, there be interest in doing the same for the computing systems below?
2. Roughly how much would a setup like this cost?
Pretty self explanatory. Raspberry Pis are quite cheap, but I know much less about sourcing the sensors and batteries. When I've spoken to another person building a similar solar + Pi hosting project, Scott Web, he's mentioned figures in the low hundreds for example, and having some kind of bill of materials would be very useful.
Knowing this would really help for budgeting to experiment with the ideas in this paper.
Thanks again for sharing all this so openly - it's really exciting to see stuff build on top of then ideas in the Ecovisor paper 👍
Beta Was this translation helpful? Give feedback.
All reactions