Gavine Kanakadurga et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (3) , 2014, 4646-4648

Dynamically Allocating the Resources Using Virtual Machines Gavine Kanakadurga Santan B.Veeramallu KL University

Abstract-Cloud computing become an emerging technology which will has a significant impact on IT Infrastructure. Still, Cloud computing is infancy. Cloud computing becomes quite popular among cloud users by offering a variety of resources.In the current cloud computing environment there is numerous of application, consist of millions of module, these application serve from large quantity of users and the user request becomes dynamic. This is an on demand service because it offers dynamic flexible resource allocation and guaranteed services in pay as-you-use manner to public. In this paper, we present the several dynamic resource allocation techniques and its performance.The resource provisioning was done by considering Service Level Agreements (SLA) and with the help of parallel processing using different types of scheduling heuristic. In this paper we realize such various policies for resource provisioning and issues related to them in current cloud computing environment. This paper provides detailed description of the dynamic resource allocation technique in cloud for cloud users and comparative study provides the clear detail about the different techniques.

1. INTRODUCTION Cloud computing is the delivery of computing as a service rather than a product, whereby shared resources,software and information are provided to users over the network. Cloud computing providers deliver application viathe Internet, which are accessed from web browser, while the business software and data are stored on servers at aremote location.Cloud providers are able to attain the agreed SLA, byscheduling resources in efficient manner and by deploying application on proper VM as per the SLA objective and atthe same time performance of the applications must beoptimized. Presently, there exists a more work done onscheduling of applications in Clouds [1], [2], [3]. Theseapproaches are usually considering one single SLAobjective such as cost of execution, execution time, etc. Dueto combinatorial nature scheduling algorithm with multipleSLA objective for optimal mapping of workload withmultiple SLA parameters to resources is found to be NPhard[4]. The available solutions are based on the use ofheuristics.When a job is submitted to the clouds, it is usuallypartitioned into several tasks. Following two questions areneed to consider when applying parallel processing inexecuting these tasks: 1). how to allocate resources to tasks; 2) task are executed in what order in cloud; and 3) how toschedule overheads when VMs prepare, terminate or switchtasks. Task scheduling and resource allocation can solvethese three problems. In embedded systems [5], [6] and inhigh performance computing [7], [8] task scheduling andresource allocation have been studied.Typically, efficient provisioning requires

www.ijcsit.com

two distinctsteps or processes: (1) initial static planning step: theinitially group the set of VMs, then classify them anddeployed onto a set of physical hosts; and (2) dynamicresource provisioning: the allocation of additionalresources, creation and migration of VMs, dynamicallyresponds to varying workload. Step 2 runs continuously atproduction time where in contrast Step 1 is usuallyperformed at the initial system set up time and may only berepeated for overall cleanup and maintenance on a monthly or semi-annually schedule. In this paper we focus on dynamic resource provisioning as mentioned above in step 2. In order to attain the agreedSLA objective our proposed algorithm dynamicallyresponds to fluctuating work load by preempting the current executing task having low priority with high priority taskand if preemption is not possible due same priority then by creating the new VM form globally available resources. 2. RELATED WORK 2.1 Cloud Computing The concept of cloud computing [5] represents a dynamic allocation of resources. Through a cluster of multiple servers, could providers can provide services to users. In the could computing environment, the virtualization technology can be applied to allocate resources to achieve the purpose of the dynamic adjusting of resources. Cloud computing is a computing environment based on the Internet and can be extended dynamically. It uses “As a service” network technology to provide users with a large number of service nodes. Providers who provide cloud services, rapid deployment of resources based on virtualization technology, can provide users with a variety of services. Furthermore, users can obtain resources and a variety of services according to their needs. Therefore, regardless of the computing power of software resources or storage capacity of network, users can obtain those resources through the cloud services supplier, and significantly reduce the cost of the software and hardware purchasing. 2.2 Virtualization Technology Virtualization technology [6, 7] can be classified into two categories, full virtualization and para-virtualization. The advantage of full virtualization is that it can maintain consistent compatibility regardless of hardware environments, however, will increase a greater system loading of the physical machine relatively. While the advantage of para-virtualization is that it may share hardware resources with the original operating system, but the system kernel is necessary to be modified. In terms of

4646

Gavine Kanakadurga et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (3) , 2014, 4646-4648

performance, the para-virtualized is better than that of the full virtualization, but the corresponding hardware support is insufficient. Virtualization architecture consists of three components, hardware, Virtual Machine Monitor (VMM), and Virtual Machine (VM). VMM is one of the core implementation of virtualization, and is responsible for providing virtualization and managing hardware resources. There are many virtual machines exist, such as Xen and KVM [8]. 3.PROPOSED DYNAMIC VM ALLOCATION ALGORITHM Mainly Clustering is the method which includes the grouping of similar type objects into one cluster and a cluster which includes the objects of data set is chosen in order to minimize some measure of dissimilarity. For scheduling the virtual machines, K-Means clustering algorithm is used. K-Means clustering is a clustering method in which the given data set is divided into K number of clusters. K-means clustering is a well known partitioning method. In this objects are classified as belonging to one of K-groups. The results of partitioning method are a set of K clusters, each object of data set belonging to one cluster. In each cluster there may be a centroid or a cluster representative Dynamic VM allocation using Clustering algorithm: K-Means follows the partitioned or non-hierarchical clustering approach. It involves partitioning the given data set into specific number groups called Clusters. Each cluster is associated with a centre point called centroid. Each point is assigned to a cluster with the closest centroid. Proposed dynamic VM allocation algorithm using clustering is as: Input: List V of Virtual Machine`s with their location around the globe List D of datacenters Algorithm: 1. Select K points according to the number of datacenters in D 2. Choose datacenter from D 3. Form K clusters of VM`s from V by assigning closest centroid 4. Recomputed the centroid of each cluster 5. Arrange all the requested VM`s in cluster form 6. Allocate the VM`s to the available Host 7. If all the VM`s are allocated 8. Assign the VM`s cluster to the selected datacenter 9. Endif 10. Repeat [2] until D is empty 11. If all the VM`s are created in the datacenters 12. Send the cloudlets to the created VM`s 13. Endif 14. compute the results The Initial centroid will be chosen randomly. The centroid is nothing but the mean of the points in the cluster. Euclidean distance is used to measure the closeness. KMeans generates different clusters in different runs. 4. IMPLEMENTATION OF PROPOSED ALGORITHM IN CLOUDSIM Before perform the implementation, it is required to know the places where modification can be made. In CloudSim different classes are there that support the simulation

www.ijcsit.com

environment for the cloud computing. So in order to implement our own policy, it is essential to have knowledge about existing allocation policies and the classes that support these allocation strategies. As in the previous sections, we have studied the required classes that are for our purpose. DatacenterBroker class is the place where the VM allocation policies are carried out. Different functions are there in this class that help to process the virtual machines and their assignment to the datacenters. Since clustering is the new concept in the CloudSim, so some new classes are also created in CloudSim to compute our working policies. Implementation of CloudSim in Eclipse CloudSim is a java based simulation tool, so it can be used either with the eclipse IDE or NetBeans IDE. For our work, we select eclipse IDE to implement proposed VM allocation policy. Different versions of eclipse IDE are available to run the CloudSim such as eclipse Indigo, eclipse Juno etc. Our work is implemented on the eclipse Juno. To run the CloudSim in eclipse Juno, we have to download the eclipse IDE and install it. Since eclipse is java base platform, so a java run time environment is needed before installing it. When this installation is completed, latest CloudSim package is extracted and it is imported in the eclipse. CloudSim package contains list of source files, jar files, list of supporting classes and some examples to understand the behaviour of cloud computing simulation. When we import the CloudSim in eclipse, it asks for the path where the extracted CloudSim package is available. This package is then copied into the workspace of eclipse from where it can be easily configured and run. Implementing Dynamic VM Allocation Using Clustering Algorithm K-Means follows the partitioned or non hierarchical clustering approach. It involves partitioning the given data set into specific number groups called Clusters (NavjotKaur et. al [19]). Each cluster is associated with a center point called centroid. Since our concept is to allocate the virtual machines dynamically, as per user request. So a graphical interface is prepared for selecting the position of virtual machines. From here lists of virtual machines and their location are created that are used for further processing. When these lists are submitted, simulation with CloudSim starts. A broker is created first, that runs the datacenters. Number of datacenters is assumed to be known in advance. On the basis of datacenters, clusters of VM`s are created. When each element is processed through simulation methods. In the CloudSim, DatacenterBroker class is the base class for any VM level event. When createVmsInDatacenter (intdatacenterId) function is called, it performs the VM allocation to the respective datacenter. 5. CONCLUSION This paper proposed a dynamic resource management with energy-saving mechanism in the cloud computing environment to reduce the energy consumption. DVFS technique can be applied by monitoring the CPU utilization. When the workload is heavy, real-time migration can be provided for achieving more effective usage of resources under the user unaware situation. The experimental results show that the energy consumption can

4647

Gavine Kanakadurga et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (3) , 2014, 4646-4648

be saved significantly by applying the proposed dynamic resource management mechanism. Since a lot of migration will possibly lead to serious increasing of the extra energy consumption in the proposed architecture by applying the migration mechanism, in the future, multi-core architecture will be used to support multi-VMs. The number of acting VCPUs can be adjusted in accordance with the utilization of individual VCPU and the number of the CPU cores. REFERENCES: 1.http://searchsmbstorage.techtarget.com/feature/Understandingcloudstorage-services-A-guide-for-beginners 2. Jiyi WU1,2, Lingdi PING1, Xiaoping GE3,Ya Wang4, Jianqing FU1, 2010 International Conference on Intelligent Computing and Cognitive Informatics, ―Cloud Storage as the Infrastructure of Cloud Computing_ 3. Storage Networking Industry Association. Cloud Storage for Cloud Computing, Jun.2009. 4. Curino, Jones, Popa, Malviya, Wu, Balakrishnan and Zeldovich, Relational Cloud : A Database-as-a-Service for the Cloud, 2010 5. http://www.infostor.com/index/articles/display/0442659564/articles/i nfostor/backup-and_recovery/cloud-storage/2010/march2010/sniadevelops_ standards.html 6. Storage Networking Industry Association. Cloud Storage Reference Model,Jun.2009

www.ijcsit.com

4648

Dynamically Allocating the Resources Using Virtual Machines

Abstract-Cloud computing become an emerging technology which will has a significant impact on IT ... with the help of parallel processing using different types of scheduling heuristic. In this paper we realize such ... business software and data are stored on servers at aremote location.Cloud providers are able to attain the ...

223KB Sizes 8 Downloads 306 Views

Recommend Documents

Allocating radio resources in mobile communications system
May 21, 2012 - Telecommunications System (E-UMTS) is provided. A pre ... Delay time before the terminal transmits data is reduced and unnecessary ...

Allocating radio resources in mobile communications system
May 21, 2012 - System information or paging message (810). (56). References Cited. U.S. PATENT DOCUMENTS. 5,659,756 A. 8/1997 Hefferon et a1.

Parallax: Virtual Disks for Virtual Machines
Apr 4, 2008 - republish, to post on servers or to redistribute to lists, requires prior specific ... possible. File system virtualization is a fundamentally different ap-.

Deconstructing Virtual Machines with Foumart
rent behavior of wired models. We re- moved 300Gb/s of Wi-Fi throughput from our “fuzzy” testbed to investigate Intel's linear-time testbed. Further, we added 25.

READ ONLINE Virtual Machines Companion (Networking (Course ...
READ ONLINE Virtual Machines Companion. (Networking (Course Technology)) {Free. Online|ebook pdf|AUDIO. Book details. Title : READ ONLINE Virtual ...

Practical Uses of Virtual Machines for Protection of ... - CiteSeerX
credit card data, to a web server, and (2) SSH user authentication using ssh-agent. ..... A more intuitive interface might be a dedicated key for switching to Vault ...

Post-Copy Live Migration of Virtual Machines
as hard disks) in which the memory subsystem can try to hide the ... disk-based paging, the prepaging algorithms themselves can still play ...... The data structure.

Practical Uses of Virtual Machines for Protection of ... - Acrobat Planet
Terra [7] and NetTop [18,. 19] use VMM to separate compartments of differing levels of trustworthiness. For ex- ample, one VM may be used ..... [4] R. Cox, E. Grosse, R. Pike, D. L. Presotto, and S. Quinlan. Security in Plan 9. In Pro- ceedings of th

MemX: Supporting Large Memory Workloads in Xen Virtual Machines
tific workloads, virtual private servers, and backend support for websites are common .... They enable the driver domain to set up a. DMA based data transfer ...

How Java Programs Interact with Virtual Machines at ...
republish, to post on servers or to redistribute to lists, requires prior specific permission ... cation to behave differently from a game application. Third, the input of the ...... it makes the understanding easier by building up the com- plexity o

Live Gang Migration of Virtual Machines
reduce the performance impact of migration on applications running in the VMs, the total migration time, network traffic overhead, and service downtime should ...

Allocating Group Housing
Nov 18, 2016 - theme in the matching literature,9 thus it might be expected that this ... To evaluate this claim formally, we add an initial stage to the model in ...

Review Article The potential for strategies using ... - Virtual Trials
Jul 31, 2003 - one strategy for an alternative=adjuvant therapy in the management of a ..... highly energy (ATP or adenosine triphosphate) depen- dent, but tumour cells ... and leading to limitation of ATP production. This was found to be a ...

Leveraging Existing Resources using Generalized ...
from reference distributions that are estimated using existing resources. We ... data; and the expectations are distributions over class conditioned on a specific binary feature .... A framework for incorporating class priors into discriminative.

Affective Interactions Using Virtual Reality: The Link ...
some authors suggested possible “recipes,”9,10 it is. 1Applied Technology for .... computer (Sony Vaio Notebook PCG-GRT 996ZP,. Pentium-4 3.20-GHz), with ...