Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial code for RAPL support #326

Draft
wants to merge 2 commits into
base: xdmod10.5
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions etl/js/config/supremm/dataset_maps/pcp.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,24 @@ module.exports = function(config) {
return this.getmax(job, 'ipmi.power.max');
}
},
rapl_energy_pkg: {
ref: 'rapl.energy.pkg.avg'
},
rapl_energy_cores: {
ref: 'rapl.energy.cores.avg'
},
rapl_energy_dram: {
ref: 'rapl.energy.dram.avg'
},
rapl_power_pkg: {
ref: 'rapl.power.pkg'
},
rapl_power_cores: {
ref: 'rapl.power.cores'
},
rapl_power_dram: {
ref: 'rapl.power.dram'
},
"memory_used": {
formula: function(job) {
var mem = this.ref(job, "memory.used_minus_cache.avg");
Expand Down
78 changes: 78 additions & 0 deletions etl/js/config/supremm/etl.schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,84 @@ module.exports = {
table: 'job'
},

rapl_energy_pkg: {
unit: 'joules',
type: 'double',
name: 'RAPL Energy Pkg',
nullable: true,
group: 'Energy Usage Statistics',
def: null,
batchExport: true,
comments: 'An estimate of the energy consumption of all cores + LLC cache during the job.',
per: 'node',
table: 'job'
},

rapl_energy_cores: {
unit: 'joules',
type: 'double',
name: 'RAPL Energy Cores',
nullable: true,
group: 'Energy Usage Statistics',
def: null,
batchExport: true,
comments: 'An estimate of the energy consumption of all cores on socket during the job.',
per: 'node',
table: 'job'
},

rapl_energy_dram: {
unit: 'joules',
type: 'double',
name: 'RAPL Energy Cores',
nullable: true,
group: 'Energy Usage Statistics',
def: null,
batchExport: true,
comments: 'An estimate of the energy consumption of DRAM during the job.',
per: 'node',
table: 'job'
},

rapl_power_pkg: {
unit: 'watts',
type: 'double',
name: 'RAPL Energy Cores',
nullable: true,
group: 'Energy Usage Statistics',
def: null,
batchExport: true,
comments: 'An estimate of the power consumption of all cores + LLC cache during the job.',
per: 'node',
table: 'job'
},

rapl_power_cores: {
unit: 'watts',
type: 'double',
name: 'RAPL Energy Cores',
nullable: true,
group: 'Energy Usage Statistics',
def: null,
batchExport: true,
comments: 'An estimate of the power consumption of all cores on socket during the job.',
per: 'node',
table: 'job'
},

rapl_power_dram: {
unit: 'watts',
type: 'double',
name: 'RAPL Energy Cores',
nullable: true,
group: 'Energy Usage Statistics',
def: null,
batchExport: true,
comments: 'An estimate of the power consumption of DRAM during the job.',
per: 'node',
table: 'job'
},

mem_transferred: {
unit: "bytes",
type: "double",
Expand Down