On 13 June 2011 20:56, Thomas Abraham thomas.abraham@linaro.org wrote:
Hi Amit,
On 13 June 2011 19:39, Amit Kucheria amit.kucheria@linaro.org wrote:
On Mon, Jun 13, 2011 at 5:05 PM, Thomas Abraham thomas.abraham@linaro.org wrote:
== Thomas Abraham <thomas-ab> ==
=== Highlights ===
- Completed the power measurement with and without memory regions patches,
but did not find any savings in power consumed.
- Did further testing at hardware level (with only u-boot executing, no linux)
and found a issue with memory controller settings. After fixing the issue, there is about 60mA of savings when all the banks of the 4 DDR3 modules connected to one memory controller are kept in precharge power-down mode versus when read/write activity are active on them.
Hi Thomas,
Where can I find details about these measurements, patches, etc.? What
The above test was more of a hardware level power measurement. There was no linux running on the board, only u-boot was running. The above test was a basic test at the hardware level to prove that by keeping the memory banks in precharge power-down mode, it is possible to save power. Since memory regions patches from IBM try to keep regions of memory idle most of the time, it can be implied that power can be saved by creating memory regions.
The test procedure was
- Exynos4 processor has two dynamic memory controllers (DMC0 and DMC1).
- Each DMC is connected with 1G of DDR3.
- u-boot resides in the memory region controlled by DMC0.
- Memory region controlled by DMC1 was kept idle (no read/write access).
- Due to no read/write access, DMC1 puts all the banks of DDR3 in
precharge power-down mode. (This is done automatically by the DMC when read/write access do no occur for a programmed number of clock cycles).
Correcting the power measurement numbers below.
- 6. Measure the current. (It was 0.71mA). + 6. Measure the current. (It was 0.71A).
- Now write 4-byte word continuously at each 32MB boundary of the 1GB
memory connected to DMC1.
- 8. Measure the current. (It was 0.77mA). + 8. Measure the current. (It was 0.77A).
- All the measurements are at the 5V power source.
- To measure current at DDR3 level, some board rework is required,
which I will try to do.
(For step 7, probably using DMA channels to write to memory would be better, instead of using the CPU).
<snip>