Power Management for Jetson Nano documentation suggests the CPU Core voltage changes as per the CPU Core frequency change.
We can set the core frequency to any of the supported frequencies by setting the governor to userspace and writing the desired frequency to cpufreq/scaling_setspeed file.
Is there any command that can check the CPU voltage at any point of time to see that the voltage also changing as per frequency change?
Thank you @JerryChang for your response. tegrastats utility has a lot of statistics but, I did not find anything specific for CPU core voltage. I am looking for commands similar to the Raspberry Pi utility command βvcgencmd measure_volts coreβ, which gives the CPU core voltage at any instance of time. Do we have any such utility available for Nvidia Jetson Nano?
yes, Jetson Nano 2GB does not have an INA3221 power monitor.
since Nano-2GB share the same nvpmodel spec with Jetson-Nano, may I know whatβs your actual use-case to check the CPU core voltage?
thanks
I am conducting some energy consumption experiments using DVFS (Dynamic Voltage and Frequency Scaling) and will possibly be writing a paper on that. I scale the CPU frequency from userspace as per my application requirement. I need to see how the CPU core voltage scales with respect to frequency scaling to justify my results.
suggest you should work with Nano platforms instead of Nano-2GB.
BTW,
youβll need to specify regulators if youβre having your driver implementation.
thereβre regulators that defined in device tree for driverβs usage. you may look into the nodes, monitor the voltage changes with your use-case,
hereβs sysnode for checking all regulators,
for example, /sys/kernel/debug/regulator/regulator_summary.
I do not have any driver implementation. My experiment goal is to use DVFS to save energy in my experiment. I ran a dummy experiment of computing a sum of 1500000 random floating-point numbers. I used the frequencies [β102000β, β307200β, β518400β, β710400β, β921600β, β1132800β, β1326000β, β1479000β] and measured the energy using a power meter. I observed that the energy consumed for each of the frequencies [β102000β, β307200β] to be around 63 milli watt-hours. Similarly the energy consumed for each of the frequencies [β518400β, β710400β, β921600β, β1132800β, β1326000β, β1479000β] remains around 84 milli watt-hours.
Changing only the frequency affects execution time but does not affect the energy consumption of the operation. However, a change in voltage affects energy consumption. From the result above, I believe there are only two voltage levels supported. A low voltage for frequencies [β102000β, β307200β] and a higher voltage for frequencies [β518400β, β710400β, β921600β, β1132800β, β1326000β, β1479000β] . To confirm my belief, I was trying to find the voltage corresponding to each frequency. Will you be able to check on this frequency to voltage mapping of Jetson Nano 2GB and confirm that this is actually the case?
Could you please let me know, which regulator file will have the CPU core voltage?
I grepped on vdd-cpu in
/sys/kernel/debug/regulator/regulator_summary, but it does not change. It remains the same at 708mV for all the CPU frequencies.
Could you please help me with the regulator file name that holds the current CPU core voltage?
Thank you for your response. I had checked the documentation.
I am using the Jetson Nano 2GB board.
It seems βJetson Nano 2GB does not have an INA3221 power monitor.β