Skip to content

Commit

Permalink
Merge pull request #142 from Green-Software-Foundation/impl-fix
Browse files Browse the repository at this point in the history
small fixes to eshoppen impl
  • Loading branch information
gnanakeethan authored Sep 13, 2023
2 parents 1a4aa83 + 61faf94 commit 734b7df
Showing 1 changed file with 93 additions and 89 deletions.
182 changes: 93 additions & 89 deletions examples/impls/msft-eshoppen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,98 +33,102 @@ initialize:
kind: builtin
path: ''
graph:
front-end:
pipeline:
- eshoppen-cpu # tdp & cpu -> energy
- eshoppen-mem # n-hour * n-chip * tdp-mem * tdp-coeff
- sci-m # duration & config -> embodied
- sci-e # energy & grid-carbon-intensity & embodied -> carbon
- sci-o # e -> c
- sci # -> f.unit
config:
e-mem-tdp:
n-hour: 1
n-chip: 1
tdp-mem: 12.16
tdp-coeff: 0.12
sci-m:
te: 350 # kgCO2eq
tir: "duration" # get this value from the duration field
el: 126144000 # 4 years in seconds
rr: 1
tor: 1
sci-o:
i: 951 # gCO2e/kWh
e-cpu:
processor: Intel® Core™ i7-1185G7
tdp: 28 # W
tdp-coeff: 0.12
n-hour: 1
n-chip: 1
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600 # Secs
cpu-util: 0
app-server:
pipeline: # note: no e-mem calc applied here
- eshoppen-cpu # tdp & cpu -> energy
- sci-m # duration & config -> embodied
- sci-o # energy & grid-carbon-intensity & embodied -> carbon
config:
sci-m:
te: 1205.52 # kgCO2eq
tir: duration # get from the duration field
el: 126144000 # 4 years in seconds
rr: 2 # using cores
tor: 26 # the original report has a typo, says 16 but actually has 26 cores.
sci-c:
i: 951 # gCO2e/kWh
e-cpu:
processor: Intel® Xeon® Platinum 8272CL
tdp: 205
tdp-coeff: 0.32
n-hour: 1
n-chip: 1
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600
cpu-util: 18.392
db-server:
pipeline: # no e-mem calc applied here
- eshoppen-cpu # tdp & cpu & duration-> energy
- sci-m # duration & config -> embodied
- sci-o # energy & grid-carbon-intensity & embodied -> carbon
config:
sci-m:
te: 1433.12 # kgCO2eq
tir: duration # get from the duration field
el: 126144000 # 4 years in seconds
rr: 2 # using cores
tor: 24 # total cores
sci-c:
i: 951
e-cpu:
n-hour: 1
n-chip: 1
processor: Intel® Xeon® Platinum 8160
tdp: 150 # W
tdp-coeff: 0.32
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600
cpu-util: 10
children:
front-end:
pipeline:
- eshoppen-cpu # tdp & cpu -> energy
- eshoppen-mem # n-hour * n-chip * tdp-mem * tdp-coeff
- sci-m # duration & config -> embodied
- sci-e # energy & grid-carbon-intensity & embodied -> carbon
- sci-o # e -> c
- sci # -> f.unit
config:
e-mem-tdp:
n-hour: 1
n-chip: 1
tdp-mem: 12.16
tdp-coeff: 0.12
sci-m:
te: 350 # kgCO2eq
tir: 3600 # == the duration field
el: 126144000 # 4 years in seconds
rr: 1
tor: 1
sci-o:
i: 951 # gCO2e/kWh
e-cpu:
processor: Intel® Core™ i7-1185G7
tdp: 28 # W
tdp-coeff: 0.12
n-hour: 1
n-chip: 1
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600 # Secs
cpu-util: 0
app-server:
pipeline: # note: no e-mem calc applied here
- eshoppen-cpu # tdp & cpu -> energy
- sci-e # sums e components
- sci-m # duration & config -> embodied
- sci-o # energy & grid-carbon-intensity & embodied -> carbon
config:
sci-m:
te: 1205.52 # kgCO2eq
tir: 3600 # == duration field
el: 126144000 # 4 years in seconds
rr: 2 # using cores
tor: 26 # the original report has a typo, says 16 but actually has 26 cores.
sci-c:
i: 951 # gCO2e/kWh
e-cpu:
processor: Intel® Xeon® Platinum 8272CL
tdp: 205
tdp-coeff: 0.32
n-hour: 1
n-chip: 1
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600
cpu-util: 18.392
db-server:
pipeline: # no e-mem calc applied here
- eshoppen-cpu # tdp & cpu & duration-> energy
- sci-e # sums e-components
- sci-m # duration & config -> embodied
- sci-o # energy & grid-carbon-intensity & embodied -> carbon
config:
sci-m:
te: 1433.12 # kgCO2eq
tir: 3600 # == duration field
el: 126144000 # 4 years in seconds
rr: 2 # using cores
tor: 24 # total cores
sci-c:
i: 951
e-cpu:
n-hour: 1
n-chip: 1
processor: Intel® Xeon® Platinum 8160
tdp: 150 # W
tdp-coeff: 0.32
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600
cpu-util: 10
network:
pipeline:
- eshoppen-net
- sci-e # sums e components
- sci
config:
e-net:
Expand Down

0 comments on commit 734b7df

Please sign in to comment.