Energy Consumptiom Measurement and Analysis Tool

We bring together the physical measurement and execution semantics. When profiling a program segment, we record the execution activities of every process in operating system with low overhead and measure the energy of embedded system in high sample rate to achieve improved physical measurement. We also implement an analysis tool to analyze the data from kernel and physical measurement to provide an overall system information, which includes scheduling result with power information and a profile of energy usage by processes. The tool can help researchers in power consumption optimization to evaluate their work more efficiently and accurately.

Architecture

:projects:power_measurement_architecture1.jpg

How to measure power consumption

Assume: V(total) and R are fixed.

V(total) = V + V'
R(total) = R + R’( board 的總電阻,會隨著是否開啟board的某些功能而變化)
I = V / R = V’ / R’ = V(total) / R(total) (流過的電流都一樣)
P(板子量到的功率) = IV’(單位:Watt)

Experiment on MP3

MP3 Walkman is almost the most popular hand-held multimedia player, and the endurance of a MP3 player has become an critical issue. We validate this tool and establish a standard approach of MP3 energy measuring by a large number of experiments. Different optimizations of a MP3 player or variable lengths, bit rates, and music styles of a MP3 music are considered in the experiments, and we make use of a statistical approach to verify the measurement results. We believe the experiment approach using energy consumption measurement and analysis tool can be adopted to other applications as well.

Future Work

In addition to providing the information of performance and energy consumption in finer granularity, we will further assist the developers in reducing the energy consumption of their software by compilation technique. We have observed various efects of energy consumption from different sources by previous experiments. We can make use of the information and experiences to improve the optimization function of compiler especially on energy consumption. On the other hand, we will analyze detailed energy behavior of some program segment. It is enough to identify sources of measured energy consumption from different hardware components. We can design some parameters of each component to characterize the energy model for our analysis.

Setup the Environment (For Members)

初始動作

1.開啟Domingo⇒選擇New Progect

2.出現Hardware Option對話框 設定如下

TargetMachine 選擇 WINeZ(WIN2K)ARM
Processor     選擇 S3C2410X
Memory        選擇 Little Endian
Non-cacheable Memory Address(Reserved 8 Bytes) 設定為40000000

3.Peripheral Configuration Manager(PCM)

"To Initialize PCM..." 打勾 => 再按"Config PCM..."鈕

4.設定PCM檔 按”Import…“鈕 選creator_s3c2410.PCM 再按OK

5.資料夾可以自己定義

6.回到主畫面 再到上方功能列選Config⇒OS Support 選Linux(2410)

7.設定Domingo for Linux 與 ICE 為連結狀態

Debug=>Connect 使其連結

8.連結成功後將Kernel Image 和 roorfs 燒到 NAND Flash中

燒錄NAND Flash

0.初始動作

1.設定Flash燒錄位置

Config=>Flash Program...

page:NandFlash
Select Device:K9F5608U0B (型號依照Creator-S3C2410子板上之U11使用的IC而定)
Memory Map:
   RAM Start:       0x30000000     RAM End:   0x31FFFFFF
   FLASH START:     0x00000000     FLASH End: 0x00FFFFFF
   Flashing Offset: 0x00000000
Flashing Setting:
   Check Device ID: checked
   Apply PCM:       checked
Image File: 選擇 Image 所在位置

2.燒錄開始⇒按”Start”鈕

燒錄Root filesystem

0.初始動作

1.1.設定Flash燒錄位置

Config=>Flash Program...

page:NandFlash
Select Device:K9F5608U0B (型號依照Creator-S3C2410子板上之U11使用的IC而定)
Memory Map:
   RAM Start:       0x30000000     RAM End:   0x31FFFFFF
   FLASH START:     0x00000000     FLASH End: 0x00FFFFFF
   Flashing Offset: 0x00200000
Flashing Setting:
   Check Device ID: checked
   Apply PCM:       checked
Image File: 選擇 file system 所在位置

2.燒錄開始⇒按”Start”鈕

Possible Problems & Tips before you install (For Members)

Problem:
 1.When the environment has been setup, the power supply can not offer enough power to the board.
  sol:Do not use the some machine for the Host used to connect the board and the computer to analysis the power consumption.
 2.I have already setup the environment, but nothing appear on the terminal?
  sol: Check the voltage is enough to offer the board, if not working, Check the pin J19 and pin J3      are plugged at the right way and make sure you are burning a useful kernel image and file system.      Also check the ICE is disconnect with the board.

Tips:
 1.There is a sample in our NAS (public/Users/kilroy/PC), if you want to take a try, go for it!
   The content of the sample include as below:
     zImage.
     root filesystem.
 2.If you burn your kernel or file system by using ICE, there will be some advises:
   After you finish burning, you must cut the connection between ICE and the board, or something bad will happen!
   And do not forget to turn off the power before cut then off.
   When you want the check the check the pin J19 and pin J3 are plugged at the right way.
 3.You can use NFS to mount your Host's directory on your target, but if you want to setup the target after boot right away, modify the root file system is a better choice.

projects/pmtool.txt · 上一次變更: 2008/04/03 20:13 由 wytai
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0