Skip to content

Delay flag#74

Open
afonsoCarreira1 wants to merge 4 commits into
joular:developfrom
afonsoCarreira1:delay-flag
Open

Delay flag#74
afonsoCarreira1 wants to merge 4 commits into
joular:developfrom
afonsoCarreira1:delay-flag

Conversation

@afonsoCarreira1

Copy link
Copy Markdown
Contributor

Added delay flag, now it is just a variable and has no packages.
Calculations have been adjusted to account for the time.

@afonsoCarreira1

Copy link
Copy Markdown
Contributor Author

i think i changed the calculations correctly

@adelnoureddine adelnoureddine self-assigned this Dec 15, 2024
forgot to add the argument D in line 121
@adelnoureddine

Copy link
Copy Markdown
Member

Thanks @afonsoCarreira1.

There are a few things that we need to be careful about when adding a delay flag:

  • The terminology isn't necessarily the best. Probably better to use granularity or frequency.
  • GPU power isn't concerned by this flag for now, as we're collecting it from nvidia-smi in watts and the conversion with the delay isn't straightforward as dividing by the flag value.
  • RPi and other devices power consumption isn't implemented. Also same issues with the conversion, as the formulas provides the power in watts.
  • Line 336, RAPL energy is divided by the delay, hence we get power for the time frequency, then it is multiplied (for both the CPU and GPU) by the delay in lines 395 and 396.

@afonsoCarreira1

Copy link
Copy Markdown
Contributor Author

I did the first and second step, but i did not understand the other 2 very well.
The raspberry should convert power to energy? Because i only saw calculations with power.
Also the line 336 converts the RAPL energy to power to save in a power variable and later in the line 395 it needs to convert the power back to energy to make the calculations, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants