用户名: 密码: 验证码:
基于蚁群算法的网格资源调度研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
网格是构筑在互联网上的一组新兴技术,它把分布在不同地理位置上的各种计算资源整合在一起,不仅为用户提供了一个高性能的计算环境,而且也实现了资源更广泛意义上的共享。资源调度对于网格这样大规模的远程操作系统,非常重要,因为它直接影响到网格资源利用率,关系到网格系统的功能能否有效实现。而网格具有异构性、动态适应性、资源广泛分布与共享、自治性与多级管理等特殊性,这决定了网格系统中网格资源调度策略选择的重要性与复杂性。
     网格中的资源调度问题是一个NP问题,而蚁群算法已被证明是解决NP问题的一种有效算法,因此,本文研究基于蚁群算法的资源调度策略。
     首先研究了网格中的资源调度问题。介绍了网格定义及特点,在分析网格主要的体系结构、对比几种流行的网格仿真工具的基础上,着重研究了GridSim中的资源调度过程,然后对蚁群算法进行了研究,介绍了蚁群算法的生物学原理,给出了蚁群算法的数学模型,并对蚁群算法解决TSP问题进行实验,得出了蚁群算法中影响算法性能的重要因素。
     本文还按照软件工程的方法对基于蚁群算法的资源调度策略进行了设计。在使用蚁群算法进行网格资源调度的可行性分析的基础上,分析了使用GridSim进行网格资源调度时,影响调度性能的关键因素;在调度算法的概要设计与详细设计中,重点设计了资源选择策略与资源处理策略,并对基于蚁群算法的资源调度策略进行了仿真,给出了创建资源与任务的过程以及资源调度策略模拟的伪代码,对实验结果进行了分析与评价。
     实验结果表明,本文设计的基于蚁群算法的资源调度策略具有可行性,能够缩短任务完成时间,改善网格负载平衡状况,从而提高网格资源利用率与其整体性能。
Grid is a group of technologies built on Internet, which integrates the various computing resources locating in different places, offering an environment of high performance to its users and realizing the resource sharing in a wide range. Resource scheduling is very important in Grid system, one of the large-scale remote operating systems, as it matters the resource utilization of the Grid system directly and whether the whole functions could be realized effectively. Grid is featured with heterogeneousness, dynamic adaptability, resources' sharing and wide distribution, autonomy and multi-layer management, all of which determine that the importance and complexity of selecting resource scheduling policy for Grid environment.
     Resource scheduling in Grid system is one of NP problems, to which Ant Colony Algorithm (ACA) has been proved to be one of the effective solutions. That's why the research focuses on designing and simulating a Grid resource scheduling strategy based on ACA.
     In the very start, resource scheduling in Grid system has been studied, for which the work below has been done: the definition of Grid together with the main features and popular architectures are introduced, followed by the introduction and compare of several Grid simulating tools among which GridSim, whose resource scheduling process is studied in detail, is considered as the best choice for the later work of simulation after analyzing. Then the study on ACA has been done, the biological principles of ant colonies and its mathematical model illustrated, and practical experiments on ACA applied to TSP executed, whose results are showed out and analyzed to conclude the significant factors in the algorithm performance.
     With the work above, the resource scheduling policy in Grid environment based on ACA is designed on the software engineering basis, which means firstly the feasibility of ACA applied into Grid resource scheduling is analyzed and the main factors taking important parts in scheduling performance under Grid environment are determined after simulating resource scheduling process with GridSim, and then the preliminary designing and detailed designing are completed, in which the design of resource allocating policy and resource processing policy is the key point and the Grid resource scheduling policy based on ACA is simulated, which includes the creation of resources and tasks, the design of Pseudo Code and illustration and evaluation of the experimental results.
     The experimental results have showed that the resource scheduling policy based on ACA is feasible and improves the usage efficiency of resource and the general performance of Grid system by shortening the completing time of tasks and bettering the load balancing among Grid resources.
引文
[1]王西龙.网格计算系统的安全技术.微计算机信息,2006,(21):105-106.
    [2]应宏,钟静.网格技术的安全策略.网络安全技术与应用,2004,(7):42-44.
    [3]史士英,刘法胜,刘兰风.网格计算与安全策略.山东交通学院学报,2004,12(1):64-67
    [4]网格基础概念FAQ.http://www.chinagrid.net/dvnews/show.aspx?id=645&cid=34.2008-2-16.
    [5]Globus.http://www.globus.org.2008-2-16.
    [6]A.Grimshaw,M.Humphrey,A.Natrajan.A philosophical and technical comparison of legion and globus.IBM Journal of Research and Development,2004,48(2).
    [7]IBM developerWorks中国:Grid computing:网格计算新手入门.http://www.ibm.com/developerworks/cn/grid/newto/.2008-2-16.
    [8]洪学海,许卓群,丁文魁.网格计算技术及应用综述.计算机科学,2003,30(8):1-5,9.
    [9]李三立.随心所欲享用资源--先进计算基础设施的作用与意义.计算机世界报,2001,48;B1、B3.
    [10]曙光:4000A超级计算机亮相国家十五.http://www.edu.cn/newspmduct_1663/20060323/t20060323_142419.shtml.2008-2-16.
    [11]都志辉,陈渝,刘鹏.网格计算.北京:清华大学出版社,2003.128-129.
    [12]林昌松.网格安全技术大比拼.计算机安全,2005,(7):46-48,59.
    [13]朱福喜,何炎祥.并行分布计算中的调度算法理论与设计.武汉:武汉大学出版社,2003.
    [14]唐兵.基于动态价格机制的网格资源调度算法研究:[硕士学位论文].武汉:武汉理工大学通信与信息专业,2006.
    [15]王育峰,杨寿保.网格计算系统研究及发展方向.计算机科学,2002,29(06):16-18.
    [16]张颖峰,李毓麟.基于进化算法的网格计算资源管理调度系统.计算机工程,2003,29(15):110-111.175.
    [17]Ian Foster,Alain Roy,Volker Sander.A Quality of Service Architecture that Combines Resource Reservation and Application Adaptation[A].Proceedings of 8th International Workshop on Quality of Service[C].Britain,U.K:IEEE Press,2000.181-188.
    [18]赵俊,陈德人,黄昌勤.基于服务质量的可视化网格调度研究.计算机集成制造系统,2005,11(9):1279-1284.
    [19]Rajkumar Buyya.Economic-based Distributed Resource Management and Scheduling for Grid Computing[D].Melbourne,Australia:Monash University,April 12,2002.
    [20]黄家玮,费洪晓.网格安全问题及解决方案.现代计算机,2004,(12):32-35.
    [21]周巧婷,梁洪波.网格安全的分析和研究.淮南职业技术学院学报,2004,4(3):50-52.
    [22]Brian Fonseca.网格发展取得进展--实现负载平衡管理自动化.每周电脑报,2004,(10):32.
    [23]刘华志,李连,朱爱红.网格安全问题初探.微机发展,2004,14(2):114-116.
    [24]陈辉,王平.基于网格计算的安全体系结构分析.计算机时代,2004,(4):9-11.
    [25]陈旺虎,刘晨,李厚福.支持虚拟组织的语义基础设施的动态构建方法研究.计算机学报,2006,29(7):1127-1136.
    [26]高全泉.网格:面向虚拟组织的资源共享技术.计算机科学,2003,(30):1-5.
    [27]I.Foster,C.Kesselman,S Tuecke.The anatomy of the Grid:Enabling scalable virtual organizations.International Journal of High Performance Computing Applications,2001,15(3):200-222.
    [28]C.Morin.XtreemOS:a Grid Operating System Making Your Computer Ready for Participating in Virtual Organizations,Proceedings of ISORC 2007,10th IEEE International Symposium on Object/component/service-oriented Real-time distributed Computing,May 2007.
    [29]XtreemOS consortium.Design of an infrastructure for highly-available and scalable grid services.Deliverable D3.2.1,November 2006.
    [30]陈新,黄永忠,郭绍忠.两种流行的网格体系结构的比较.信息工程大学学报,2004,5(2):46-48.
    [31]叶从欢,孙世新.网格计算核心技术浅析.成都信息工程学院学报,2004,19(4):521-526.
    [32]应宏,王自全,陈晓峰.网格与Web服务的融合--OGSA与WSRF.计算机技术,2005,21(3):41-44.
    [33]戴振中.基于OGSA的网格计算核心技术研究.[硕士学位论文].上海:华东师范大学计算机科学与理论系,2004:4-6.
    [34]姚怡星,高阳.网格资源调度研究.计算机应用研究,2005(5):23-26.
    [35]Liu C,Yang L,Foster I,et al.Design and Evaluation of a Resource Selection Framework for Grid Applications.In:Proc.of the 11th IEEE Int'1 Symp.on High-Performance Distributed Computing.Washington:IEEE Computer Society,2002.63-72.
    [36]张峻,徐卫东,钟华.集中式任务管理网格就算调度算法.计算机工程与设计,2004,25(11):2044-2045.
    [37]Rajkumar Buyya,Manzur Murshed.GridSim:A Toolkit for the Modeling and Simulation of Distributed Resource Management and Scheduling for Grid Computing.The Journal of Concurrency and Computation:Practice and Experience(CCPE),Nov.-Dec.,2002,14(13-15),Wiley Press.
    [38]熊磊,李元香.网格计算资源调度策略的三级模式.计算机工程与应用,2005,(1):96-97。
    [39]张军,常艳,谢向辉,等.负载平衡的多级并行对等计算在新药研发网格中的实现.计算机研究与发展,2004,41(12):2047-2053.
    [40]桂小林,钱德沛.元计算系统的批模式启发式任务调度算法研究.计算机工程,2001,27(12):30-32.
    [41]R.F.Rreund,M.Gherrity.Scheduling resources in multi-user,heterogeneous,computing environ- ments with smartnet.In the 7th IEEE Heterogeneous Computing Workshop (HCW'98),1998.184-199.
    [42]A.Takefusa,S.Matsuoka,et al.Overview of a Performance Evaluation System for Global Computing Scheduling Algorithms[C].In:Proc.of the 8th IEEE International Symposium on High Performance Distributed Computing(HPDC8),1999.97-104.
    [43]Maheswaran,Shoukat A li,Siegel,et al.Dynamic matching and scheduling of a class of independent tasks onto heterogeneous computing systems[C].In:Proceedings of the 8th IEEE Heterogeneous Computing Workshop(HCW'99).IEEE Computer Society Press,1999.30-44.
    [44]K.Aida,A.Takefusa,H.Nakada et al.Performance evaluation model for scheduling In a global computing system.The International Journal of High Performance Computing Applications,Vol.14,No.3,Sage Publications,USA,2000.
    [45]H.Song,X.Liu,D.Jakobsen et al.The MicroGrid:A Scientific Tool for Modeling Computational Grids,Proceedings of IEEE Supercomputing(SC 2000),Nov.4-10,2000,Dallas,USA.
    [46]H.Casanova.Simgrid:A Toolkit for the Simulation of Application Scheduling,Proceedings of the First IEEE/ACM International Symposium on Cluster Computing and the Grid (CCGrid 2001),May 2001,Brisbane,Australia.
    [47]燕雪峰.SimGrid研究报告.http://www.chinagrid.net/grid/paperppt/GridTheory/SimGrid.pdf 2004-4-24.
    [48]刘泉.网络制造环境下产权保护与信息安全的若干基本理论及关键技术研究.[博士学位论文].武汉:武汉理工大学机械制造及其自动化,2004.
    [49]Rajkumar Buyya,David Abramson,and Jonathan Giddy.Nimrod/G:An Architecture for a Resource Management and Scheduling System in a Global Computational Grid.In Proceedings of the HPC ASIA'2000,the 4th International Conference on High Performance Computing in Asia-Pacific Region,Beijing,China,IEEE Computer Society Press,USA,2000.
    [50]R.Buyya,D.Abramson,J.Giddy.Nimrod-G:An Architecture for a Resource Management and Scheduling System in a Global Computational Grid.The 4th International Conference on High Performance Computing in Asia-Pacific Region(HPC Asia 2000),May 2000.
    [51]张会福,周祖德,李方敏.制造资源共享网格接口模型研究.中国机械工程,2005,16(5):424-427.
    [52]Nithiapidary Muthuvelu,Junyang Liu,Nay Lin Soe.Task Scheduling for Coarse-Grained Grid Application.Proceedings of the 3rd Australasian Workshop on Grid Computing and e-Research,2005,Newcastle,Australia.
    [53]Dorigo M,Bonabeau E,Theraulaz G.Ant algorithms and stigmergy[J].Future Generation Computer Systems,2000,16:851-871.
    [54]Colomi A,Dorigo M,Maniezzo V,et al.Distributed optimization by ant colonies.Proceedings of the 1st European Conference on Artificial Life,1991,134-142.
    [55]王玥,陶洪久.蚁群优化算法在TSP中的应用.武汉理工大学学报信息与管理工程版,2006,28(11):24-26.
    [56]Marco Dorigo and Luca Mafia Gambardella.Ant colonies for the traveling salesman problem[J].BioSystems,1997,43(2):73-81.
    [57]段海滨.蚁群算法及其在高性能电动仿真转台参数优化中的应用研究.南京:南京航空航天大学博士学位论文,2005.
    [58]段海滨,王道波,朱家强,等..蚁群算法理论及应用研究的进展.控制与决策,2004,19(12):1321-1326,1340.
    [59]Dorigo M,Di Caro G.The ant-colony optimization meta-heuristic.New Ideas in Optimization,London:McGraw-Hill,1999.
    [60]Dorigo M,Di Caro G,Gambardella L M.Ant algorithm for discrete optimization.Artificial Life,1999,5(2):137-172.
    [61]Eyckellhof C J.Ant Systems for dynamic problems.Ph.D.Thesis,University of Twente,Netherlands,2001.
    [62]丛珊.基于GridSim的网格模拟技术的研究.[硕士学位论文].哈尔滨:哈尔滨工业大学计算机科学与技术专业,2006.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700