Skip to content

Same energy whoever the input trace #126

Description

@aabotaleb

I run four different traces, they differ a lot in number of PREs , RDs , and WRs. (They are generated from different system configurations, number of cores, etc).
Surprisingly I got the same total energy value for all of them reported as:
"InterfaceEnergy": {
"controller": {
"dynamicEnergy": 18446744.073743377,
"staticEnergy": 55340.2322211583
},
"dram": {
"dynamicEnergy": 18446744.073717423,
"staticEnergy": 55340.23222113636
}
},
"RankCount": 1,
"TotalEnergy": 37004168.612706065
I am generating the command trace from Ramulator.
I wrote the trace generation myself to match required format by DRAMPower as per :
https://github.com/tukl-msd/DRAMPower/blob/master/src/cli/lib/DRAMPower/cli/run.cpp#L109

// Parse csv file
// timestamp, command, rank, bank_group, bank, row, column, [data]
Here are the suspected sources for the error:

  1. I am not sure if the data field (used with RD/WR/WRA/RDA) should have the actual packet data or the packet address?
    I assumed it is the packet data but assigned a temporal constant value.

  2. Also regarding to PREA , REF, What should be the correct value for bankgroup, bank , row , column?
    (I'm setting them all to 0, but they should apply to all banks in DDR4).

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions