-
Notifications
You must be signed in to change notification settings - Fork 12
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
HMC output values #13
Comments
Could be that there is something wrong with the Voltage Domains. Will come back to you soon. |
Hi @avacoder42 could you copy the output of DRAMSpec and what you use as input for DRAMPower? |
DRAMSpec : Arch I/P= techhmc_5x , Tech I/p= HMC_para512RB
DRAMPower results with sample trace file
|
The negative value is then clear: since idd0 = 41 < idd3n = 46.76, the subtraction mps.idd0 - mps.idd3n1 < 0, thus the energy calculation outputs a negative number. The problem seems to come from the definition of idd0 and idd3n. In DRAMPower, is seems to be assumed that idd0 (one bank act-pre current) minus idd3n (active standby current) should result in the fraction of the total idd0 that is spend by the operation itself, discounting the standby current. The problem, however, is that DRAMSpec assumes idd3n as the worst case: when all banks are active. So idd3n is the total standby current, not the standby current of a single bank. To calculate idd0, DRAMSpec uses an internal variable that is the standby current of a single bank, but this variable is not outputted. @myzinsky is the definition used in DRAMSpec incorrect? |
Hi, |
IDD3N is the worst case in DRAM Power as well. We introduced the rho parameter in order to configure this more precisely (see the two recent paper about DRAMPower). If the rho is set to 100% everything should be fine from DRAM power side and the worst case should be assumed. I find it more suspicious that IDD3n generated from DRAMSpec is bigger than IDD0 since IDD0 actually included IDD3N/IDD2N. This should be double checked also with Christian. |
@avacoder42 I have fixed the calculation of IDD0. Now IDD0 = 56 mA > IDD3n = 50 mA when simulating:
Please let me know if that solves the problem. |
@AndreChinazzo , thank you for the update, now its all positive. I had one query since DRAMPower does not have a memory type for HMC or HBM , are the values obtained with WIDEI/O as memory type and I/P parameters from HMC or HBM still correct?
|
When I used the DRAMSpec output for HMC parameters (all combinations of technology and architectural I/P) in DRAMPower to calculate energy, I always got a negative value for act_energy. Here is the formula used in DRAMPower -
energy.act_energy += vdd2Domain.calcTivEnergy(sum(c.numberofactsBanks) * t.RAS , mps.idd0 - mps.idd3n1);
I mapped idd0 --> IDD0 ,idd3n1 --> IDD3N , what's the correct mapping to IDD1 and IDD5B to DRAMPower parameters?
And can DRAMPower be used to calculate power and energy for HMC config?
The text was updated successfully, but these errors were encountered: