IJRIT International Journal of Research in Information Technology, Volume 2, Issue 6, June 2014, Pg: 569-574

International Journal of Research in Information Technology (IJRIT)

www.ijrit.com

ISSN 2001-5569

A Novel Approach to Cloud Resource Management for Service Differentiation Sushritha S 1, Shivamurthy R.C 2 1 Department of Computer Science & Engg., AIT, Tumkur, Karnataka Email: [email protected] 2 Prof & Head, Department of Computer Science & Engg, AIT, Tumkur, Karnataka Email: [email protected] Abstract— In this paper we propose a new framework for efficient resource management. Aiming with having cost effective services both from the perspective of providers and users in Cloud system, we introduced a new way to handle resource allocation with MapReduce paradigm. By considering both Public and Private Cloud system, the proposed system provides efficient and fair solution by keeping system performance stable. The system works with an auction mechanism along with considering a balancing factor. The experiment results by considering both Linear utility and Log Linear Utility function shows that it is one of the most novel approach among existing solutions for Resource Management in Cloud System and also for Service differentiation. Key words: MapReduce, Utility function, Assignment Probability

I. Introduction Cloud is an advanced IT solution in recent days provides services to its users works on the internet. In an increased demand for efficient utilization of resources available in Cloud system there is necessity of a fair approach to prioritize the jobs employing cloud resources both for communication-intensive and data-intensive computations. By considering both, Private cloud owned by an private IT organization and Public Cloud in which user hires services from Cloud service provider, efficiency and profitability need to be addressed. Efficiency is addressed by differentiating jobs based on their characteristics along with its utility functions and resources they used. Profitability is achieved through simple pay-as-you-go strategy. Results of the classification and quality evaluation rely on the judgmental experience of experts. There are also many other factors which affect the results of classification, such as the emotion of the experts, the human eyesight, the condition of illumination etc. The pricing scheme used in existing cloud system requires a kind of manual service differentiation, so there is a need for automatic service differentiation solution. In order to prioritize the jobs, the characteristics of job known by the user are need to be obtained by the service provider from the user. And also there is chance of misreporting the utility function (usage pattern) which leads to inefficient utilisation of cloud resources. Facing these problems, we proposed a new approach which is a novel cloud resource allocation framework along with service differentiation for clouds. This method provokes user to simply bid its true job characteristics which implies the mechanism is stable. It also allows users paying more for a type of resources are always allocated higher quantities of it.

Sushritha S, IJRIT

569

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 6, June 2014, Pg: 569-574

To demonstrate the practical impact of proposed method which is an auction based, we implement it in eclipse and evaluate its effectiveness and efficiency using map reduce workloads. The enhancement of auction mechanism is done by recovering true utility function from utility prediction component which frees the user from knowing utility function of most frequently running jobs.

II. Related works Most previous work focuses on allocating bandwidth in a distributed computation environment like network community where communication intensive jobs are executed [1]. They allocate bandwidth using algorithms like Weighted Fair Queuing (WFQ) [2] and Generalised Process Sharing (GPS) [3]. Here the job priorities are known earlier to the scheduler in advance. But in the cloud this solution is no longer applicable as job priorities not known in advance. Hindman et al. [4] propose Mesos, a resource allocation system that manipulates resources in a cloud system among different computation platforms, e.g. Hadoop, Hbase and MPI. In Mesos, every platform submits its resource request to the master node which then makes the offers of the resources to the platform based on the remaining resources available. Unfortunately Mesos does not support service differentiation. Popa et al.[5] extends Mesos to address bandwidth assignment in cloud system but this work also does not discuss service differentiation. Zaharia et al.[6] propose a scheduler that maintains a queue for jobs requesting particular map or reduce nodes. Our work is based on the fair scheduler proposed in this [6]. Sandholn and Lai [7] attempt to provide service differentiation for mapreduce, based on user priorities and a proportional resource allocation mechanism but it only handles one type of resource. Lee et al. [8] aim at improving system efficiency by considering low level system information, such as topology of computer cluster. Herodotou et al.[9] explore the problem of performance estimation, without direct optimisation scheduling algorithm. Auctions have been successfully applied to online keyword advertisement. Unfortunately this mechanism is not be applicable to cloud system due to several reasons. So above all these approaches, our proposed method considers multiple types of resources and is more generalised so that is not limited to any particular computing platform. Moreover this method is parameterised to balance fairness and efficiency of the system. The auction mechanism used here addresses utility function in an easy way and prevents the occurrence of deadlock while allocating resources to the jobs so that keeping every job in active state.

III. Methodology and Protocol The proposed method is a general framework for managing multiple types of system resources. Assume that there are m different types of resources. For each resource type j, there are a finite number of identical units of the resource. Existing cloud system allocates resources to the cloud users before starting their jobs. In proposed method resource allocation is done dynamically, based on the profiles of the jobs currently running in the system. The method allows each user to submit multiple jobs. Each job submission Ji consists of two parts, Ji = (bi , ui), in which bi is the budget the user is willing to pay for the job and ui is a utility function indicating the benefit of the job when the job is allocated with the certain amount of resources. Assume si = (si1, si2,…..,sim) is the vector of resources assigned to job Ji, in which each sij is an assignment probability in [0,1]. The Utility of job Ji is evaluated by the submitted utility function ui (si). Formally, the utility function ui is a mapping ui[0,1]→R. For example linear utility function is an utility function takes the form gi(sij) = wj sij. Where wj is a non-negative weight for each resource type j. The overall utility of the job is then the weighted sum on the resources assigned to job ji, i.e, ui(si) = ∑    . Linear utility function is suitable for computation models with substitutable 

resource.

Sushritha S, IJRIT

570

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 6, June 2014, Pg: 569-574

Another important class of functions that satisfy our requirements is log scale utility function of the form gi(sij)= wj log sij. The over all utility of the function is ui(si)= ∑   log  . The Log scale utility function is better model for jobs 

that require all types of computational resources. Given the utility function, the user submits his job Ji to system. All of the current jobs are kept in the runtime scheduler in system. Assume that there are n concurrent jobs running in the system with profiles {J1, J2, . . . , Ji, . . . , Jn}, proposed method calculates the resource assignment vector si for each Ji. There are m resource request queues maintained in Abacus. Each queue Qj stores the running jobs currently waiting for the resource of type j. Given the assignment vectors, {s1,…,si ,…, sn}, when a particular resource of type j is available for a new task, Abacus assigns the resource to job Ji with probability proportional to sij . It is important to emphasize that tasks could run independently with a single unit of resource which ensures no deadlock in the system. The below figure depicts the relationship between two important components Actioneer and Scheduler. Here the task of Actioneer is to compute the probability assignment vectors for the scheduler on all type of resources when a job is added or removed from the queue. Given the probability derived by the auctioneer, the scheduler selects next job in the queue.

In the above figure there is an idle map node the scheduler picks up a job among {J1,J2,J3,J6} and maps a new job on the idle node. When the job is finished it charges the user according to his bidding budget. So more budget, better will be the services. Unlike, Amazon EC2 and Mesos which emphasises economic profit, our approach balances the system efficiency and fairness. For calculating the assignment probability the auctioneer is provided with a protocol. Every user submits his jobs along with profile Ji. The main task is to calculate an assignment matrix which indicates the priority of the job Ji with respect to resource of type j. So for every pair of i and j, matrix is of size n×m. In this matrix, every Sij is a non negative real number such that ∑   1 for every resource type j. If we consider B as a domain of valid jobs and S as domain of all matrices meeting above condition, then auction mechanism is mapping M, from domain of job profile to assignment matrix domain, i.e. M : Bn → S. For example consider three jobs J1,J2,J3. The profile of job J1 is ($100, u1(x,y) = 3x+2y), where x and y denotes the number of map and reduce nodes respectively. Similarly the jobs J2 and J3 are associated with different budgets and linear utility functions. Based on auction mechanism, an assignment matrix is computed which is depicted on right side of the below figure.

Sushritha S, IJRIT

571

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 6, June 2014, Pg: 569-574

For example if job J1 as probabilities S11=0.310 and S12=0.236 to get map nodes and reduced nodes respectively. Since job J3 has more dependence on reduced nodes than J2 as specified in utility function J3 gains more resources on reduced nodes than J2. The auction mechanism virtually partitions the budget bi of job Ji into small sub budgets i.e. {bi1,…..,bim},such that ∑     . each sub budget bij is a part of bi on job Ji to spent on resource j. Our approach partitions the budget based on the jobs submitted by users for example consider job J1 assigned sub budget $64 for map nodes and $36 for reduces nodes. By setting a scaling factor to balance the priorities of high budget jobs and fairness between jobs we can easily verify the correctness of final assignment matrix as in the right side of the below figure.

Based on the assignment role, the job Ji prefers to put more sub budgets on resources that contribute more to its utility functions. However, our approach does not allow the user to manually adjust virtual sub budgets themselves. Instead, the auctioneer automatically optimises the sub budgets for all jobs. Even though it is possible to support sub budget specification by user, it may leads to violations to our desirable properties. So the process has been automated without necessity of human intervention.

IV. Result Analysis We conducted our result analysis by comparing our system against the popular First-In-First-Out (FIFO) scheduling strategy, and report the total time to finish all jobs. Our system enables service differentiation with negligible overhead on overall performance of the system.

The above figure shows that our approach has competitive performance compared to FIFO, when varying the number of users. There are at most five users in our experiments. Due to the clear statement on the utility functions on the jobs, our system performs well in most settings than FIFO. Moreover our system capable of scheduling assignments of map and reduce resources in optimistic way to improve the throughput. In the above figure 4(b), it shows that the system performs well when all jobs have the same budget. This is because our approach works very similar to Fair Scheduler Sushritha S, IJRIT

572

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 6, June 2014, Pg: 569-574

when all users have the same budget/priority. In this case, the system assigns the resources based on the preference information contained in the utility functions, instead of purely based on their budgets. We also tested the system performance when the users are submitted different job utility functions. Fig 9(c) shows the impact of changing utility function of a user. The result again dominates above FIFO. Our proposed approach improves the system performance about 20%, even when the user is not reporting the true utility functions. The performance again increases further when the user tells her true utility function.

V. Conclusion and Future Work We presented a new resource allocation framework in Cloud environment. Our approach provides cost effective service differentiation both from the perspective of Cloud service provider and users. We proposed a system which is efficient and fair along with cost beneficiary with promising performance. Our approach only handles independent computation resources in the system. Hence in future we may concentrate on dependent computation resources.

REFERENCES [1]

J.-Y. Boudec. Rate adaptation, congestion control and fairness: A tutorial. 2008.

[2]

A. Demers, S. Keshav, and S. Shenker. Analysis and simulation of a fair queueing algorithm. ACM SIGCOMM Computer Communication Review, Vol. 19, Issue 4, 1989.

[3]

A. K. Parekh and R. G. Gallager. A generalized processor sharing approach to flow control in integrated services networks: The singlenode case. IEEE/ACM Transactions on Networking, 1(3):521–530, June1993.

[4]

B. Hindman, A. Konwinski, M. Zaharia, A. Ghodsi, A. Joseph, R. Katz, S. Shenker, and I. Stoica. Mesos: A platform for fine-grained resource sharing in the data center. In NSDI, 2011.

[5]

L. Popa, A. Krishnamurthy, S. Ratnasamy, and I. Stoica. Faircloud: Sharing the network in cloud computing. In Hotnets, 2011.

[6]

M. Zaharia, D. Borthakur, J. Sen Sarma, K. Elmeleegy, S. Shenker, and I. Stoica. Job scheduling for multiuser MapReduce clusters. Technical Report UCB-EECS-2009-55, EECS Department, University of California, Berkeley, Apr 2009.

[7]

T. Sandholm and K. Lai. MapReduce optimization using regulated dynamic prioritization. In SIGMETRICS, 2009.

[8]

G. Lee, B.-G. Chun, and R. H. Katz. Heterogeneity-aware resource allocation and scheduling in the cloud. In HotCloud, 2011.

[9]

H. Herodotou, F. Dong, and S. Babu. No one (cluster) size fits all: Automatic cluster sizing for dataintensive analytics. In SOCC, 2011.

Sushritha S, IJRIT

573

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 6, June 2014, Pg: 569-574

Authors Bibilography Prof. Shivamurthy R C received the BE degree from PDA college of Engineering, Gulbarga University and received the M.Tech degree in Computer Science & Engineering from Malnad College of Engineering,Visvesvaraya Technological University, Belgaum. He served as a Bio Medical Engineer in AIMS Hospital & Cancer Research Center. He served as Assistant Professor in B.G.S.Institute of Technology, B.G.Nagar and currently working as professor in the department of Computer Science at A.I.T, Tumkur, Karnataka, and is also a Ph.D scholar in CMJ University, India.

Sushritha S, IJRIT

574

A Novel Approach to Cloud Resource Management for ...

A Novel Approach to Cloud Resource Management for ... the jobs employing cloud resources both for communication-intensive and data-intensive computations ...

675KB Sizes 2 Downloads 245 Views

Recommend Documents

A Novel Approach to Cloud Resource Management for Service ...
condition of illumination etc. The pricing scheme used in existing cloud system requires a kind of manual service differentiation, so there is a need ... Facing these problems, we proposed a new approach which is a novel cloud resource allocation fra

A NOVEL APPROACH TO SIMULATING POWER ELECTRONIC ...
method for inserting a matlab-based controller directly into a Saber circuit simulation, which ... M-file can be compiled into a C function and a Saber template can call the foreign C function. ... International Conference on Energy Conversion and Ap

Memory Resource Management for Cloud Computing ...
to make safe the close relation physical machines PMs have enough resources to meet their needs VM live migration technology makes it possible to change the mapping between VMs and PMs while applications are running. However an insurance agreement qu

IncludeOS: A minimal, resource efficient unikernel for cloud services
tasking library operating system for cloud services, ... your service needs gets included, and only one device ... devices ranging from Gigabit network interfaces.

A Flexible Approach to Efficient Resource Sharing in ...
multiple concurrent bursty workloads on a shared storage server. Such a situation ... minimum throughput guarantees [8, 16] (IOPS) or response time bounds [11 ...

A Novel Approach To Structural Comparison of Proteins
Apr 13, 2004 - April, 2004. Abstract. With the rapid discovery of protein structures, structural comparison of proteins has become ... Science and Engineering, Indian Institute of Technology, Kanpur. No part of this thesis .... Using the QHull progra

Wireless QoSNC: A Novel Approach to QoS-based ...
services offer TV broadcasting, video telephony and other sorts of media ... where the broadcast nature of wireless medium and link losses are taken into ..... All nodes within this radius receive the transmitted symbol correctly and were considered

A Novel Approach to the 2D Differential Geometric ...
of-attack is developed to formulate the DG guidance system, whose iterative solution is established ... Therefore, a different approach may be given to study mis-.

A novel approach to Monte Carlo-based uncertainty ...
Software Ltd., Kathmandu, Nepal, (3) Water Resources Section, Delft ... was validated by comparing the uncertainty descriptors in the verification data set with ... The proposed techniques could be useful in real time applications when it is not ...

A Novel Approach to Automated Source Separation in ...
of the proposed method with other popular source separation methods is drawn. ... The alternative method for speech separation that is pre- sented in this paper is not .... around the pitch harmonics versus the overall energy of signal xm.

A Novel Approach to the 2D Differential Geometric ... - jlc.jst.go.jp
1ЮDepartment of Aerospace Engineering, Harbin Institute of Technology, ... 2ЮShanghai Electro-Mechanical Engineering Institute, Shanghai, P.R. China.

TIRAMISU: A novel approach to content ...
key management for seamless super-distribution of ... Convergence of digital media distribution chan- ..... fashion, e.g. distribution from a web portal or P2P.

A Novel approach for Fingerprint Minutiae Extraction by ...
analysis digital security and many other applications. .... missing information and removes spurious minutiae. .... Find indices (r, c) of nonzero elements. d.

Machine Learning In Chemoinformatics: A Novel Approach for ... - IJRIT
methods, high throughput docking, drug discovery, data analysis methods, etc[6] .... QSAR, protein-Ligand Models, Structure Based Models, Microarray Analysis,.

The Method of Separation: A Novel Approach for ...
emerging field of application is the stability analysis of thin-walled ...... Conf. on Computational Stochastic Mechanics (CSM-5), IOS Press, Amsterdam. 6.

A Novel Approach for Recognition of Human Faces
Email: * [email protected] , ** [email protected]. ABSTRACT: This paper attempts to describe ... template based methods. Here we are going to recognize human ...

A Novel approach for Fingerprint Minutiae Extraction by ...
analysis digital security and many other applications. Fingerprints are fully formed at about seven months of fetus development and finger ridge configurations do not ... point or island, spur and crossover. A good quality fingerprint typically conta

A Novel Approach for Changing Bandwidth of FSS ...
A Novel Approach for Changing Bandwidth of FSS Filter Using. Gradual Circumferential Variation of Loaded Elements. S. M. Choudhury, M. A. Zaman, M. Gaffar, and M. A. Matin. Bangladesh University of Engineering and Technology, Dhaka, Bangladesh. Abstr