ImageVerifierCode 换一换
格式:PPT , 页数:35 ,大小:1.84MB ,
资源ID:378353      下载积分:2000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-378353.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(Analysis of Parallel Algorithms for Energy Conservation in .ppt)为本站会员(sumcourage256)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

Analysis of Parallel Algorithms for Energy Conservation in .ppt

1、Analysis of Parallel Algorithms for Energy Conservation in Scalable Multicore Architectures,Vijay Anand Reddy and Gul Agha University of Illinois,2,Overview,Motivation Problem Definition & Assumptions Methodology & A case study Related Work & Conclusion,3,Energy and Multi-core,2% of energy consumed

2、in the US is by computers. Efficiency = Performance/Watt Want to optimize efficiency: Low power processors are typically more efficient. Varying the frequency at which cores run to balance performance and energy consumption.,4,Parallel Programming,Parallel programming involves Dividing computation i

3、nto autonomous actors Specifying interaction (shared memory or message passing) between them.,Parallel Performance,How many actors may execute at the same time: Concurrency Index The number of available cores The speed at which they execute How much and when they need to communicate: Communication o

4、verhead Network congestion at memory affects performance Performance depends on both the parallel application and parallel architecture.,5,Scalable Multicore Architectures,We are interested in (energy) efficiency as the number of cores are scaled up Can multicore architectures be scaled up?,6,7,Perf

5、ormance Vs Number of cores,Taken from IEEE spectrum Magazine (Sandia Research Labs),Increasing Cores may not benefit parallel programming applications if shared memory is maintained.,8,Message Passing, Performance and Energy Consumption,Parallel programming involves message passing between actors. I

6、ncreasing the number of cores: Leads to an increase in the number of messages communicated between them. Increasing cores may reduce performance. May lead to increased energy consumption. Depends on the parallel application and architectural parameters.,9,Energy versus Performance,For a fixed perfor

7、mance target, increasing cores may decrease the energy consumed for computation: Cores can be run at lower frequency But increasing cores will also increase the energy consumed for communication.Question: what is the trade off? Depends on the parallel application. Depends on the network architecture

8、. Depends on the memory structure at each core.,10,Energy Scalability under Iso-Performance,Given a parallel algorithm, an architecture model and the performance measure, what is the appropriate number of cores required for minimum energy consumption as a function of input size? Important for respon

9、se time in interactive Applications.,11,Simplifying Architectural Assumptions,All cores operate at the same speed. Speed of cores can be varied by frequency scaling. Computation time of the cores can be scaled (by controlling the speed), but not communication time between cores. Communication time b

10、etween cores is constant. No memory hierarchy at the cores.,12,Energy Model,Energy: E = Ec (number of cycles) T X3 Where Ec is hardware constant X is the frequency of the processor Running Time T = (number of cycles) (1/X),13,Constants,Em : Energy Consumed per message. F : Maximum frequency of a cor

11、e. N : Input Size. M : Number of cores. Kc : Number of cycles at max frequency for single message communication time. Pidle : Static power consumed per unit of time.,14,Case Study: Adding N Numbers,Example N numbers 4 Actors,N/4 additions,1,2,3,4,Communication period,In the end, actor 1 stores the s

12、um of all N numbers,15,Methodology,Step 1: Evaluate the critical path of the parallel algorithm,1,2,3,4,16,Methodology,Step 1: Evaluate the critical path of the parallel algorithmStep 2: Partition the critical path based on communication and computation steps.,1,2,3,4,Computation,Communication,17,Me

13、thodology,Step 3: Scale computation steps so that the parallel performance matches the sequential performance.F = F (N/M 1 + log(M) N log(M) Kcwhere is the number of cycles per addition,1,2,3,4,18,Methodology,Step 3: Scale computation steps so that the parallel performance matches the sequential per

14、formance.Step 4: Evaluate number of messages sends in the parallel algorithm,1,2,3,4,M 1 Messages,19,Methodology,Step 5: Frame an equation for energy consumption for the parallel application Energy for communicationEcomm = Em (M - 1)Energy for computationEcomp = Ec (N - 1) F2 Energy for Idle Computa

15、tion (static power).,20,Methodology,Step 6 : Analyze the equation to obtain appropriate number of cores required for minimum energy consumption as a function of input size.Differentiate w.r.t. the number of cores.,21,Plot: Energy-N-M, = 1Kc = 5 unitsEm / (Ec F2)= 500 Ps /F = 1,270 cores atN =1010,70

16、 cores at N = 108,Sensitivity Analysis ( k = Em / (Ec F2 ),22,As k increases , optimal number of cores decreases.,Nave Quicksort,Assume input array is on a single core. A single core partitions an array and sends part of it to another core. Recursively divide the array until all the cores are used (

17、assume static division). Merge the numbers.,23,Nave Quicksort Analysis,24,25,Case Study: Nave Quicksort,Energy,No: of Cores,Input Size,No Tradeoff: Single Core is good enough,Parallel Quicksort,Data to be sorted is distributed across the cores (assume parallel I/O). A single pivot is broadcast to al

18、l cores. Each core partitions its own data Data is moved so that the lessers are at cores in one region, and greaters are in another. Recursively quicksort each region.,26,Parallel Quicksort Analysis,27,Parallel Quicksort Algorithm,28,Comparing Quicksort Algorithms,Recall: Parallel Quicksort has sca

19、lability characteristics under performance iso-efficiency compared to that of Nave Quicksort. (Vipin. et al.) Both Quicksort algorithms have similar bad energy scalability under Iso-performance characteristics.,29,LU Factorization,Given an N x N matrix A, find a unit lower triangular matrix L and an

20、 upper triangular matrix U, such that A = L U Use the coarse-grain 1-D column parallel algorithm,30,LU Factorization Analysis,31,32,Case Study : LU Factorization,33,Related Work,Hardware Simulation Based Technique (J. Li and J.F. Martinez) Runtime adaptation technique (online) Goal: Find the appropr

21、iate frequency and number of cores for power efficient execution. Search space: O(L M), where L is the number of available frequency levels and M is the number of cores. Prediction Based Technique (Matthew et.al) Performance prediction model with low runtime overhead: Dynamically adjust L and M . St

22、atistically analyzes samples of hardware rate events (collected from performance monitors). Based on profiled data collected from real work load,34,Conclusion and Future work,Theoretical methodology has been proposed to evaluate the Energy-performance tradeoffs for parallel applications on multi-cor

23、e architectures as a function of input size. We plan to analyze various genre of parallel algorithms for Energy-performance trade offs. We also plan to build on this methodology to consider various memory structures for energy analysis of parallel applications.,35,References,1. Introduction to Parallel Computing by Vipin Kumar et al. 2. Dynamic Power-Performance Adaptation of Parallel Computation on Chip Multiprocessor, J. Li and J.F. Martinez, 2006 3. Prediction Models for Multi dimensional Power-Performance Optimization on Many Cores. Matthew et al., 2008,

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1