欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PPT文档下载
    分享到微信 分享到微博 分享到QQ空间

    Analysis of Parallel Algorithms for Energy Conservation in .ppt

    • 资源ID:378353       资源大小:1.84MB        全文页数:35页
    • 资源格式: PPT        下载积分:2000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要2000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    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,


    注意事项

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




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

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

    收起
    展开