Please wait a minute...
JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE)
Service Computing     
Towards resource allocation optimization for big data test field application
BAI Ru-fan, LEI Jian-kun, ZHANG Liang
College of Computer Science Technology, Shanghai Data Science Key Laboratory, Fudan University, Shanghai 201203, China
Download:   PDF(1048KB) HTML
Export: BibTeX | EndNote (RIS)      

Abstract  A two-phase optimization resource allocation solution was proposed to ensure fair and efficient allocation and meet the multiple users’ requirement, who applied for limited resources. First, the trade-off point in term of performance and resources for each type of application was determined automatically according to prevous logs. Then, according to the Dominant Resource Fairness principle, the number of instances that could be put into operation was automatically determined for each class of application to realize implement global optimized allocation. Therefore, characterastics like sharing incentive, strategy-proofness, envy-freeness and Pareto equilibrium on the system level were reflected. The solution’s generality was validated using the Clik+ benchmark package with Docker containers as operating environment. Results demonstrate that the two-phase optimization resource allocation solution can improve resource utilization, which can also optimize resource configuration when several users apply for resources simultaneously. Moreover, the feasibility and effectiveness of the proposed program was simulated and validated.

Published: 11 June 2017
CLC:  TU 111  
Cite this article:

BAI Ru-fan, LEI Jian-kun, ZHANG Liang. Towards resource allocation optimization for big data test field application. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2017, 51(6): 1225-1232.


面向大数据试验场应用的资源优化分配

针对多个用户申请有限的资源的情况,提出两段式优化资源分配方法,在满足用户需求的同时确保资源的公平有效分配.根据以往的执行日志自动确定单类应用相对于资源投入量的饱和点.根据占优资源公平分享原则,为每类应用动态确定可投入运行的实例数量,实现全局最优化配置,在平台层面体现资源共享、杜绝欺诈、公平最优以及帕累托均衡等特性.选择Clik+公用的基准测试程序集,以Docker容器作为应用运行环境验证应用的普遍性,实验结果表明:两段式优化资源分配方法提升了资源利用率,且在多用户同时申请资源时优化了资源配置.模拟并检验了两阶段优化资源分配算法的可行性及有效性.

参考文献(References):
[1] 李吉萍.复旦大学稳步推进大数据试验场建设[EB/OL].[2016-08-29].http:∥news.fudan.edu.cn/2016/0829/42127.html.
[2] 上海数据科学重点实验室.发展农业大数据产业的关键[R].[2016-07-09].http:∥wenku.baidu.com/view/4de92d88783e0912a3162aa9.html.
[3] 赵颖. Hadoop 环境下的动态资源管理研究与实现[D]. 上海交通大学, 2015.
ZHAO Ying. Research and implementation of dynamic resource management on Hadoop [D]. Shanghai: JiaoTong University, 2015.
[4] GHODSI A, ZAHARIA M, HINDMAN B, et al. Dominant resource fairness: fair allocation of multiple resource types [C] ∥ NSDI 2011.Boston: [s. n.], 2011: 24.
[5] KANBUR R. Pareto’s revenge [M]. New York: Cornell University, 2005: 2-8.
[6] TOMOIAGA B, CHINDRIS M, SUMPER A, et al. Pareto optimal reconfiguration of power distribution systems using a genetic algorithm based on NSGAII [J]. Energies, 2013, 6 (3): 1439-1455.
[7] VIJAY K. How well do we know Pareto optimality? [J]. The Journal of Economic Education, 1991, 22(2): 172-178.
[8] Cilk+的基准测试程序集[CP/DK]. Charles E. Leiserson: MIT CSAIL Supertech Research Group, 2010.
[9] BALALAIE A, HEVDARNOORI A, JAMSHIDI P. Microservices architecture enables DevOps: migration to a cloud-native architecture [J]. IEEE Software,2016, 33(3): 42-52.
[10] ALPERS S, BECKER C, OBERWEIS A, et al. Microservice based tool support for business process modelling [C] ∥ Enterprise Distributed Object Computing Workshop. Adelaide: IEEE, 2015: 71-78.
[11] NADAREISHVILI I, MITRA R, MCLARTY M, et al. Microservice architecture: aligning principles, practices, and culture [M]. O’Reilly Media, Inc, 2016. http:∥shop.oreilly.com/product/0636920050308.do
[12] RICHARDSON C. Introduction to microservices [EB/OL]. [2015-05-19].https:∥www.nginx.com/blog/introduction-to-microservices.
[13] DRAGONI N, GIALLORENZO S, LAFUENTE A L, et al. Microservices: yesterday, today, and tomorrow [J/OL]. arXiv preprint arXiv: 1606.04036. 2016: 1-17.
https:∥arxiv.org/abs/1606.04036.
[14] LE B, JEAN Y. Rate adaptation, congestion control and fairness: a tutorial [EB/OL]. (2012-08-23) [2016--11-21]. http:∥ica1www.epfl.ch/PS_files/LEB3132.pdf.
[15] JOE W, SEN S, LAN T, et al. Multiresource allocation: fairness-efficiency tradeoffs in a unifying framework [J]. IEEE/ACM Transactions on Networking, 2013, 21(6):
1785-1798.
[16] PARKES D, PROCACCIA A, SHAH N. Beyond dominant resource fairness: extensions, limitations, and indivisibilities [J]. ACM Transactions on Economics and Computation, 2015, 3(1): 1-18.
[17] BRIAN T. Finding the best trade-off point on a curve [EB/OL]. (2010-01-07)[2016-11-21]. http:∥stackoverflow.com/questions/2018178/finding-the-best-trade-off-point-on-a-curve.
[18] SUH C, MO J. Resource allocation for multicast services in multicarrier wireless communications [J]. IEEE Transactions on Wireless Communications, 2008, 7(1): 27-31.
[19] HAHNE E. Round-robin scheduling for max-min fairness in data networks [J]. IEEE Journal on Selected Areas in Communications, 1991, 9(7): 1024-1039.
[20] LAN T, KAO D, CHIANG M, et al. An axiomatic theory of fairness in network resource allocation [M]. [S.l]: IEEE, 2010: 1-17.
[1] Liang WANG,Hai-jian XIE,Jia-wei WU,Yun-min CHEN,Hao DING. Equivalent model for pollutant transport parameters of layered landfill liners[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2021, 55(3): 519-529.
[2] Liang CAI,Hong-cen ZHOU,Heng BAI,Zhen-gong CAI,Ke-ting YIN,Yi-jun BEI. Application load forecasting method based on multi-layer bidirectional LSTM and improved PSO algorithm[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2020, 54(12): 2414-2422.
[3] Jiang LU,Deng-hui WANG,Kang ZHAO,Shi-yun LIU. Experimental performance of intermittent space heating with different terminals in a self-thermal insulation building[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2020, 54(11): 2092-2099.
[4] Yan ZHANG,Bin GUO,Qian-ru WANG,Jing ZHANG,Zhi-wen YU. SeqRec: sequential-based recommendation model with long-term preference and instant interest[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2020, 54(6): 1177-1184.
[5] Wu-ming LENG,Qi-shu ZHANG,Fang XU,Hui-kang LENG,Ru-song NIE,Xiu-hang YANG. Additional confining pressure field and enhancement effect of prestressed embankment[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2020, 54(5): 858-869.
[6] Shao-heng HE,Tang-dai XIA,Bing-qi YU,Zhi DING,Min GAO,Hua-feng SHAN. Effect of temperature on volume strain and consolidation characteristics of calcareous sand[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2020, 54(2): 221-232.
[7] Hai-hui YUAN,Yi-min GE,Chun-biao GAN. Adaptive robust control of dynamic walking of bipedal robots under uncertain disturbances[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2019, 53(11): 2049-2057.
[8] Li DU,Biao MEI,Wei-dong ZHU,Zhen-zheng KE. Assembly variation prediction for compliant aeronautical structures using fuzzy interval analysis[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2019, 53(9): 1647-1655.
[9] Jian GE,Deng-hui WANG,Kang ZHAO. Influencing factors on infiltration rate of heating rooms in hot summer and cold winter zone[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2019, 53(7): 1415-1422.
[10] Shao-heng HE,Tang-dai XIA,Lian-xiang LI,Bing-qi YU,Ze-yong LIU. Influence of groundwater seepage on deformation of foundation pits with suspended impervious curtains[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2019, 53(4): 713-723.
[11] Yu-qi HUANG,Pan MEI,Xiao-ji CHEN,Chang-shui DENG. Heating strategy for electric vehicular battery pack based on CFD analysis[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2019, 53(2): 207-213.
[12] RUAN Fang, QIAN Xiao qian, QIAN Kuang liang,YU Ya chao,SHI Shui hua. Anti-insulation behavior for exterior wall external insulation on residential buildings in hot summer and cold winter zone[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2016, 50(12): 2343-2349.
[13] DONG Kai, LAI Jun ying, QIAN Xiao qian, ZHAN Shu lin, RUAN Fang. Energy efficiency of residential buildings with horizontal external shading in hot summer and cold winter zone[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2016, 50(8): 1431-1437.
[14] RUAN Fang, QIAN Xiao qian, ZHU Yao tai, WU Min li. Internal and external wall insulation effect on building energy efficiency with compartmental and intermittent energy consuming method[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2016, 50(1): 1-7.
[15] YI Si yang,JIN Hong qing,FAN Li wu,XU Xu,YU Zi tao,GE Jian. Transient determination of water vapor diffusion coefficient of porous building materials[J]. JOURNAL OF ZHEJIANG UNIVERSITY (ENGINEERING SCIENCE), 2016, 50(1): 16-20.