Skip to content

Commit e40de49

Browse files
fix(efp): add calc example
1 parent c07dad9 commit e40de49

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

pages/environmental-footprint/additional-content/environmental-footprint-calculator.mdx

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,45 @@ You can find the calculation specifications for each of the available products i
173173
- **CPU** - Consider the share of vCPUs reserved compared to the total number of physical cores available.
174174
- **RAM** - Consider the share of allocated RAM compared to the total RAM of the hypervisor.
175175
- **Storage** - Consider the use of allocated storage compared to the total capacity of the hypervisor.
176+
177+
<Lightbox src="scaleway-allocation-rules-instances.webp" alt="" />
178+
179+
##### Calculation example
180+
181+
In this example we will calculate the impact of an Instance with the following characteristics:
182+
183+
| Resource | VM | Hypervisor |
184+
| --- | --- | --- |
185+
| vCPU | 4 | 16 CPU cores |
186+
| RAM | 8 GB | 64 GB |
187+
| Storage | 50 GB | 1 TB (1000 GB) |
188+
189+
The allocation of the hypervisor resources for this particular Instance is calculated in the following manner:
190+
191+
| Resource | Allocation |
192+
| --- | --- |
193+
| CPU | 4/16 = 0.25 |
194+
| RAM | 8/64 = 0.125 |
195+
| Storage | 50/1000 = 0.05 |
196+
| Total Instance Share | 0.25 + 0.125 + 0.05 = 0.425 |
197+
198+
To calculate the Instance's energy consumption we:
199+
200+
1. Consider the hypervisor's consumption (1000 kWh) and multiply it by the total Instance share (0.425):
201+
```
202+
1000 kWh × 0.425 = 425 kWh
203+
```
204+
2. Adjust the energy consumption based on the [PUE](/environmental-footprint/concepts#pue-power-usage-effectiveness) of the data center (1.3) where the hypervisor is located:
205+
```
206+
425 kWh × 1.3 = 552.5 kWh
207+
```
208+
3. Calculate the total emissions of the Instance based on the energy mix (300 gCO2eq/kWh) of the country where the hypervisor is located:
209+
```
210+
300 gCO2eq/kWh = 165.75 kgCO2eq
211+
```
212+
213+
**Total estimated Instance emission** = 165.75 kgCO2eq
214+
176215
</Concept>
177216

178217
### Cross-IT equipment & stock

0 commit comments

Comments
 (0)