IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 5, No 2, September 2012 ISSN (Online): 1694-0814 www.IJCSI.org

Study on Cloud Computing Resource Scheduling Strategy Based on the Ant Colony Optimization Algorithm Linan Zhu1, Qingshui Li2, and Lingna He3 1

College of Mechanical Engineering, Zhejiang University of technology 2

College of computer science, Zhejiang University of technology

3

College of computer science, Zhejiang University of technology

Abstract In order to replace the traditional Internet software usage patterns and enterprise management mode, this paper proposes a new business calculation mode- cloud computing, resources scheduling strategy is the key technology in cloud computing, Based on the study of cloud computing system structure and the mode of operation, The key research for cloud computing the process of the work scheduling and resource allocation problems based on ant colony algorithm , Detailed analysis and design of the specific implementation for cloud resources scheduling . And in CloudSim simulation environment and simulation experiments, the results show that the algorithm has better scheduling performance and load balance than general algorithm. Keywords: Cloud computing; Task scheduling; Ant colony algorithm; MapReduce, CloudSim

1. Introduction Cloud Computing is hotspot for business institutions and research institutions, in last few years. It is mainly about how the computing resources are virtualized, and with scheduler the resources in the logical integration, focus on how to deal with data center resources virtualization, and user submitted to the mission needs and resources to maximum utilization rate for the user to provide services, The study data center of the services they provide types and service mode, How to efficient ly schedule user’s tasks, reasonable distribution system resources, to realize the resource load balance is also the key factors of raising the cloud computing platform performance and service quality .

2. Cloud Computing Cloud computing is in grid computing based on a new calculation model, is the next generation network computing platforms core technologies, It builds virtualization super computer, with ondemand rent way which provides data storage, analysis and scientific computing services through the distributed computing model and the resource pool technology. Cloud computing is also a kind of distributed computing, Through the virtualization technology will be distributed in the network computer resources of idle which combined into one huge resource pool, which is constituted as a super computing capacity of the computer. Calculation node can be put into dynamic system , all kinds of application system according to the need for computing resources, storage space and various software service, fully realize the dynamic autonomy function [1]; In general, cloud computing is a business purpose into forming the field network revolution, it is extension and development of parallel computing, distributed computing, and the grid computing. And increased many new features, the center thought is scattered through the high-speed network interconnection, Through the resource integration of virtual into pool way, to offer users of the WEB way, Users request a calculation, data center according to the task of segmentation and assigned suitable child nodes running, and the results of the calculation results are formed together and then returned to the user.

Copyright (c) 2012 International Journal of Computer Science Issues. All Rights Reserved.

54

IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 5, No 2, September 2012 ISSN (Online): 1694-0814 www.IJCSI.org

3. Cloud Computing System Structure Cloud computing is using parallel computing to solve big problems and the calculated resources can be measured in services to users of the utility computing platform. It employs distributed processing, parallel processing and grid computing and distributed database to improve processing, in the Internet broadband technology and virtualization technology based on the high speed of development was born [2].

55

Cloud computing platform is a strong network of collaborative work, using virtualization dynamic expansion each node calculation ability, Connected with a lot of computing resources and services operating resources, And their resources through the cloud computing platform combined, constitute a have super computing power and storage capacity computing center, Mainly includes the management system, deploy tools, and resources monitoring module. Cloud computing system structure is as shown in figure 1.

Fig. 1 The Structure of Cloud Computing

4. Task Scheduling Strategy of Cloud Computing Task scheduling is computer science which has been one of the hottest researches, there are many experts and scholars published papers and journals project to discuss the task scheduling problem. In addition, many emerging disciplines of their research findings are applied to solve the scheduling problem, such as genetic algorithms, neural networks; artificial intelligence and distributed research which regards solving the scheduling problem as its research fields. Resource scheduling is a crucial question of distribution and in cluster calculation; it gives the user task execution efficiency, the resources of the system numbers and the performance. From scheduling, heuristic scheduling algorithm in Grid Task Scheduling is used in most applications, the most effective, common heuristic scheduling algorithms are: simulated annealing, genetic algorithm, the ant colony algorithm.

4.1 The Task Classification Based On Qos The Service of Quality (QoS) is internet properties of a security mechanism, in cloud computing environment, QoS is to measure the user’s cloud computing application.

Service satisfaction with the degree of important factors, cloud computing service function and performance evaluation will no longer be the traditional evaluation standard of service (such as speed, and cost-effective, etc), but with customer satisfaction as the goal, with the service quality to measure. Because the user's diversity, on cloud computing homework scheduling and resource allocation put forward higher request, According to the QoS parameters first task will be required in classification procession, which can be more accurate and timely, the task allocation to the most appropriate resources, generally consider QoS parameters have the following items[4]: (1)

Network bandwidth: when a customer t’s communication bandwidth is high, such as multimedia data transmission, it should be priority bandwidth requirements and provide high bandwidth.

(2)

Service completion time: for real-time demand higher users, need within the shortest possible time to finish tasks, and respond to user with submitted homework. the system reliability: to run a number of complex tasks users, need cloud computing center to provide a stable and reliable performance support, such as mass data storage service.

(3)

Copyright (c) 2012 International Journal of Computer Science Issues. All Rights Reserved.

IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 5, No 2, September 2012 ISSN (Online): 1694-0814 www.IJCSI.org

(4)

Costs: cloud computing according to the needs to pay , cost is the user’ attention focus, for the cheap service to users, cost is a standard.

56

 [i j (t)] [i j (t)]   [is (t)] [is (t)]  pijk (t)   sallowed k   otherwise 0,

if jallowedk (1)

Therefore, for different user needs, set up different QoS parameters, according to these parameters to measure the user’s satisfaction, so as to establish the quantitative evaluation of different standards.

among

4.2 Mapreduce Level Scheduling

for the taboo table, record ant has traversed the city, i j (t ) is visibility for the t moment, calculated with

The key technology of Cloud computing MapReduce is step-by-step type processing technology. MapReduce class scheduling is the core of the cloud computing resources scheduling, and is the realization of the logical step calculation realize, all the task scheduling will be realized through this model. In MapReduce programming mode, concurrent processing, fault tolerant processing, load balance problems are abstracted for a function library Through the MapReduce interface, user can put the largescale computing to be automatic concurrent and distribution implementation. MapReduce programming model calculation of the implementation process can be abstracted as three role [5]: Master, worker and user. Master is a central controller system, responsible for task allocation, load balance, fault tolerant processing, Worker is responsible for receiving task from Master , carries on the data processing and calculation, and responsible for data transmission communication, User is client, input task to realize the Map and Reduce function, control the whole calculation process.

5. Cloud Resources Scheduling Based Ant Colony Optimization 5.1 The Ant Colony Algorithm Principle Ant colony algorithm is a random search algorithm, in TSP problem study well applied, TSP problem is a given n cities and a salesman starting from a city to visit the city through one and only one last return to the starting point of the shortest path. Introduce the following notation: Given: m is the number of the ants ant colony,

 ij (t )

show that the city i and j the path concentration of pheromone at the time, In the initial moments of each path equal to the amount of information, Set A = C (C is a constant), S express that t time ant k form the position i transferred to j the location of the probability:

them,

allowedk  {0,1,....., n  1}  tabuk

express ant k next step is allowed to choose city, tabuk

heuristic algorithm, General access

h = 1 d ij

ij

dij (i ,

j=l,2… ,n) which expresses the distance between city i and j,  ,  respectively express the information of pheromone and path information transfer probability of impact. Ants in the search process, each move to a city must abide by formula (2) to the local pheromone update.

 ij  t  1  (1   ) ij  t    o

(2)

In formula    0, 1 is a parameter;  0 is a constant. When all ants complete a traverse, which is according to formula (3) Update the pheromone concentration on the path.

 ij  t  n    ij  t    ij

(3)

m

 ij    ijk

(4)

k 1

Q  L , If the K of ants in the time between t  k    k ij and t +1 through i j  0, otherwise 

(5)

Where:  is residual factor pheromone, the 1-  is pheromone evaporation coefficient, To prevent unlimited accumulation of pheromone amount, usually set to 0

<  <1,  ij is this cycles path(i, j) of the pheromone increment,  ij express k-ants that in this cycle remain in k

the path i, j of the amount of information, Where Q is a constant, Lk express the number k of ants in this cycle taking the total length of the path. The shorter the path generated ants in this path, the more on the quantity of information, and we will have more ants’ choices of this path [6].

Copyright (c) 2012 International Journal of Computer Science Issues. All Rights Reserved.

IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 5, No 2, September 2012 ISSN (Online): 1694-0814 www.IJCSI.org

5.2 Algorithm Scheduling Work Process First of all, to obtain the user's task and according to priority order, classification, Classification that embodies the user’s tasks to the requirements of different QoS, and on the basis of QoS classification use ant colony algorithm implementation of resource allocation and scheduling, Once meet the QoS requirements and shortest path , tasks and resources are bind, running tasks. The process is shown in figure 2:

57

Emulator CloudSim simulation process: First establish a data center, then the data center creates a series of resources such as CPU, memory, bandwidth, etc. Then send registered message to CIS to be registered, once registered message can be used by DatacenterBroker management information interaction process, The flow chart is shown in figure 3:

Fig. 3 The workflow of CloudSim emulator

In this experiment we set the number of task from 20 to 100, the number of node calculation of 8, In order to to show distinction, we designed the QoS attribute of node set up large gap, mainly including the CPU, memory and network bandwidth. Application of ant colony optimization (ACO) and random distribution algorithm (RA) respectively carry out 10 times and take an average, task execution time spent as shown in figure 4:

Fig. 2 Algorithm scheduling workflow

6. Experiments Simulation Results and Performance Analysis This experiment using cloud computing simulation software CloudSim, it is in discrete events-based bag on the SimJava development function library, it inherits the GridSim programming model, in the Windows and Linux system cross-platform run, support computing clouds of research and development, and offers the following new features: (1) support the large cloud computing infrastructure of the modeling and simulation; (2) a selfcontained support data center, service agent, scheduling and allocation strategy platform.

Fig. 4 The makespan of the two scheduling algorithm

It can be seen from the figure, with the increase of the quantity task, through the ant colony optimization

Copyright (c) 2012 International Journal of Computer Science Issues. All Rights Reserved.

IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 5, No 2, September 2012 ISSN (Online): 1694-0814 www.IJCSI.org

algorithm performs all the tasks, it takes the time less than general algorithm. Due to the ant colony algorithm which chooses target path through the pheromone strength, so when the task amount is less (such as 20), this algorithm implementation effect is not obvious, But when the task quantity achieved 80, two algorithms‘s execution time nearly one seconds. This indicates that within a certain range, with the increase of the number of task, ant colony optimization algorithm is better than general allocation resources and the execution time overhead is longer. This algorithm in cloud computing tasks in the debugging of the application is correct.

References [1]

[2] [3] [4]

[5]

Conclusion This paper makes research and elaboration on the cloud computing technology, and analyzes the cloud computing system structure and the realization of mechanism, resources scheduling strategy is the key technology in cloud computing. Therefore the use of ant colony algorithm for the basic model, detailed analysis and design of the cloud resource scheduling the concrete realization, And in the simulation software CloudSim simulation experiment, from the results we can see that, the algorithm for calculating node distribution and load balancing has good performance.

58

[6]

China cloud computing. Liupeng: cloud computing the definition and characteristics [EB/OL]. http://www.chinacloud.cn/ the 2009-2-25 Application Architecture for Cloud Computing. IBM, WTHIE PAPER Weiss. Computing in the Clouds, networker, Dec, (2007) vol.11:16-25 WangXiaoChuan, JinShiYao, XiaMingBo. (2007)Web cluster of cybernetics QoS quantitative based on distributed control, Journal of software, November, Vol. 18 (11) : 2810-2818 J.Broberg, R.Buyya, and Z.Tari. MetaCDN: (2008)Harnessing’Storage Clouds’for High Performance Content Delivery, Technical Report GRIDS-TR-2008-11, Grid Computing and Distributed Systems Laboratory, The University of Melbourne, Australia, Yang Jingyu,Gao shang. (2006) Swarm intelligence algorithms and its application, Water conservancy and hydropower press.

Linan Zhu received the degree in Computer Science & Technology from Zhejiang University of Technology, in 2004. He is a research student of College of Mechanical Engineering, Zhejiang University of Technology. Currently, he is a Lecturer at Zhejiang University of Technology. His interests include Cloud Manufacturing Networked Manufacturing Resource scheduling and PSS. Qingshui li received master degree from Zhejiang University in 2002.He is a associate professor at Zhejiang University of Technology. His interests include HCI personalized recommendation data minning and Extenics.

Copyright (c) 2012 International Journal of Computer Science Issues. All Rights Reserved.

Study on Cloud Computing Resource Scheduling Strategy Based on ...

proposes a new business calculation mode- cloud computing ... Cloud Computing is hotspot for business ... thought is scattered through the high-speed network.

665KB Sizes 0 Downloads 277 Views

Recommend Documents

Study of Cloud Computing Security Based on Private ...
Abstract—Supporting study of a method to solve cloud computing security issue with private face recognition. The method has three parts: user part provides ...

Heuristic Scheduling Based on Policy Learning - CiteSeerX
production systems is done by allocating priorities to jobs waiting at various machines through these dispatching heuristics. 2.1 Heuristic Rules. These are Simple priority rules based on information available related to jobs. In the context of produ

Heuristic Scheduling Based on Policy Learning - CiteSeerX
machine centres, loading/unloading station and work-in-process storage racks. Five types of parts were processed in the FMS, and each part type could be processed by several flexible routing sequences. Inter arrival times of all parts was assumed to

articles on cloud computing pdf
articles on cloud computing pdf. articles on cloud computing pdf. Open. Extract. Open with. Sign In. Main menu. Displaying articles on cloud computing pdf.

report on cloud computing pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. report on cloud ...

report on cloud computing pdf
Loading… Page 1. Whoops! There was a problem loading more pages. report on cloud computing pdf. report on cloud computing pdf. Open. Extract. Open with.

Multiuser Scheduling Based on Reduced Feedback ...
Aug 28, 2009 - Relayed transmission techniques have the advantages of enhancing the ..... concepts for wireless and mobile broadband radio,” IEEE Trans.

On CDF-Based Scheduling with Non-Uniform User ...
the multi-cell network, each BS with CS selects the user having the largest ... In cellular networks, users located with different distances from a base ..... 1.425 × 10−4. N0 (dBm). -169. P0 (W). 4.3. W (MHz). 10. R (m). 300 we are ready to obtai

Heuristic Scheduling Based on Policy Learning
Dec 5, 2001 - Some Heuristic Rules(Dispatching Rule/ Scheduling. Rules). These are Simple priority rules based on information ... Obtaining knowledge from sources(Human Expert,. Simulation data). 2. Store this knowledge in digital ... using genetic a

DRAM Scheduling Policy for GPGPU Architectures Based on a ...
Nov 22, 2011 - 1In NVIDIA architectures, 32 threads are executed together in lock-step as a warp and in AMD GPU architectures, 64 threads are executed together as a wave-front. blocking. For a warp blocked on memory accesses, all its memory requests

Review on Various Application of Cloud computing in ... - IJRIT
phones, laptops, software, scientific instruments. Mobile ... components used in availing ICT services, such as virtual computers, traffic monitoring and redirecting, .... [10] Cloud computing and emerging IT platforms: Vision, hype, and reality for 

project report on cloud computing pdf
project report on cloud computing pdf. project report on cloud computing pdf. Open. Extract. Open with. Sign In. Main menu.

Perspectives on cloud computing: interviews ... - Research at Google
Jun 3, 2011 - Dan Reed, Microsoft's Corporate Vice President for Tech- nology Strategy and .... concepts, like auto-tuning, high availability, notions of consistency ... Hadoop map-reduce system, the PNUTS key-value store, and our goal is ...

books on cloud computing free download filetype pdf
books on cloud computing free download filetype pdf. books on cloud computing free download filetype pdf. Open. Extract. Open with. Sign In. Main menu.

research papers on cloud computing pdf
research papers on cloud computing pdf. research papers on cloud computing pdf. Open. Extract. Open with. Sign In. Main menu. Displaying research papers on ...

Review on Various Application of Cloud computing in ... - IJRIT
IJRIT International Journal of Research in Information Technology, Volume 2, ... Keywords: Cloud Computing, ICT, Wireless Sensor Actor Network, Agri – Cloud, Mobile Cloud. .... supports the 2.5G, 3G or 4 G technologies, distributed all over.

seminar report on cloud computing pdf file
seminar report on cloud computing pdf file. seminar report on cloud computing pdf file. Open. Extract. Open with. Sign In. Main menu.

Resource Scheduling Algorithms used in Cloud: A ...
IJRIT International Journal of Research in Information Technology, Volume 2, ... Weighted Round Robin algorithm, Minimum Connection Degrees algorithm, ...

LNAI 4285 - Query Similarity Computing Based on ... - Springer Link
similar units between S1 and S2, are called similar units, notated as s(ai,bj), abridged ..... 4. http://metadata.sims.berkeley.edu/index.html, accessed: 2003.Dec.1 ...

On Practical Service-Based Computing in Distributed ... - CiteSeerX
to be inefficient, with a huge, and increasing, number of data signals .... However, technology for modeling and analyzing functions at .... it is a wired network of ECUs (in-car wireless devices ..... by the advantages we mention above. In Figure ..

On Practical Service-Based Computing in Distributed ...
These characteristics dominate others and open the ..... [2] The AUTOSAR Consortium, Automotive Open System ... http://www.flexray.com, December 2005.

Rule-based HCH Scheduling and Resource ...
... we present and analyze the simulation results. Finally section 5 provides concluding remarks. ————————————————. L. Mohammad Khanli, assistance professor, computer science Dept., university of Tabriz. F.davardoost i