weng-fai wong 黄荣辉 dept. of computer science national university of singapore

30
Performance and Energy Bounds for Multimedia Applications on Dual-processor Power-aware SoC Platforms Weng-Fai WONG 黄黄黄 Dept. of Computer Science National University of Singapore Joint work in collaboration with Zhu Yongxin, Samarjit Chakraborty

Upload: vladimir-reyes

Post on 01-Jan-2016

100 views

Category:

Documents


1 download

DESCRIPTION

Performance and Energy Bounds for Multimedia Applications on Dual-processor Power-aware SoC Platforms. Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore. Joint work in collaboration with Zhu Yongxin, Samarjit Chakraborty. Background. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Performance and Energy Bounds for Multimedia Applications on

Dual-processor Power-aware SoC Platforms

Weng-Fai WONG黄荣辉

Dept. of Computer ScienceNational University of SingaporeJoint work in collaboration with

Zhu Yongxin, Samarjit Chakraborty

Page 2: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Background• SoC platforms become more complicated than

classic embedded systems by carrying out multiple tasks:– to record music received by software radio– to play games while downloading another one– to talk over GPRS/3G mobile phone which stays

online checking emails– ….

• Needs to quickly explore design space of SoC for multimedia processing

• Emergence of multi-core technology

Page 3: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Background• Analytical approaches are necessary due to

unacceptable overheads of simulation practices to study multiple design tradeoffs

• Many efforts for performance enhancement to ensure the quality of service such as a guaranteed playback rate

• A few power-awareness efforts – dynamic voltage and frequency scaling (DVFS)– dynamic power management (DPM)

Page 4: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

A Motivating Problem

• Under a performance constraint, how to minimize energy dissipation by trading off among:– dynamic frequency and voltage scaling

policies,– multiple frequencies of processors,– processor customization catering for

applications

Page 5: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Related Work• Yanhong Liu, Alexander Maxiaguine, Samarjit Chakraborty, and Wei Tsang Ooi.

Processor frequency selection in energy-aware SoC platform design for multimedia applications. RTSS 2004.

• Alexander Maxiaguine, Yongxin Zhu, Samarjit Chakraborty, and Weng-Fai Wong. Tuning soc platforms for multimedia processing: Identifying limits and tradeoffs. CODES+ISSS 2004

• L. Cai and Y.H. Lu. Energy Management Using Buffer Memory for Streaming Data, IEEE Transactions on Computer-aided Design of Integrated Circuits and Systems, 24(2):141-152, 2005

• Validation of the models against simulation results and metrics on physical processors

• Co-optimization of performance and power

Page 6: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Methodology• Network calculus models to identify the

upper and lower bounds using variability characterization curves

Page 7: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Variability Characterization Curves

• Workload curves

• Consumption curves

Page 8: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Variability Characterization Curves

Production curves

Service curves number of available cycles, subject to schedulers such as duty cycles

Number of activations

Page 9: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Power Model

• Active time – where Li is the length of activation on the i-th PE, Ωi is

the frequency of the PEi

• Leakage power – where Isubn is the sub-threshold current, Vbs is the body

bias voltage, and Ij is the reverse bias junction current

• Switching overhead – where ρi is the scheduling period of PEi, Dwakeup is the

wake-up delay, pidlep,i is the dynamic power of PEi in

the idle mode

Page 10: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Power Model (cont’d)

• PE’s energy

• Buffer’s energy– where Qmax

i is the maximum buffer fill level of the i-th buffer, pb

i is the i-th buffer’s dynamic power

• Total energy

Page 11: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Experiment Setup

• Map an MPEG-2 decoder onto PE1 and PE2

• Setting 1: parameters of Intel 80200 Xscale processor

• Setting 2: parameters based on Transmeta Crusoe processor scaled up to 70nm technology

• Buffer’s specifications are Micro SDRAM parameters

Page 12: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Experiment Setup (cont’d)

Page 13: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

A Motivating Problem

• Under a performance constraint, how to minimize energy dissipation by trading off among:– dynamic frequency and voltage scaling

policies,– multiple frequencies of processors,– processor customization catering for

applications

Page 14: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

How do scheduling policies affect the constraint?

Page 15: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Results on Underflow Possibilities

Underflow possibilities associated with scheduling periods (733MHz)

Page 16: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Results on Underflow Possibilities (cont’d)

Underflow possibilities associated with varying duty cycles (633MHz)

Page 17: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Which is more sensitive to schedulers, the buffer’s energy or PE’s energy?

Page 18: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Bounds of Buffer’s Energy

Bounds of buffer’s maximum energy associated with the same frequencies of PEs with SDRAM buffers under varying duty cycles

Page 19: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Bounds of Total EnergyBounds of maximum total energy associated with the same frequencies of PEs with SDRAM buffers under varying duty cycles

Page 20: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

A Motivating Problem

• Under a performance constraint, how to minimize energy dissipation by trading off among:– dynamic frequency and voltage scaling

policies,– multiple frequencies of processors,– processor customization catering for

applications

Page 21: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

How to reduce energy by choosing frequencies without

undermining the quality of service?

Page 22: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Choosing Frequencies along the Boundary

Bounds of maximum total energy associated with the combinations of frequencies of PEs with SDRAM buffers a duty cycle of 0.9

Page 23: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Choosing Frequencies along the Boundary (cont’d)

• Noting the surface almost monotonously increases with the frequencies except for the starting point

• Choosing frequency combinations along the boundary of the area can minimize energy without violating the performance constraint

Page 24: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

A Motivating Problem

• Under a performance constraint, how to minimize energy dissipation by trading off among:– dynamic frequency and voltage scaling

policies,– multiple frequencies of processors,– processor customization catering for

applications

Page 25: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

What to trade off if the frequencies are fixed?

Page 26: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Shifting of the Best Duty CycleBounds of maximum total energy associated with the combinations of frequencies of PEs with data cache buffers varying duty cycles

Page 27: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Summary

• An analytical framework based on VCC to identify both performance and energy bounds

• Studied the impacts of scheduler policies

• Explored the tradeoffs of frequencies

• Explored processor customizations

Page 28: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Next Steps

• Include more hardware details– Hierarchical cache systems– Communication mechanisms such as buses

• Co-optimization algorithms

• Detailed validations of the model

Page 29: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

EASEL: Engineering Architectures and Software for the Embedded Landscape

Page 30: Weng-Fai WONG 黄荣辉 Dept. of Computer Science National University of Singapore

Thank You!