Keywords

6.1 Introduction

A cloud computing environment handles a large-scale task processing. And the system performance depends upon the resource states and task scheduling [1]. However, the task scheduling issue is well-known as NP-complete problem [2]. The task scheduling issue still has many challenges for researchers, and many studies bring out various solutions to overcome the task scheduling problem [3]. Typically, the scheduling policy applies a partitioning approach for the large-scale task. The cloud computing also divides large tasks into processing units according as the composition of each resource. However, the system efficiency has an influence upon the performance and distance of resources. And those factors also affect on a processing time.

In order to allocate the cloud resource for processing, existing research considers a task size and priority. However, the resource state has less concerned for scheduling. Even if some resource is finished the task, the available resource should wait until the completion of other busy resources. Thus, more study is needed to utilize those available resources. If the system provides a resource reallocation policy for available resources, It may improve a task processing speed and a utilization of the resources. The resource reallocation is the method to allocate the other large-scale task to the available resource. The method considers a network state on the virtualization environments [4]. Hence, the simulation-based verification is needed to adopt on the cloud computing system.

This paper proposes a fuzzy-based resource reallocation scheduling model (FRRSM). The proposed FRRSM includes the reallocation method for early finished available resource. The FRRSM relocates the available resource to other virtual machines and assigns a new large-scale task. In this process, the FRRSM utilizes a fuzzy method. The fuzzy logic for FRRSM handles a queue size of resources, a job size and a network distance as fuzzy input variables. The fuzzy logic for FRRSM handles a queue size of resources, a job size and a network distance as fuzzy input variables. And the logic finds the resource for reallocation with rule-based selection. To prove the performance of FRRSM, we design the virtual cloud computing environment with the DEVS-based modeling and simulation methodology [5].

6.2 Related Works

Some related study is underway to detect and solve the resource hotspot of the VM on the virtualization environments. In order to deploy the VM, Sandpipier [6] utilizes the state of the CPU, RAM and network. These states named ‘volume’ are the basis of the migration and replacement of the VM. However, this volume has focused on the simple viewpoint such as CPU-side states. It does not fit to utilize through the geographically distributed system likes cloud environments. Real time resource reallocation for better resource utilization (RTRRBRU) [7] calculates the usage of the CPU and memory in real time. RTRRBRU can measure the workload and real time reallocates the VM. This approach may reduce the workload for several resources. However, the reallocation in real time increases the network traffic. Thus RTRRBRU also does not fit to the cloud environments. And the cloud computing includes the dynamic resource allocation policy with the global scheduling method. However, the global scheduling only consider the resource allocation. Therefore, the cloud environments require the dynamic resource reallocation to manage the job finished resource.

6.3 Method

6.3.1 Dynamic Resource Reallocation in Cloud Environment

In the cloud environment, a virtual machine holds several physical machines. And each virtual machine processes its assigned large-scale task. The task managing of the virtual machine basically stores the user’s request on the task queue. The manager constructs sub tasks from the task in the queue. The sub task is the MapReduce-based splits of the large-scale task. The manager sends sub tasks to the physical machine, which composed of virtual machines. And the physical machine processes the received sub task. After the processing is complete, the system sends the sub tasks’ processing information to the virtual machine. And the sub task managing module merges the gathered information. A dynamic resource reallocation is the method to transfer an available resource between virtual machines. It has no trouble in processing the task on virtual machines. As the heavy-loaded resource may grants more available resources, it may improve the processing speed and time for a plural large-scale task.

6.3.2 Resource Reallocation Algorithm

Figure 6.1 shows the architecture of the FRRSM. FRRSM is composed of five components.

Fig. 6.1
figure 1

FRRSM architecture

Job Generation listens the user’s request for large-scale tasks, and creates the task for processing. Coordinator assigns the generated task to each VM. The VM has one or more physical machines. Resource Detector traces available resources (physical machine). Resource Detector traces available resources (physical machine). When Resource Detector finds some available resource, Monitoring obtains state information of physical machines. And then, Resource Reallocation assigns available resources to other VM using the fuzzy methods. Due to the cloud environment is the geographically distributed, most important factor is the performance of physical resources. And the distance between the physical machine and virtual machine produces some effect on the processing efficiency. Hence, the resource manager should consider the distance and the job finishing time.

This paper utilizes the fuzzy method for resource reallocation. The fuzzy method calculates the queue size, job size and distance of each VM, and estimates the performance of the physical machine. The fuzzy parameter is composed of the queue size (μA), number of job (μB) and distance (μC). The fuzzy logic utilizes these parameters, and infers the Avail_Score (μD) to find a VM for resource reallocation. Each parameter (VL = VeryLow, L = Low, M = Middle, H = High, VH = VeryHigh) is presented as following Fig. 6.2.

Fig. 6.2
figure 2

Fuzzy variable

Both μA and μB are state information of the queue and job size from the VM. And μC is the calculated distance between each VM. The distance may estimate with the Cartesian coordinate system and the Euclidean distance [6]. In order to infer the output μD, the logic utilizes three fuzzy input variables with 45 rule bases. Table 6.1 shows the 45 rule bases. The fuzzy inference engine is the Mamdani method, and selects the highest scored (μD) VM for resource reallocation.

Table 6.1 Rule bases

6.4 Experiment

In order to prove the performance of FRRSM, we design the experiment environment with DEVS methodology. We select the Round-Robin scheduling model (RRSM) for comparison. And the experiment measures an average of job processing time using the RRSM with FRRSM and non-FRRSM.

As shown in Fig. 6.3, RRSM records 23.469, and RRSM with FRRSM records 24.814 average of job processing time for 3,000 simulation times. The above result shows that our proposed FRRSM is the effective method for large-scale task processing.

Fig. 6.3
figure 3

Experiment result

6.5 Conclusions

In this paper, we propose the fuzzy-based resource reallocation model to improve the efficiency of large-scale task processing on the cloud computing. The proposed method reallocates the available resources to other VM. To reallocate the resources, we utilize the fuzzy method. And we prove the effectiveness of our proposed method with the experimental result.