Impact of Parallelism and Virtualization on Task Scheduling in Cloud Environment

Impact of Parallelism and Virtualization on Task Scheduling in Cloud Environment

INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 9, ISSUE 03, MARCH 2020 ISSN2277-8616 Impact Of Parallelism And Virtualization On Task Scheduling In Cloud Environment Sanjay Kumar Sharma, Nagresh Kumar Abstract- Today’s, cloud computing has placed itself in every field of the IT industry. It provides infrastructure, platform, and software as an amenity to users which are effortlessly available via the internet. It has a large number of users and has to deal with a large number of task executions which needs a suitable task scheduling algorithm. Virtualization and parallelism are the core components of cloud computing for optimization of resource utilization and to increase system performance. Virtualization is used to provide IT infrastructure on demand. To take more advantages of virtualization, parallel processing plays an important role to improve the system performance. But it is important to understand the mutual effect of parallel processing and virtualization on system performance. This research helps to better understand the effect of virtualization and parallel processing. In this paper, we studied the effect of parallelization and virtualization for the scheduling of tasks to optimize the time and cost. We found that virtualization along with parallelization boosts the system performance. The experimental study has been done using the CloudSim simulator. Keywords: virtualization; parallel programming; distributed processing —————————— —————————— 1. INTRODUCTION Parallelism and virtualization are the key components of In the present world of information technology, cloud cloud computing. Now, the question is how parallelism and computing emerges as a new computing technology due to virtualization affect each other to improve system its economical and operational benefits. Cloud computing is performance? Does it prevent or boost system able to perform the processing of an enormous amount of performance? What are the other parameters which also data using high computing capacity and distributed servers. affect the parallelism and virtualization? This research Clients are facilitated to avail of this facility on the basis of paper is organized as follows: the literature review of pay-per-use policy. When the users need changes, the previous work is described in section-2. Section-3 contains cloud server’s capacity scales up, and down to meet the the details about the proposed methodology for user requirements. It is highly flexible, reduces capital parallelization and virtualization. Section-4 describes the expenditure, robust disaster recovery and can operate from experimental setting and simulation result. Section-5 anywhere through the internet. Users can avail these describes future work and conclusion. services by just submitting the request to the environment provided by the service provider. Parallel processing is a 2. RELATED WORK computing technique in which more than one process is Parallel architecture is an organization of resources to executed simultaneously on different processors. Multiple maximize resource utilization and improve system processes solve a given problem efficiently by executing on performance. The organisation of resources is categorised multiple processors. The divide and conquer technique is into three parts; shared memory processor (SMP), cluster used to divide a task into multiple subtasks. A parallel parallel computers and hybrid. SMP is also called multiple program written on the basis of the divide and conquer processors in which each processor access a single shared technique execute subtask on multiple processors. The memory. So, a task divided into subtask must be shared the requirement of high computation power cannot be full-fill by same memory and communication between subtasks take a single CPU. So parallel processing can improve the place via shared variables. In a cluster parallel computers, system computation power by increasing the number of more than one computing node with its own memory and CPUs. It is the best cost-effective technique to enhance processor are connected to each other. Hence two system computation power. This technique can also be processor needs to send a message to each other node in used in load balancing in cloud computing [1]. Virtualization order to exchange variable values. A hybrid architecture is is a key component of cloud computing. Virtualization is a just an interconnected SMP. Communication with SMP mechanism that is used to create interactive environments takes place through a variable value in shared memory but like server, storage, operating system, desktop, etc, which the SMP node communicates via message passing. Cluster is expected by the user. Hardware virtualization based on a architecture is highly scalable [5]. OpenMP is a standard set of software is also called a hypervisor or virtual machine application program interface (API) that consists of a set of manager(VMM). This software operates on each VM directives and library subroutines [6].OpenMPI is a shared instance in complete isolation. A high-performance server, memory multiprocessing programming environment that based on several machines needs suitable and customized supports C/C++ and Fortran programming language. A software on demand. This approach helps to deploy tasks program can write and execute a parallel program in the parallelly to the available resources on-demand, such as OpenMP environment by dividing the task into an VMware, AmazonEC2, vCloud, RightScale, etc. [1][2][3][4] independent task [7]. Virtualization is a technology that is used to provide better ———————————————— resource utilization. A different operating system can be installed on different virtual machines(VMs) to increase Sanjay Kumar Sharma, Department of Computer Science, Banasthali Vidyapith, Rajsthan, India. E-mail: system flexibility. A hypervisor runs on the top of hardware. [email protected] A hypervisor is also called a virtual machine manager Nagresh Kumar, Department of Computer Science, Banasthali (VMM). Hypervisor hides the actual physical hardware and Vidyapith, Rajsthan, India. Email: [email protected] provides virtual resources as per user expectations. The hypervisor is also responsible to protect hardware from 5346 IJSTR©2020 www.ijstr.org INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 9, ISSUE 03, MARCH 2020 ISSN2277-8616 malware unauthorised access. All the external requests are Where cap(i) is the processing strength of individual managed by the hypervisor. Virtualization and elements. parallelization are the key components in cloud computing to improve system performance; it also placed some overhead on the complete system. The overhead cores vm1 vm2 cores vm1 vm2 2 2 percentage depends upon the host configuration. Perera et t3 t4 t6 t8 t4 t8 t3 t7 al.[8] compare the hypervisors VMware[9] and Xen[8]. 1 t1 t2 t5 t7 1 t2 t6 Authors conclude that Xen is much better than VMware t1 t5 concern to paravirtualized and VMware is much better than time time (a) (b) Xen concern to fully-virtualized [10]. Tafa et al.[11] study the behavior of various parameters like memory utilization, cores cores transfer time, and CPU consumption in five different 2 2 t8 t4 t8 vm2 t7 vm2 hypervisors. The authors concluded that KVM imposes t6 more overhead than other hypervisors. To study the effect t3 t7 vm1 t5 vm1 1 1 t4 of parallelism and virtualization Xu et al.[12] compares the t2 t6 vm2 t3 vm2 t2 performance of OpenMP API, MPI and hybrid paradigm in t1 t5 vm1 t1 vm1 Xen hypervisor. The authors concluded that an idea (c) time (d) time speedup can be achieved in SMP. If the number of virtual CPU is not more than physical CPU a linear speedup is achieved. Sharma S.K. et al. found that the parallelization Fig.1: Provisioning policies for cloudlets and VMs (a) of a sequential process improves performance. The result Cloudlets: Space-shared, VMs: Space-shared (b) Cloudlets: shows that the parallel algorithm is approximately twice Time-shared, VMs: Space-shared (c) Cloudlets: Space- faster than the sequential algorithm. This work can also be shared, VMs: Time-shared (d) Cloudlets: Time-shared, used for real-time implementation to a large extent and a VMs: Time-shared high-performance system.[13] Figure 1(b), showing a space-shared policy for VMs and 3. METHODOLOGY time shared policy for cloudlets. All the tasks are assigned For the experimental study, we use the CloudSim simulator simultaneously during the lifetime of VMs. When one VM and configure the hypervisor to analyse the parameters of completes its lifetime then another VM start executed. parallelism and virtualization to improve the system Estimated finish time of a Cloudlet managed by a VM is performance. given by ( ) ( ) VM Allocation Model ( ) To exhibits, the simulation result on CloudSim simulator, space-shared and time-shared allocation policy for both Where ct is the current simulation time, and cores (p) is the cloudlets and VMs are provisioned [14]. The execution number of PEs required by the cloudlet. The total policy of cloudlets and VMs with time-shared and space- processing capacity of Cloud host is given by- shared provisioning is clearly shown in fig.-1. In this figure, the execution of 8 tasks (t1, t2,…, t8) is shown with a host ∑ ( ) with 2 CPU cores and two VMs per core. ( ) (∑ ( ) ) In fig-1(a) space-shared provisioning is taken for cloudlets and VMs. In space shared only one VM can run at a time. Where cap(i) is the processing strength of individual Since each VM has two cores, so at a time two tasks can elements. be executed simultaneously as shown in fig-1(a). According In Figure 1(c), a time-shared allocation policy for VMs and to space shared policy of VMs and cloudlets estimated space shared policy for tasks is taken. In this scenario, VMs finish time(eft) of a task p managed by the virtual machine i assign a time slice and with each time slice context switch is given by take place on available VMs. At the given instance of time slice, only one task can execute. In fig-1(d) time shared ( ) ( ) ( ) allocation policy for tasks and VMs are taken.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us