Re: CPU Instantaneous Power Consumption

From: Ben Nizette
Date: Fri Jun 24 2011 - 02:59:38 EST



On 21/06/2011, at 12:15 PM, pradeep hettiarachchi wrote:
>
> 1) What is the DC-to-DC CPU regulator efficiency ?

Varies board to board. North of 90% but if you want decent figures you're going to have to characterise this yourself I'd think

> 2) What is the relationship between TDP and input power to the CPU ?

Well all power that goes in and doesn't come out is dissipated! Unless you can monitor all power that goes out you're not going to get good figures. Given that most of the lines from the CPU are driving fairly high impedance buffers you can probably make some assumptions here, once again it depends how accurately you need this info

> 3) Do you suggest any other better method to calculate the
> instantaneous input power to the CPU ?

I think it'll be easier to just measure the TDP directly by embedding a good temp sensor in the heat sink and characterising the thermal inertia of the thing. To do that characterisation you might use, for instance, a heater element with known power dissipation attached to some kind of controller that applies a known power waveform.

> (I can think of calculating accurate instantaneous CPU power as VID
> (corresponding Vcc) x CPU_current_from_regulator; but, how do I read
> instantaneous VID ?

If you can read CPU current from the reg, why can't you directly measure CPU voltage from the reg?

HTH.
--Ben.

> Is there any MSR that I can instantly access to
> read VID ? (I think Intel has hidden theses details from system
> developer) )
>
> Please help me to find answers to these questions.
>
>
> Sincerely,
>
> Pradeep M. Hettiarachchi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/