Changing power modes

Hi,

It appears that a change to the power using the command:

sudo /usr/sbin/nvpmodel -m

requires a reboot?

Is there a way a reboot can be avoided?

If a reboot is required, can you suggest another mechanism to adjust power that would not require a reboot?

Malcolm

Hi @malcolm12,

Yes, a reboot is required when nvpmodel requests it after changing the power mode.

The reason is that some nvpmodel power mode changes are not only clock changes. They can also change hardware resource/power-gating configuration, such as GPU TPC power-gating state. Once the GPU context has already been created, that kind of change cannot be fully applied at runtime, so the system requires a reboot for the new power mode to take effect correctly.

There are runtime knobs for changing clocks or frequency limits, but those are not equivalent to switching the full nvpmodel power profile.

Hope this helps!

Yes. Thanks for the explanation.