基于多核平臺的程序并行優(yōu)化研究
本文關(guān)鍵詞:基于多核平臺的程序并行優(yōu)化研究 出處:《長安大學》2012年碩士論文 論文類型:學位論文
更多相關(guān)文章: 多核 并行計算 OpenMP 性能優(yōu)化
【摘要】:隨著多核處理器的快速發(fā)展,多核并行計算已成為計算機領(lǐng)域的研究熱點。對于開發(fā)人員來說,由于處理器內(nèi)核數(shù)量的增加與內(nèi)核功能的變化,原有面向單核或者多處理器的軟件架構(gòu)已不再適于在多核處理器的硬件結(jié)構(gòu)上充分發(fā)揮多計算核心的能力,需要相應(yīng)軟件層面的共同發(fā)展。多核通用平臺開發(fā)不同于傳統(tǒng)的并行開發(fā)在于其平臺的通用性、開發(fā)周期的快速性和系統(tǒng)級配套輔助工具的使用等方面。因此,如何設(shè)計與開發(fā)針對多核處理器的應(yīng)用程序軟件,以充分發(fā)揮多核處理器帶來的巨大計算性能優(yōu)勢,已成為現(xiàn)階段軟件開發(fā)中的關(guān)鍵問題。 本文主要介紹了多核處理器的發(fā)展概況與多核并行編程技術(shù),分析了多核編程與單核編程和多機分布式編程之間的區(qū)別,深入研究了在實際應(yīng)用中迫切需要采用的并行程序設(shè)計模式;并利用Intel公司的VTune和Parallel Studio工具對醫(yī)療圖像數(shù)據(jù)檢查器的串行程序進行分析,找出影響程序性能的“熱點”區(qū)域,通過對循環(huán)并行化、數(shù)據(jù)保護和線程化等方面的并行優(yōu)化設(shè)計,,結(jié)合并行開發(fā)工具OpenMP設(shè)計出可以并行運行的程序,提出了一種完整且具有良好擴展性的多核并行程序的分析方法和調(diào)試步驟;在四核計算平臺上獲得了理想的加速比,提高了程序的計算性能。驗證了在多核計算平臺環(huán)境下利用并行程序設(shè)計理論和并行編程模式相結(jié)合開發(fā)軟件的優(yōu)越性,達到了對串行程序進行優(yōu)化的預期目標。
[Abstract]:With the rapid development of multi-core processors, multi-core parallel computing has become a research hotspot in computer field. For developers, due to the increase in the number of processor cores and changes in kernel functions. The original single-core or multi-processor software architecture is no longer suitable for the multi-core processor hardware architecture to give full play to the ability of multi-computing core. Different from the traditional parallel development, the common development of multi-core platform lies in the generality of the platform, the rapidity of the development cycle and the use of auxiliary tools at the system level. How to design and develop the application software for multi-core processors to give full play to the huge computing performance advantages brought by multi-core processors has become a key problem in the software development at this stage. This paper mainly introduces the development of multi-core processor and multi-core parallel programming technology, and analyzes the difference between multi-core programming and single-core programming and multi-computer distributed programming. The concurrent programming pattern which is urgently needed in practical application is deeply studied. The serial program of medical image data checker is analyzed by using VTune and Parallel Studio tools of Intel company, and the "hot spot" area which affects the performance of the program is found out. Through the parallel optimization design of loop parallelization, data protection and threading, combined with the parallel development tool OpenMP, a program that can run in parallel is designed. A complete and extensible analysis method and debugging steps of multi-core parallel programs are presented. The ideal speedup ratio is obtained on the four-core computing platform. The performance of the program is improved, and the superiority of using parallel programming theory and parallel programming mode to develop software is verified under the environment of multi-core computing platform. The expected goal of serial program optimization is achieved.
【學位授予單位】:長安大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP332
【參考文獻】
相關(guān)期刊論文 前7條
1 馬秋菊;何杏玉;;多核計算機環(huán)境下的并行程序設(shè)計方法[J];承德石油高等?茖W校學報;2010年01期
2 吳繼雁;;多核技術(shù)及發(fā)展趨勢[J];哈爾濱軸承;2007年02期
3 屈文新;樊曉椏;張盛兵;;多核多線程處理器存儲技術(shù)研究進展[J];計算機科學;2007年04期
4 王晗;林濤;;超線程技術(shù)以及H.264編碼器中的并行運算分析[J];計算機工程;2006年07期
5 賴建新;胡長軍;趙宇迪;王生原;張素琴;;OpenMP任務(wù)調(diào)度開銷及負載均衡分析[J];計算機工程;2006年18期
6 周斌;;LabVIEW——引領(lǐng)多核時代的編程語言[J];電子測試;2008年12期
7 程軍鋒;;Cache性能分析[J];新鄉(xiāng)教育學院學報;2009年01期
相關(guān)博士學位論文 前2條
1 陳榕;多核環(huán)境下面向數(shù)據(jù)并行編程模型的性能和可伸縮性研究[D];復旦大學;2011年
2 武華北;混合并行計算環(huán)境多級并行化編程模式的研究[D];天津大學;2009年
相關(guān)碩士學位論文 前10條
1 游佐勇;OpenMP并行編程模型與性能優(yōu)化方法的研究及應(yīng)用[D];成都理工大學;2011年
2 陳波;基于CPU-GPU異構(gòu)平臺的性能優(yōu)化及多核并行編程模型的研究[D];中國科學技術(shù)大學;2011年
3 謝克家;多核圖像處理并行設(shè)計模型的研究及應(yīng)用[D];重慶大學;2011年
4 伊君翰;基于多核的并行編程模型[D];復旦大學;2008年
5 李濤;基于多核平臺的海量地震數(shù)據(jù)并行處理技術(shù)的研究[D];中國地質(zhì)大學(北京);2009年
6 鄭鋒;圖像分析多核并行計算類庫的構(gòu)建與優(yōu)化[D];廈門大學;2008年
7 尹凱;基于總線架構(gòu)的多核系統(tǒng)編程模型及數(shù)據(jù)安全性研究[D];合肥工業(yè)大學;2009年
8 徐峗;并行開發(fā)多核技術(shù)下的測試測量應(yīng)用[D];復旦大學;2009年
9 曹婷婷;基于多核處理器串行程序并行化改造和性能優(yōu)化[D];西南交通大學;2009年
10 劉明生;多核并行編程技術(shù)在加速數(shù)字圖像處理中的應(yīng)用[D];西安建筑科技大學;2010年
本文編號:1394034
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1394034.html