




全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
多核并行技术论文:基于任务并行策略的多核程序优化研究【中文摘要】随着多核处理器的普及,如何有效利用多核处理器资源,成为了并行计算领域的研究热点。现在很多应用程序都是在单核单线程环境下开发的,在多核环境下还是以单线程形式执行,导致了多核资源的浪费。为了能够充分发挥多核潜力,提升应用程序的性能。本文在深入分析多核并行技术的前提下,研究了基于任务并行策略的多核程序优化技术。任务并行的优势在于它是轻量级的组件,调度任务的开销要比调度进程和线程的开销小。通过研究Intel线程构建模块(TBB),本文提出了基于任务调度器的的并行优化方法。该方法是通过任务调度器创建线程池管理任务,采用任务密取技术负载均衡地把任务自动地映射到多个逻辑线程上并行执行,从而提高多核资源的使用效率和应用程序的性能。针对多核集群环境提出了一种层次任务并行化方法,上层MPI提供节点间进程级的任务并行,下层TBB提供多核节点内部的任务并行。结合两者的优势,实现进程和处理节点以及线程和多处理核的两级并行。为了验证以上两种方法的高效性,以N皇后经典算法为例,分别在共享存储模型TBB和混合并行编程模型MPI+TBB环境下进行了循环迭代的并行化测验。实验结果表明,共享存储模型并行化的加速比和CPU利用率都能达到一个可观的数值,体现了任务调度器并行化的优越性;采用任务划分的混合并行编程模型不但可以减少程序执行时间,获得更好的加速比和执行效率,而且明显地提高了多核集群并行性能。最后本文以模糊C均值算法为例,运用OpenMP工作分区编码,实现了多核平台下的串行程序热点区域的任务并行化。运用Intel parallel studio高性能工具对并行化结果进行验证,从执行时间和并发性方面进行了比较,其性能都有了很大的提高。体现了任务并行策略通用性和可靠性的特点,对多核应用程序的性能优化有很好的实用性。【英文摘要】With the popularity of the multi-core processor.How to effectively use the multi-core processor resources, become a research hotspot of parallel computation field. Now many applications are developed in mononuclear environment.In multi-core environments execution with single thread, led to many waste of multi-core resources. In order to give full play to multi-core potential and ascending application performance.Analysis of parallel technology under the premise of multi-core , research of multi-core program optimization based on task parallel strategies . The advantage of task parallel is lightweight components, Start and end task of spending small than to create and distribution of the threads.Through studying the Intel thread building blocks (TBB), This paper puts forward the parallel optimization methods based on task scheduler,.This method is through the task scheduler create a thread pool management tasks,using task stealing technology load balancing, The task automatically mapping to multiple logical thread parallel execution. So as to improve the utilization efficiency of multicore resources and the performance of the program. For multi-core clusters environment made a multilayer task to parallelize method, Provide upper between the nodes MPI parallel process task, The lower TBB provide multi-core node internal task parallel. The advantage of both, achieve progress and processing nodes,threads and core the two levels of parallel processing. In order to validate the efficiency of two methods mentioned above, Classical algorithm with N queen as an example, In a Shared storage model TBB and mixed parallel programming model environment TBB +MPI runing the iterative parallelization test. Experimental results show that sharing storage model parallelization speedup ratio and CPU utilization can achieve a considerable numerical, reflected the task scheduler parallelization superiority.,and obviously improve the cluster parallel performance.Finally based on fuzzy c-means algorithm as an example, using the OpenMP work division coding, realize the serial program hot spots task parallelism. Intel studio parallelize of high performance tools to parallelize results were verified, Comparison the results of execution time and concurrent, its performance has improved a lot. Confirm the task of parallel strategies stality and realibility characteristic,it is a good practicability for mang multi-core application performance optimization .【关键词】多核并行技术 任务并行策略 多核集群 线程构建模块 OpenMP【英文关键词】Multi-core parallel technology Task Parallel Strategies Multi-core clusters Thread building blocks OpenMP【目录】基于任务并行策略的多核程序优化研究摘要3-4Abstract41 绪论8-111.1 研究背景及意义81.2 国内外多核技术的研究现状8-91.3 论文的主要内容9-101.4 论文的组织结构10-112 多核并行化相关理论11-222.1 多核并行基础知识11-152.1.1 多核处理器112.1.2 多核集群11-122.1.3 并行性能指标12-132.1.4 任务分解原则13-152.2 并行化开发环境15-222.2.1 共享存储模型OpenMP15-172.2.2 消息传递模型MPI17-182.2.3 线程构建模块TBB18-202.2.4 Intel Parallel Studio 高性能工具20-223 线程构建模块任务调度22-333.1 任务调度器22-263.2 N 皇算法的任务并行26-283.3 测试与分析28-323.4 本章小结32-334 多核集群的任务并行33-384.1 混合
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 跨组别沟通课件
- 医院新员工培训
- 儿童计数能力培养课件
- 2025版海洋环境保护技术研发科研技术服务合同
- 时代光华课件智能制造
- 二零二五年度离婚不离家财产分割与子女抚养权共享协议
- 二零二五年度进出港快件短驳运输与跨境电商物流服务协议
- 二零二五年度环保设备售后服务协议范本正规范本
- 二零二五版绿化工程园林植物保护劳务合同范本
- 二零二五年商业街承包招商合同模板
- 体外诊断试剂盒工艺验证方案
- 整理版外科病人营养补液课件
- 特殊教育学校高质量发展评价指标体系
- 检验科医师(技师)晋升高级职称病例分析专题报告汇编三篇
- 地下室抗浮计算含锚杆计算表格(自动版)
- 职业健康体检表
- Q∕GDW 10343.8-2020 安全设施标准 第8部分:物业服务场所
- 原地面测量记录
- fragstat指数归纳
- 脂肪醇聚氧乙烯醚型非离子表面活性剂的生产技术
- 建设管理部的工作职责
评论
0/150
提交评论