天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 軟件論文 >

基于性能預(yù)測的Spark資源優(yōu)化分配策略

發(fā)布時間:2018-11-03 16:17
【摘要】:Spark已經(jīng)成為如今最流行的分布式大數(shù)據(jù)計算平臺,由于其高效的性能、良好的容錯性與統(tǒng)一性,在業(yè)界得到了廣泛的使用。但由于Spark平臺對數(shù)據(jù)的具體操作對于用戶來說是透明的,Spark上運行的任務(wù)受到許多因素的影響,比如數(shù)據(jù)的分區(qū)策略,算法的設(shè)計與實現(xiàn)以及節(jié)點的資源分配等等。使得對Spark性能預(yù)測的非常困難。本課題通過建立基于Spark任務(wù)結(jié)構(gòu)的性能模型,研究Spark任務(wù)在不同數(shù)據(jù)量、分區(qū)策略的情況下的執(zhí)行時間,并在此基礎(chǔ)上尋找任務(wù)執(zhí)行時間與集群資源消耗間的平衡,提出基于動態(tài)重分區(qū)的資源分配優(yōu)化策略。本文在細粒度監(jiān)控集群資源的基礎(chǔ)上,解析Spark任務(wù)各階段的執(zhí)行信息,建立基于Spark任務(wù)結(jié)構(gòu)的性能模型,通過大量的歷史實驗數(shù)據(jù)訓(xùn)練模型參數(shù),實現(xiàn)了對不同負(fù)載類型Spark計算任務(wù)的性能預(yù)測。在此基礎(chǔ)上,我們研究了分區(qū)策略對Spark執(zhí)行時間的影響,我們發(fā)現(xiàn)盡管增加節(jié)點的并行度可以在一定程度上提升計算任務(wù)的性能,但在一些情況下,性能提升的幅度與新增的資源消耗相比起來,可以認(rèn)為是微乎其微的,當(dāng)我們已經(jīng)滿足了用戶在任務(wù)運行時間方面的需求,這些微小的性能提升便可以忽略,相應(yīng)的,我們應(yīng)該在用戶給出的時間要求下盡可能的減少資源配置,以達到節(jié)約資源的目的。我們將會通過在一系列的實際Spark計算任務(wù)中加入動態(tài)重分區(qū)的方式尋找任務(wù)的最佳分區(qū)方案,提出基于任務(wù)時間預(yù)測的重分區(qū)策略。在不過多犧牲任務(wù)運行時間的前提下,節(jié)約集群資源,找到任務(wù)執(zhí)行時間與集群資源配置的平衡,指導(dǎo)用戶對Spark任務(wù)合理使用集群資源。本文通過實驗驗證了性能模型的合理性與對任務(wù)執(zhí)行時間預(yù)測的準(zhǔn)確性,取得了不錯的預(yù)測準(zhǔn)確性。在此基礎(chǔ)上我們提出基于性能預(yù)測的資源優(yōu)化分配策略,在Spark負(fù)載集合中通過動態(tài)重分區(qū)的方法,尋找優(yōu)化的集群資源分配策略,以取得任務(wù)執(zhí)行時間與集群資源消耗間的平衡。實驗結(jié)果表明,我們的優(yōu)化策略可以用戶給出的執(zhí)行時間內(nèi)較為明顯地節(jié)約集群資源,在任務(wù)執(zhí)行時間與集群資源消耗之間尋找到了良好的平衡。
[Abstract]:Spark has become the most popular distributed big data computing platform. Because of its high performance, good fault tolerance and unity, it has been widely used in the industry. However, because the operation of Spark platform is transparent to users, the tasks running on Spark are affected by many factors, such as data partitioning strategy, algorithm design and implementation, resource allocation of nodes and so on. This makes it very difficult to predict Spark performance. By establishing a performance model based on Spark task structure, this paper studies the execution time of Spark task under different data volume and partition strategy, and then finds out the balance between task execution time and cluster resource consumption. An optimal resource allocation strategy based on dynamic repartitioning is proposed. On the basis of fine-grained monitoring cluster resources, this paper analyzes the execution information of each stage of Spark task, establishes a performance model based on Spark task structure, and trains the parameters of the model through a large number of historical experimental data. The performance prediction of Spark computing task with different load types is realized. On this basis, we study the effect of partitioning policy on the execution time of Spark. We find that although increasing the degree of parallelism of nodes can improve the performance of computing tasks to some extent, in some cases, The performance improvement is considered to be minimal compared with the additional resource consumption, and when we have met the user's requirements for task runtime, these small performance improvements can be ignored. In order to save resources, we should reduce the allocation of resources as much as possible under the time requirement given by the user. We will find the best partitioning scheme by adding dynamic repartitioning to a series of actual Spark computing tasks and propose a repartitioning strategy based on task time prediction. On the premise of not sacrificing task running time too much, we can save cluster resources, find the balance between task execution time and cluster resource allocation, and guide users to use cluster resources reasonably for Spark tasks. The rationality of the performance model and the accuracy of the prediction of task execution time are verified by experiments in this paper. On this basis, we propose an optimal resource allocation strategy based on performance prediction, and find the optimized cluster resource allocation strategy through dynamic repartitioning in the Spark load set. To achieve a balance between task execution time and cluster resource consumption. The experimental results show that our optimization strategy can obviously save cluster resources in the execution time given by users and find a good balance between task execution time and cluster resource consumption.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP311.13

【相似文獻】

相關(guān)期刊論文 前7條

1 陶洋;黃濤;唐毅;;基于主機負(fù)載的任務(wù)執(zhí)行時間預(yù)測研究[J];計算機應(yīng)用;2009年10期

2 欒翠菊;宋廣華;鄭耀;張繼發(fā);;一種網(wǎng)格并行任務(wù)執(zhí)行時間預(yù)測算法[J];計算機集成制造系統(tǒng);2007年09期

3 韓耀軍;羅雪梅;;網(wǎng)格計算環(huán)境下任務(wù)執(zhí)行時間的組合預(yù)測[J];計算機工程;2006年21期

4 吉勤;李培峰;朱巧明;馬鋒明;;網(wǎng)格環(huán)境下基于分塊的任務(wù)執(zhí)行時間預(yù)測算法[J];計算機應(yīng)用;2009年07期

5 宋滸;李京;劉新春;;云環(huán)境中Bag-of-tasks應(yīng)用的多核虛擬計算資源分配機制研究[J];小型微型計算機系統(tǒng);2014年01期

6 張勰,龔龍慶;一種基于比特表的實時多任務(wù)新調(diào)度算法[J];單片機與嵌入式系統(tǒng)應(yīng)用;2003年09期

7 ;Evaluation of energy transfer and utilization efficiency of azo dye removal by different pulsed electrical discharge modes[J];Chinese Science Bulletin;2008年12期

相關(guān)會議論文 前1條

1 ;Study on the spark discharge plasma jet driven by nanosecond pulses[A];第十五屆全國等離子體科學(xué)技術(shù)會議會議摘要集[C];2011年

相關(guān)碩士學(xué)位論文 前10條

1 唐毅;網(wǎng)格環(huán)境中主機負(fù)載和任務(wù)執(zhí)行時間預(yù)測研究[D];重慶郵電大學(xué);2008年

2 廖志堅;基于歷史運行軌跡的時間約束參數(shù)預(yù)測的研究[D];廣東工業(yè)大學(xué);2007年

3 劉江輝;基于RT-CORBA的任務(wù)運行時間預(yù)測研究[D];廣東工業(yè)大學(xué);2005年

4 王韜;基于Spark的聚類集成系統(tǒng)研究與設(shè)計[D];西南交通大學(xué);2015年

5 陳曉康;基于Spark 云計算平臺的改進K近鄰算法研究[D];廣東工業(yè)大學(xué);2016年

6 牟善文;美國SPARK課程模式小學(xué)生體育課能量代謝特點及干預(yù)實驗研究[D];首都體育學(xué)院;2016年

7 李爭獻;基于Spark的移動終端信息推送系統(tǒng)的設(shè)計與實現(xiàn)[D];華南理工大學(xué);2016年

8 趙洋;基于spark的網(wǎng)絡(luò)廣告交易計費系統(tǒng)的設(shè)計與實現(xiàn)[D];哈爾濱工業(yè)大學(xué);2016年

9 尚勃;Spark平臺下基于深度學(xué)習(xí)的網(wǎng)絡(luò)短文本情感分類研究[D];西安建筑科技大學(xué);2016年

10 王海華;Spark數(shù)據(jù)處理平臺中內(nèi)存數(shù)據(jù)空間管理技術(shù)研究[D];北京工業(yè)大學(xué);2016年

,

本文編號:2308292

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2308292.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶1941b***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com
国产精品午夜福利在线观看 | 狠狠做深爱婷婷久久综合| 黄色在线免费高清观看| 中文字幕五月婷婷免费| 中文人妻精品一区二区三区四区| 东京干男人都知道的天堂| 殴美女美女大码性淫生活在线播放| 午夜精品麻豆视频91| 女厕偷窥一区二区三区在线| 色婷婷在线精品国自产拍| 日韩综合国产欧美一区| 国产成人精品在线一区二区三区 | 99国产精品国产精品九九| 欧美91精品国产自产| 九九热精品视频在线观看| 超薄肉色丝袜脚一区二区| 午夜免费精品视频在线看| 中文字幕高清免费日韩视频| 国产精品免费不卡视频| 亚洲免费黄色高清在线观看| 久久天堂夜夜一本婷婷| 韩国日本欧美国产三级| 精品国产91亚洲一区二区三区 | 精品国产丝袜一区二区| 日韩中文字幕免费在线视频| 国产成人精品国内自产拍| 国产三级欧美三级日韩三级| 国产精品一区日韩欧美| 精品人妻av区波多野结依| 国产内射一级一片内射高清| 亚洲中文字幕高清乱码毛片| 久久老熟女一区二区三区福利| 成年女人下边潮喷毛片免费| 日韩免费午夜福利视频| 亚洲综合天堂一二三区| 国产精品激情在线观看| 国产欧美性成人精品午夜| 不卡中文字幕在线免费看| 日韩欧美在线看一卡一卡| 亚洲国产成人精品一区刚刚| 日韩欧美国产精品自拍|