ieee transactions on sustainable computing, vol. 2,...

13
Customer-Satisfaction-Aware Optimal Multiserver Configuration for Profit Maximization in Cloud Computing Jing Mei, Kenli Li, Senior Member, IEEE, and Keqin Li, Fellow, IEEE Abstract—Along with the development of cloud computing, an increasing number of enterprises start to adopt cloud service, which promotes the emergence of many cloud service providers. For cloud service providers, how to configure their cloud service platforms to obtain the maximum profit becomes increasingly the focus that they pay attention to. In this paper, we take customer satisfaction into consideration to address this problem. Customer satisfaction affects the profit of cloud service providers in two ways. On one hand, the cloud configuration affects the quality of service which is an important factor affecting customer satisfaction. On the other hand, the customer satisfaction affects the request arrival rate of a cloud service provider. However, few existing works take customer satisfaction into consideration in solving profit maximization problem, or the existing works considering customer satisfaction do not give a proper formalized definition for it. Hence, we first refer to the definition of customer satisfaction in economics and develop a formula for measuring customer satisfaction in cloud computing. And then, an analysis is given in detail on how the customer satisfaction affects the profit. Lastly, taking into consideration customer satisfaction, service-level agreement, renting price, energy consumption, and so forth, a profit maximization problem is formulated and solved to get the optimal configuration such that the profit is maximized. Index Terms—Cloud computing, customer satisfaction, multiserver system, profit maximization, PoS, QoS, service-level agreement Ç 1 INTRODUCTION C LOUD computing is the delivery of resources and com- puting as a service rather than a product over the Inter- net, such that accesses to shared hardware, software, databases, information, and all resources are provided to consumers on-demand [1]. Customers use and pay for serv- ices on-demand without considering the upfront infrastruc- ture costs and the subsequent maintenance cost [2]. Due to such advantages, cloud computing is becoming more and more popular and has received considerable attention recently. Nowadays, there have been many cloud service providers, such as Amazon EC2 [3], Microsoft Azure [4], Saleforce.com [5], and so forth. As a kind of new IT commercial model, profit is an important concern of cloud service providers. As shown in Fig. 1, the cloud service providers rent resources from infrastructure providers to configure the service platforms and provide paid services to customers to make profits. For cloud service providers, how to configure their cloud service platforms to obtain the maximal profit becomes increasingly the focus that they pay attention to. The optimal configuration problem with profit maximi- zation of cloud service providers has been researched in our previous researches [2], [6] which assumed that the cloud service demand is known in advance and not affected by external factors. However, the request arrival rate of a service provider is affected by many fac- tors in actual, and customer satisfaction is the most impor- tant factor. For example, customers could submit their tasks to a cloud computing platform or execute them on their local computing platforms. The customer behavior depends on if the cloud service is attractive enough to them. To configure a cloud service platform properly, the cloud service provider should know how customer satis- faction affects the service demands. Hence, considering customer satisfaction in profit optimization problem is nec- essary. However, few existing works take customer satis- faction into consideration in solving profit maximization problem, or the existing works considering customer satis- faction do not give a proper formalized definition for it. To address the problem, this paper adopts the thought in Business Administration, and first defines the customer sat- isfaction level of cloud computing. Based on the definition of customer satisfaction, we build a profit maximization model in which the effect of customer satisfaction on quality of service (QoS) and price of service (PoS) is considered. From an economic standpoint, two J. Mei is with the Key Laboratory of High Performance Computing and Stochastic Information Processing (HPCSIP) (Ministry of Education of China), and College of Mathematics and Computer Science, Hunan Normal University, Changsha, Hunan 410081, China. E-mail: [email protected]. K. Li is with the College of Information Science and Engineering, Hunan University, and National Supercomputing Center in Changsha, Hunan 410082, China. E-mail: [email protected]. K. Li is with the College of Information Science and Engineering, Hunan University, and National Supercomputing Center in Changsha, Hunan 410082, China, and the Department of Computer Science, State University of New York, New Paltz, NY 12561. E-mail: [email protected]. Manuscript received 14 July 2016; revised 30 Dec. 2016; accepted 7 Feb. 2017. Date of publication 13 Feb. 2017; date of current version 17 Mar. 2017. Recommended for acceptance by P. Bouvry. For information on obtaining reprints of this article, please send e-mail to: [email protected], and reference the Digital Object Identifier below. Digital Object Identifier no. 10.1109/TSUSC.2017.2667706 IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017 17 2377-3782 ß 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

Upload: others

Post on 26-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

Customer-Satisfaction-Aware OptimalMultiserver Configuration for ProfitMaximization in Cloud Computing

Jing Mei, Kenli Li, Senior Member, IEEE, and Keqin Li, Fellow, IEEE

Abstract—Alongwith the development of cloud computing, an increasing number of enterprises start to adopt cloud service, which

promotes the emergence of many cloud service providers. For cloud service providers, how to configure their cloud service platforms

to obtain themaximum profit becomes increasingly the focus that they pay attention to. In this paper, we take customer satisfaction into

consideration to address this problem. Customer satisfaction affects the profit of cloud service providers in two ways. On one hand, the

cloud configuration affects the quality of service which is an important factor affecting customer satisfaction. On the other hand, the

customer satisfaction affects the request arrival rate of a cloud service provider. However, few existing works take customer satisfaction

into consideration in solving profit maximization problem, or the existing works considering customer satisfaction do not give a proper

formalized definition for it. Hence, we first refer to the definition of customer satisfaction in economics and develop a formula for

measuring customer satisfaction in cloud computing. And then, an analysis is given in detail on how the customer satisfaction affects the

profit. Lastly, taking into consideration customer satisfaction, service-level agreement, renting price, energy consumption, and so forth, a

profit maximization problem is formulated and solved to get the optimal configuration such that the profit is maximized.

Index Terms—Cloud computing, customer satisfaction, multiserver system, profit maximization, PoS, QoS, service-level agreement

Ç

1 INTRODUCTION

CLOUD computing is the delivery of resources and com-puting as a service rather than a product over the Inter-

net, such that accesses to shared hardware, software,databases, information, and all resources are provided toconsumers on-demand [1]. Customers use and pay for serv-ices on-demand without considering the upfront infrastruc-ture costs and the subsequent maintenance cost [2]. Due tosuch advantages, cloud computing is becoming moreand more popular and has received considerable attentionrecently. Nowadays, there have been many cloud serviceproviders, such as Amazon EC2 [3], Microsoft Azure [4],Saleforce.com [5], and so forth.

As a kind of new IT commercial model, profit is animportant concern of cloud service providers. As shown inFig. 1, the cloud service providers rent resources from

infrastructure providers to configure the service platformsand provide paid services to customers to make profits. Forcloud service providers, how to configure their cloudservice platforms to obtain the maximal profit becomesincreasingly the focus that they pay attention to.

The optimal configuration problem with profit maximi-zation of cloud service providers has been researched inour previous researches [2], [6] which assumed thatthe cloud service demand is known in advance andnot affected by external factors. However, the requestarrival rate of a service provider is affected by many fac-tors in actual, and customer satisfaction is the most impor-tant factor. For example, customers could submit theirtasks to a cloud computing platform or execute them ontheir local computing platforms. The customer behaviordepends on if the cloud service is attractive enough tothem. To configure a cloud service platform properly, thecloud service provider should know how customer satis-faction affects the service demands. Hence, consideringcustomer satisfaction in profit optimization problem is nec-essary. However, few existing works take customer satis-faction into consideration in solving profit maximizationproblem, or the existing works considering customer satis-faction do not give a proper formalized definition for it. Toaddress the problem, this paper adopts the thought inBusiness Administration, and first defines the customer sat-isfaction level of cloud computing.

Based on the definition of customer satisfaction, we builda profit maximization model in which the effect of customersatisfaction on quality of service (QoS) and price of service(PoS) is considered. From an economic standpoint, two

� J. Mei is with the Key Laboratory of High Performance Computing andStochastic Information Processing (HPCSIP) (Ministry of Education ofChina), and College of Mathematics and Computer Science, Hunan NormalUniversity, Changsha, Hunan 410081, China.E-mail: [email protected].

� K. Li is with the College of Information Science and Engineering, HunanUniversity, and National Supercomputing Center in Changsha, Hunan410082, China. E-mail: [email protected].

� K. Li is with the College of Information Science and Engineering,Hunan University, and National Supercomputing Center in Changsha,Hunan 410082, China, and the Department of Computer Science, StateUniversity of New York, New Paltz, NY 12561. E-mail: [email protected].

Manuscript received 14 July 2016; revised 30 Dec. 2016; accepted 7 Feb. 2017.Date of publication 13 Feb. 2017; date of current version 17 Mar. 2017.Recommended for acceptance by P. Bouvry.For information on obtaining reprints of this article, please send e-mail to:[email protected], and reference the Digital Object Identifier below.Digital Object Identifier no. 10.1109/TSUSC.2017.2667706

IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017 17

2377-3782� 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

Page 2: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

factors affecting customer satisfaction are QoS and PoS. ThePoS is determined by cloud service providers. The QoS isdetermined by the service capacity of a cloud service pro-vider which largely depends on its platform configuration.Under the given pricing strategy, the only way to improvethe customer satisfaction level is to promote the QoS, whichcan be achieved by configuring cloud platform with higherservice capacity. Doing so can affect a cloud service providerfrom two asides. On one hand, the higher customer satisfac-tion level leads to a higher market share, so the cloud serviceprovider can gain more revenues. On the other hand, moreresources are rented to improve the service capacity, whichleads to the increase of costs. Hence, the ultimate solution ofimproving profit is to find an optimal cloud platform config-uration scheme. In this paper, we build a customer-satisfac-tion-aware profit optimization model and propose a discretehill climbing algorithm to find the numeric optimal cloudconfiguration for cloud service providers.

The contributions of this paper are listed as follows:

� Based on the definition of customer satisfaction levelin economics, develop a calculation formula formeasuring customer satisfaction in cloud;

� Analyze the interrelationship between customer sat-isfaction and profit, and build a profit optimizationmodel considering customer satisfaction;

� Develop a discrete hill climbing algorithm to find theoptimal cloud configuration such that the profit ismaximized.

The rest of the paper is organized as follows. Section 2reviews the related work on profit maximization in cloudcomputing. Section 3 gives a definition of customersatisfaction level and its calculation formula. Section 4presents the cloud service system model and the service-level agreement (SLA) adopted in this paper. In Section 5,the customer satisfaction of cloud service providers iscalculated. Section 6 builds the profit optimization modeland proposes a heuristic algorithm to find the optimal cloudconfiguration. Section 7 conducts a series of numericalcalculations to analyze the changing trend of the customersatisfaction and the profit with varying cloud configuration.A group of comparisons are conducted to prove the superi-ority of our method. Finally, Section 8 concludes the works.

2 RELATED WORK

In this section, we first review the literatures concerningcustomer satisfaction, and then the profit maximizationproblem in cloud computing.

To estimate the service demand of a service provider, it iscritical to measure its customer satisfaction. In businessmanagement, there have beenmany specialists who focus onthe researches of the definition of customer satisfaction [7],[8], [9], [10], [11]. The concept of customer satisfaction is firstproposed by Cardozo [7] in 1965 and he believed that highcustomer satisfaction produces purchase behavior again.After that, many different definitions are proposed for cus-tomer satisfaction. Howard and Sheth [8] considered cus-tomer satisfaction as the psychological states of a customerwhen evaluating the reasonability of pay and gain. Churchilland Surprenant [9] considered customer satisfaction as thecomparison results between the payment to buy a product orservice and the benefit using this product or service. Tes andWilton [10] defined customer satisfaction as evaluation ofthe difference between prior expectation and cognitiveperformance. Parasuraman et al. [11] believed that customersatisfaction is a function of QoS and PoS. Although thesedefinitions are described differently, their ideas are consis-tent with that of discrepancy theory [12], [13], that is, in anycase, customer satisfaction is determined by the differencebetween prior expectation and actual cognitive afterwards.

In recent years, cloud computing has become a boomingservice industry. How to increase profit is an important issuefor cloud service providers. Many works have been done toresearch this issue [2], [14], [15], [16], [17], [18], [19]. There aresome researches focusing on the profit maximization prob-lem of the service providers. Chaisiri et al. [18] took into con-sideration the uncertainty of the customers demand, andproposed a stochastic programming model with two-stagerecourse to solve the profitmaximization problem for the ser-vice providers. Cao et al. [2] proposed an optimalmultiserverconfiguration strategy. Through the optimal strategy, theoptimal configuration of multiserver system, i.e., the serversize and the server speed, can be determined such that theprofit of a multiserver system is maximized. Some papersconsider the profit problem under different cloud computingenvironments. For example, Liu et al. [19] considered a cloudservice provider operating geographically distributed datacenters in a multi-electricity-market environment, and pro-posed an energy-efficient, profit- and cost-aware requestdispatching and resource allocation algorithm to maximize aservice providers net profit. In above works, they did nottake customer satisfaction into consideration.

There are some works in cloud computing which con-sider customer satisfaction [20], [21], [22], [23], [24], [25],[26], [27], [28]. Chen et al. [20] adopted utility theoryleveraged from economics and developed an utility modelfor measuring customer satisfaction in cloud. In the utilitymodel, consumer satisfaction is relevant to two factors:service price and response time. They assumed thatconsumer satisfaction is decreased with higher service priceand longer response time. In [21], the user satisfaction iscalculated as the ratio of the actual QoS level and theexpected QoS level. Wu et al. [22] proposed an admissioncontrol and scheduling algorithms for SaaS providers tomaximize profit by minimizing cost and improve customersatisfaction level. However, they did not give a specific for-mula to measure customer satisfaction level. Chao et al. [24]proposed a customer satisfaction-aware algorithm based onthe Ant-Colony Optimization (AMP) for geo-distributed

Fig. 1. The three-tier cloud structure.

18 IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017

Page 3: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

datacenters. In this paper, the customer satisfaction model issame as that used in [20]. In [26], the authors defined theusers’ satisfaction as the extent to which the user’s resourcerequirements have been met, and it is calculated as the ratioof the actual consumption and the expectation resources.In [27], Unuvar et al. proposed a predictive approach toselect an optimum cloud availability zone that maximizesuser satisfaction. However, the user satisfaction here isdefined as how much the requirements specified in arequest are satisfied. Morshedlou and Meybodi [28] definedthe users’ satisfaction level based on expected value ofuser’s utility that an user attaches to a certain monetaryamount. However, the existing formulas measuring cus-tomer satisfaction of cloud computing cannot properlyreflect the definition of customer satisfaction, and they didnot take into account user’s psychological differences.

To address this problem, we use the definition of customersatisfaction leveraged from economics and develop a formulato measure customer satisfaction in cloud. And then, howcloud configuration affects customer satisfaction and howcustomer satisfaction affects the profit of cloud service pro-viders are analyzed. Based on these works, a profit maximiza-tion problem considering customer satisfaction is formulatedand solved such that the optimal configuration is obtained.

3 THE DEFINITION OF CUSTOMER SATISFACTION

LEVEL

Customer satisfaction is an important factor that should beconsidered in a service market, i.e., cloud computing, whichis a measure of how products and services supplied by acompanymeet or surpass customer expectation [9], [10], andit directly affects the number of customers of a company, andthe profit consequently. In general, the overall customer sat-isfaction level of a company is an accumulation of the satis-faction values of all customers. In the following, we first givethe satisfaction formula of each customer, and then the over-all customer satisfaction of a company.

3.1 Satisfaction of Single Customer

The QoS and PoS are two main factors affecting the serviceevaluation of each customer. Hence, we define the satisfac-tion of a customer Sone as the product of QoS satisfactionand PoS satisfaction as follows:

Sone ¼ SQoSSPoS; (1)

where SQoS and SPoS are the QoS satisfaction and PoS satis-faction, respectively.

QoS Satisfaction. From a psychological point, QoS is asubjective concept which is the result of the comparisonthat customers make between their expectations about aservice and their perceptions of the way the service hasbeen performed [11], [29], [30], [31]. The expectations arenot generated out of thin air but based on the establishedprice. For example, if the PoS of a provider is high, whichimplies that its QoS would be better than those providerswith a lower price, hence, the customers’ expectations ofperformance would be higher. Under a given price, if theperceptions of performance surpass the expectations, theQoS is considered as high, and vice verse. High QoS makesa high QoS satisfaction, and with the decreasing of QoS, the

QoS satisfaction is dropping continuously. Hence, the truefactor which affects QoS satisfaction is the discrepancybetween the perception performance and the expectationperformance. According to the discrepancy theory in eco-nomics, we formulate the QoS satisfaction of a customer as

SQoS ¼ 1; if Pper � Pexp;e�jðPper�PexpÞ=Pexp j; if Pper < Pexp;

�(2)

where Pper and Pexp present the perception performanceand the expectation performance, respectively. This equa-tion is proposed based on the understanding of Kano modelwhich is proposed by Kano et al. in [32] and it is a theory ofproduct development and customer satisfaction.

PoS Satisfaction. Similarly, the PoS satisfaction can be for-mulated as the comparison between the predefined priceand the actual price, which is defined as

SPoS ¼ eðCpre�CactÞ=Cpre ; (3)

where Cpre and Cact present the predefined price andthe actual price, respectively. In general, the PoS of a serviceprovider is pre-made. Before a customer submits therequests, the PoS is known which can be considered asthe expected price. If the actual PoS is equal to the expectedprice, we consider the default satisfaction in terms of priceto be 1, that means, the price has no effect on the total satis-faction. If the actual PoS is higher than the expected price,the PoS satisfaction is less than 1 and decreases with theincreasing PoS. On the contrary, if the actual PoS is lowerthan the expected price, the customer can be delighted bythe low price, hence the PoS satisfaction is greater than 1and increases with the decreasing PoS.

3.2 Overall Customer Satisfaction

According Eq. (1), it is easy to estimate the satisfaction ofeach customer. However, what really matters is the overallcustomer satisfaction of a service provider (denoted by S),which is the expectation of satisfaction of all customers as

S ¼ Sone: (4)

Since the objective of this paper is to research the profitoptimization of cloud service providers, we should studyhow to measure the customer satisfaction of a cloud serviceprovider and how the customer satisfaction affects the itsprofit, which are analyzed in the following.

4 PRELIMINARY KNOWLEDGE

Before analyzing the customer satisfaction of a cloud serviceprovider, we present the service model first. Besides,Service-Level Agreement is also introduced, which is anegotiation about the charge and the QoS between cloudservice providers and customers.

4.1 The Cloud Service Model

The cloud service system is a multiserver system shown inFig. 2 which can be modeled as an M/M/m queuing model.Similar models are used in many researches on cloudcomputing such as [2], [6], [33].

In the M/M/m model, m is the number of servers, andall servers run at an identical speed s (measured by the

MEI ETAL.: CUSTOMER-SATISFACTION-AWARE OPTIMAL MULTISERVER CONFIGURATION FOR PROFIT MAXIMIZATION IN CLOUD... 19

Page 4: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

number of instructions that can be executed in one unit oftime). Assume that the interarrival times of service requestsare independent and identically distributed (i.i.d.) exponen-tial random variables, in other words, the arrival requestsfollow a Poisson process with arrival rate � [2]. Theexecution requirements of the tasks (measured by thenumber of instructions to be executed) are i.i.d. exponentialrandom variables r with mean r. Since the server executionspeed is s, the service times of the requests are also i.i.d.exponential random variables x ¼ r=s with mean x ¼ r=s.Hence, the average service rate, i.e., the average number ofservice requests that can be completed by a server withspeed s in one unit of time, is m ¼ 1=x ¼ s=r.

Assume that the number of virtual machines in a serveris fixed and cannot be changed during the runtime. Eacharriving request enters the multiserver system and waits ina queue with infinite capacity when all the servers are busy.The first-come-first-served (FCFS) queuing strategy isadopted. Let pk denote the probability that there are k ser-vice requests (waiting or being processed) in the M/M/mqueuing system. We have

pk ¼ p0ðmrÞkk! ; k � m;

p0mmrk

k! ; k > m;

(

where

p0 ¼Xm�1k¼0

ðmrÞkk!þ ðmrÞm

m!

1

1� r

!�1;

and r is the server utilization which is calculated asr ¼ �=mm ¼ �x=m ¼ �=m � r=s.

If all servers are busy when a newly service request issubmitted, it must wait and the probability is

Pq ¼X1k¼m

pk ¼ pm

1� r:

Let W denote the waiting time of a newly arrived servicerequest to the multiserver M/M/m system. The probabilitydistribution function (pdf) of the waiting timeW is

fW ðtÞ ¼ ð1�PqÞuðtÞ þmmpme�ð1�rÞmmt; (5)

where uðtÞ is a unit impulse function defined as

uzðtÞ ¼ z; 0 � t � 1z ;

0; t > 1z ;

and

uðtÞ ¼ limz!1

uzðtÞ:

The function uzðtÞ has the following properties, i.e.,Z 10

uzðtÞdt ¼ 1;

and

Z 10

tuzðtÞdt ¼ z

Z 1=z

0

tdt ¼ 1

2z:

4.2 The Service-Level Agreement

In general, the QoS is affected by many factors such as theservice time, the failure rate and so forth. However, in thispaper, we measure the QoS of a request by its response timefor two reasons. First, the service time is easily measured.Second, it gives customers an intuitive feeling of QoS. Forcustomers, they do not care how failures are managedwhen failures occur. They only care whether the task can becompleted successfully and how long it takes.

The response times of requests are different from eachother due to the changing system workload and limitedservice capacity, which leads to different QoS and QoS satis-faction. In general, each customer has a tolerable responsetime which is related to the execution requirement of itsrequests. We denote the tolerable response time of a requestwith execution requirement r by cr=s0, where s0 is be base-line speed of a server and c is a constant coefficient. If theresponse time of a request exceeds the tolerable value, thecustomer feels dissatisfaction about the service, which leadsto the degrade of the overall customer satisfaction of theservice provider.

To protect the interests of customers and maintain thecustomer satisfaction, there is always a service-level agree-ment between a service provider and customers in whichthe QoS and the corresponding charge are stipulated. In thispaper, we adopt a similar SLA with [2] which defines theservice charge for a service request with execution require-ment r and response time T to be

Cðr; T Þ ¼ar; if 0 � T � c

s0r;

ar�‘�T� cs0r�; if c

s0r < T � � a‘þ c

s0

�r;

0; if T >�a‘þ c

s0

�r;

8><>: (6)

where a is the service charge per unit amount of service and‘ is a coefficient representing the compensation strengthdue to the low QoS.

This SLA stipulates how to compensate the customerswhen the QoS is low. In this case, a common approachadopted by service providers is reducing the charge as a com-pensation of lowQoS tomaintain the customer satisfaction. Ifthe response time T of serving a request is not longer thanðc=s0Þr, then the service request is processed with high QoSand the customer is charged ar. If the response time T islonger than ðc=s0Þr but not longer than ða=‘þ c=s0Þr, then theservice request is served with low quality and the charge to acustomer decreases linearly as T increases. If the responsetime T is longer than ða=‘þ c=s0Þr, the service is free [2].

5 CUSTOMER SATISFACTION OF CLOUD SERVICE

PROVIDERS

In the following, the measurement of customer satisfactionof a cloud service provider is introduced based on Eq. (4).

Fig. 2. The M/M/m queuing model.

20 IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017

Page 5: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

The waiting time W of a service request is W ¼ T � r=s,where s is the actual speed of a server which can bedecided by a service provider and r=s is the actual execu-tion time under speed s. Since the distribution function ofwaiting time W of service requests is known, it is better torewrite Eq. (6) in terms r and waiting time W instead ofresponse time T . The rewritten charge function is

Cðr;WÞ ¼

ar; if 0 �W � � cs0� 1

s

�r;�

aþ c‘s0� ‘

s

�r�‘W; if

�cs0� 1

s

�r < W

� � a‘þ cs0� 1

s

�r;

0; if W >�a‘þ c

s0� 1

s

�r:

8>>>><>>>>:

(7)

If we know the QoS of a request and its correspondingcharge, it is easy to estimate its service satisfaction.

5.1 The Calculation of Single Customer Satisfaction

The expectation response time of a request with require-ments r is cr=s0, that is, its expectation waiting time isðcr=s0 � 1=sÞ. Assume that its actual waiting time is W andthe actual price is x (x is the price per unit amount of ser-vice), then its QoS satisfaction is formulated as

SQoSðr;WÞ ¼e ðc=s0�1=sÞr�Wðc=s0�1=sÞr ; if W >

�cs0� 1

s

�r;

1; if 0 �W � � cs0� 1

s

�r;

((8)

and its PoS satisfaction is formulated as

SPoSðr; xÞ ¼1; if x ¼ a;

e‘a

�1s þ W

r � cs0

�; if x ¼ �aþ c‘

s0� ‘

s

��‘W=r;

e; if x ¼ 0:

8><>: (9)

Because the actual price x is determined by the waiting timeW which is x ¼ Cðr;WÞ=r, Eq. (9) can be rewritten byreplacing the independent variable xwithW

SPoSðr;WÞ ¼1; if 0 � W � � c

s0� 1

s

�r;

e‘a ð1s þ W

r � cs0

�; if ð cs0 � 1

s

�r < W � � a‘ þ c

s0� 1

s

�r;

e; if W >�a‘ þ c

s0� 1

s

�r:

8>><>>:

(10)

Substituting Eqs. (8) and (10) into Eq. (1), we can get theservice satisfaction of a request with r andW as

Sone ðr;WÞ ¼

1; if 0 �W � � cs0� 1

s

�r;

e1 þ ‘

a

�1s� c

s0

�þ�‘a � 1

c=s0 � 1=s

�Wr ; if ð cs0�

1s

�r < W

� � a‘ þ cs0� 1

s

�r;

e2 � W

ðc=s0 � 1=sÞr; if W >�a‘ þ c

s0� 1

s

�r:

8>>>>><>>>>>:

(11)

In the given charge function of Eq. (6), ‘ is a constant rep-resenting the compensation degree when the QoS cannotmeet the expectation and it is determined by service pro-viders. How to set ‘ is a problem for service providersbecause it has a direct relation with their profit. Obviously,a greater ‘ can improve the customer satisfaction moreefficiently, but it also leads to lower revenues. In this paper,we assume that the range of customer satisfaction is

between 0 and 1. Then, the ‘ value should be selected prop-erly such that each customer’s satisfaction is not greaterthan 1, and a proper range of ‘ is given in Theorem 5.1.

Theorem 5.1. Let the maximal satisfaction of a customer be 1. ‘should be less than or equal to a=ð cs0� 1

sÞ.Proof. For a request with service requirement r and waiting

time W , its customer satisfaction can be analyzed in threesituations according to Eq. (11):

� If 0 �W � � cs0� 1

s

�r, the customer satisfaction is

always 1.� If ð cs0� 1

sÞr < W � ða‘þ cs0� 1

sÞr, the customer satis-

faction is Sone e1þ‘

að1s� cs0Þþð‘a� 1

c=s0�1=sÞWr which is a

monotone function of W since ð‘a� 1c=s0�1=sÞ is a

constant. To guarantee the range of satisfaction be

[0, 1], the satisfaction values at W1 ¼ ð cs0� 1sÞr and

W2 ¼ ða‘þ cs0� 1

sÞr are not greater than 1, and the

corresponding inequality equation is

Soneðr;W1Þ

¼ e1þ‘

a

�1s� c

s0

�þ�‘a� 1

c=s0�1=s�ðc=s0�1=sÞr

r

¼ 1:

(12)

Soneðr;W2Þ

¼ e1þ‘

a

�1s� c

s0

�þ�‘a� 1

c=s0�1=s�ða=‘þc=s0�1=sÞr

r

¼ e1� a=‘

c=s0�1=s

� 1:

(13)

Solving Eq. (13), we can get

‘ � a

c=s0�1=s :

� WhenW is longer than�a‘þ c

s0� 1

s

�r,

Soneðr;WÞ ¼ e2� Wðc=s0�1=sÞr

� e1� a=‘

c=s0�1=s

� 1:

(14)

Similarly, the solution is

‘ � a

c=s0�1=s :

To sum up, ‘ is not greater than a=ð cs0� 1sÞ. This com-

pletes the proof of the theorem. tuIn this paper, we set ‘ ¼ a=ð cs0� 1

sÞ to maximize the

customer satisfaction, so Eq. (11) is simplified as

Soneðr;WÞ ¼1; if 0 �W � � c

s0� 1

s

�r;

1; if�

cs0� 1

s

�r < W � 2

�cs0� 1

s

�r;

e2 � W

ðc=s0 � 1=sÞr; if W > 2�

cs0� 1

s

�r:

8>><>>:

MEI ETAL.: CUSTOMER-SATISFACTION-AWARE OPTIMAL MULTISERVER CONFIGURATION FOR PROFIT MAXIMIZATION IN CLOUD... 21

Page 6: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

and Eq. (7) is simplified as

Cðr;WÞ ¼

ar; if 0 �W � � cs0� 1

s

�r;

2ar� aW=ð cs0 � 1sÞ; if

�cs0� 1

s

�r < W

� 2�

cs0� 1

s

�r;

0; if W > 2�

cs0� 1

s

�r:

8>>>><>>>>:

5.2 The Overall Customer Satisfaction

Till now, the satisfaction of single customer has been given.The overall customer satisfaction S of a service provider isthe expectation of satisfaction of all customers. The followingtheorem gives the customer satisfaction of a service provider.

Theorem 5.2. The overall customer satisfaction of a serviceprovider is

S ¼ 1�Pq

�r

Z 10

e�ðð1�rÞmm�2ðc=s0�1=sÞþ1=�rÞz

ð1�rÞmmðc=s0�1=sÞzþ1 dz; (15)

where Pq ¼ pm=ð1�rÞ and pm ¼ p0ðmrÞm=m!.

Proof. Since W is a random variable, Soneðr;W Þ is also arandom variable because it is a function of W for a fixedr. The customer satisfaction of a service provider whichserves requests with the same execution requirement r is

SðrÞ¼ Soneðr;WÞ¼Z 1� 1

fW ðtÞSoneðr; tÞdt

¼Z 2ðcs0 �

1sÞr

0

fW ðtÞdt þZ 12ðcs0 �

1sÞrfW ðtÞe2�

tðc=s0 � 1=sÞrdt

¼Z 2ðcs0 �

1sÞr

0

�ð1 �PqÞuðtÞ þ mmpme� ð1 � rÞmmt

�dt

þZ 12ðcs0 �

1sÞr

�ð1 � PqÞuðtÞ þ mmpme� ð1 � rÞmmt

�e2 � t

ðc=s0 � 1=sÞrdt

¼ 1 � Pq þ pm

1 � r

�1 � e � ð1 � rÞmm�2ðc=s0 � 1=sÞr�

þ mmpmðc=s0 � 1=sÞrð1 � rÞmmðc=s0 � 1=sÞr þ 1

e � ð1 � rÞmm�2ðc=s0 � 1=sÞr

¼ 1 � Pq

ð1 � rÞmmðc=s0 � 1=sÞr þ 1e � ð1 � rÞmm�2ðc=s0 � 1=sÞr:

Since r is an exponential random variable and its pdfis frðzÞ ¼ 1

�r e�z=�r, SðrÞ is also a random variable and its

expectation is

S ¼ SðrÞ¼Z 1�1

frðzÞSðzÞdz

¼Z 10

e � z=�r

�rdz

�Z 10

e � z=�r

�r

Pqe�ð1 � rÞmm�2ðc=s0 � 1=sÞz

ð1 �; rhoÞmmðc=s0 � 1=sÞz þ 1dz

¼ 1 � Pq

�r

Z 10

e � ðð1 � rÞmm�2ðc=s0 � 1=sÞþ1=�rÞz

ð1 � rÞmmðc=s0 � 1=sÞz þ 1dz:

The theorem is proved. tu

It is easy to know that the overall customer satisfac-tion S is related with �, �r, m and s, and its range is[0,1]. Because the analytical solutions of S cannot besolved, its numerical solutions are adopted in the restcalculations.

6 THE PROFIT OPTIMIZATION PROBLEM

In this Section, how the customer satisfaction of a serviceprovider affects its profit is first analyzed. And then theprofit optimization model is build to find the optimalconfiguration of cloud service providers.

6.1 Customer Satisfaction Aware Arrival Rate

In a market economy, the customer satisfaction of a serviceprovider affects its market share. Assume that the total mar-ket demand is �max, the market shareMS of a service pro-vider is the ratio of the actual task arrival rate � and �max

which can be formulated as

MS ¼ �=�max:

In general, a higher customer satisfaction would lead toa larger market share, but the growth trends are differ-ent in different situations. In this paper, we assume thatthe market share MS of a service provider is linearlyincreasing with its customer satisfaction which isdenoted as

MS ¼ S:Combining above two equations, we can get the relation-ship between the actual task arrival rate � and the customsatisfactionMS as

� ¼ S�max: (16)

Substituting Eq. (15) into Eq. (16), we can get the taskarrival rate of a service provider in steady sate by solvingEq. (16). Eq. (16) is so complicated that we cannot find aclosed-form solution of �. However, we can obtain a numer-ical solution of � for it.

Fig. 3 gives the graph of y ¼ S�max and y ¼ �. From Fig. 3it is easy to know that function y ¼ S�max is monotonicdecreasing and y ¼ � is monotonic increasing, so

Fig. 3. The changing trend of �.

22 IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017

Page 7: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

Dð�Þ ¼ S�max � �; (17)

is a decreasing function of �. Hence, we can adopt thestandard bisection method to find a numerical solution of �and the process is given as Algorithm 1. In Algorithm 1, theinput is arbitrary multiserver configuration ðm; sÞ, and theoutput is the actual arrival rate �m;s of the service providerwith configuration ðm; sÞ.

6.2 The Profit Model

From the service providers’ respective, the profit is mainlydetermined by the cost and the revenue.

6.2.1 The Cost Model

The cost of a service provider is mainly used to pay the rentand the electricity fee. A service provider rents servers froman infrastructure provider and pays the corresponding rent.The rent is determined by the number of rented servers andthe rental price per server per unit of time. Assume that therental price of one server per unit of time is b, andm serversare rented. The rent per unit of time is calculated asErent ¼ bm.

Energy consumption is another major part of the costpaid by the service providers. In this paper, we focuson the compute-intensive service which consumes CPUresource mainly, hence, other energy consumption isassumed to be neglectable. Generally, the powerconsumption in digital CMOS circuits can be modeledas P ¼ Pd þ P �; where Pd is dynamic power consump-tion and P � is the power consumption when a server isidle [34]. In this paper, we set Pd ¼ �sa where a ¼ 2:0and � ¼ 9:4192, and the energy consumption formula iswidely used. In the M/M/m queuing system, the serverutilization is r, then the average amount of dynamicenergy consumption of an m-server system with speeds per unit of time is mr�sa. Let the cost of energy beg per Watt. The total cost of energy consumption ofthe m-server system in one unit of time is Eenergy ¼gmðr�sa þ P �Þ.

Based on the analysis above, the cost of a serviceprovider is a sum of the rent and the energy consumptioncost as follows:

E ¼ bmþ gmðr�sa þ P �Þ:

6.2.2 The Revenue Model

To calculate the revenue of a service provider, we shouldknow the expected charge to a service request, which isgiven in Theorem 6.1.

Theorem 6.1. The expected charge to a service request is

C ¼ a�r

1� Pq

ð2ðms��rÞð cs0� 1sÞþ1Þððms��rÞð cs0� 1

sÞþ1Þ

!:

(18)

Proof. The proof is similar to that of Theorem 5.2. First,the expected charge to a request with executionrequirement r is

CðrÞ ¼ Cðr;WÞ¼Z 1�1

fW ðtÞCðr; tÞdt

¼Z ðcs0�1sÞr0

fW ðtÞardtþZ 2ðcs0�

1sÞr

ðcs0�1sÞr

fW ðtÞ�2ar� at

c=s0�1=s�dt

¼ arð1�PqÞ þZ ðcs0�1sÞr0

mmpme�ð1�rÞmmtardt

þZ 2ðcs0�

1sÞr

ðcs0�1sÞr

mmpme�ð1�rÞmmt

�2ar� at

c=s0�1=s�dt:

Since Ze � axdx ¼ 1

� ae � ax;

and Zxe � axdx ¼ 1

� að1þ axÞe � ax;

we get

CðrÞ ¼

¼ arð1�PqÞ�pmar

1� re�ð1�rÞmmt

���ð cs0�1sÞr0

� 2pmar

1� re�ð1�rÞmmt

���2ð cs0�1sÞrð cs0�

1sÞr

þ pma

ðc=s0�1=sÞð1�rÞ�tþ 1

ð1�rÞmm

�e�ð1�rÞmmt

���2ð cs0�1sÞrð cs0�

1sÞr

¼ ar�Pqare�ð1�rÞmmð cs0�

1sÞr

� 2Pqar�e�ð1�rÞ2mmð cs0�

1sÞr�e�ð1�rÞmmð cs0�

1sÞr�

þ Pqa

c=s0�1=s�2� c

s0� 1

s

�rþ 1

ð1�rÞmm

�e�ð1�rÞ2mmð cs0�

1sÞr

� Pqa

c=s0�1=s�� c

s0� 1

s

�rþ 1

ð1�rÞmm

�e�ð1�rÞmmð cs0�

1sÞr

¼ arþ Pqa

ðc=s0�1=sÞð1�rÞmm

ðe�ð1�rÞ2mmð cs0�1sÞr � e

�ð1�rÞmmð cs0�1sÞrÞ:

Then, the expected charge to a service request is

C ¼ CðrÞ¼Z 10

frðzÞCðzÞdz

¼Z 10

1

re�z=r

azþ Pqa

ðc=s0�1=sÞð1�rÞmm

�e�ð1�rÞ2mmð cs0�

1sÞz � e�ð1�rÞmmð cs0�

1sÞz�!

dz

¼ 1

r

a

Z 10

ze�z=rdz

þ Pqa

ðc=s0�1=sÞð1�rÞmm

�Z 10

e�ðð1�rÞ2mmð cs0�

1sÞþ1=rÞzdz

�Z 10

e�ðð1�rÞmmð cs0�

1sÞþ1=rÞzdz

�!:

MEI ETAL.: CUSTOMER-SATISFACTION-AWARE OPTIMAL MULTISERVER CONFIGURATION FOR PROFIT MAXIMIZATION IN CLOUD... 23

Page 8: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

Since Z 10

e�azdz ¼ 1

�a e�az���10¼ 1

a;

and Z 10

ze�azdz ¼ 1

�a�zþ 1

a

�e�az

���10¼ 1

a2;

we get

C ¼ arþ Pqa

ðc=s0�1=sÞð1�rÞmm

1

ð1�rÞ2mmð cs0� 1sÞrþ 1

� 1

ð1�rÞmmð cs0� 1sÞrþ 1

!

¼ arþ Pqa

ðc=s0�1=sÞð1�rÞmm ð1�rÞmmð cs0� 1sÞr

ðð1�rÞ2mmð cs0� 1sÞrþ 1Þðð1�rÞmmð cs0� 1

sÞrþ 1Þ

!

¼ arþ Pqar

ð2ðms��rÞðc=s0�1=sÞþ1Þððms��rÞðc=s0�1=sÞþ1Þ :

The theorem is proved. tuAssume that the request arrival rate of a service provider

is �, then its revenue is

R ¼ �C:

6.3 Problem Description

In Section 6.1, the actual request arrival rate �m;s of a serviceprovider with server size m and server speed s has known,then the expected net profit of a service provider in one unitof time is

Gðm; sÞ¼�m;sCm;s�ðbmþgmðrm;s�saþP �ÞÞ; (19)

where Cm;s and rm;s is the expected charge serving a requestand server utilization under the actual request demands.

From Eq. (19) we can see that the net profit is determinedby the multiserver configuration scheme essentially. On onehand, the platform configuration directly affects the profit.On the other hand, the request requirement �m;s is affectedby customer satisfaction which largely depends on the ser-vice capacity of a cloud service provider. Hence, theplatform configuration affects the profit indirectly. Gener-ally speaking, configuring a cloud platform with moreresources and faster speed can lead to a higher servicecapacity and a higher customer satisfaction. A highercustomer satisfaction can attract more customers, hencelead to the increasing of the revenue. Whereas, a higherplatform configuration also has a negative effect which isthe costs is increasing correspondingly.

To maximize the profit of a service provider, an optimalconfiguration scheme should be decided by finding a solu-tion hm; si to the following optimization problem

maxGðm; sÞ: (20)

Fig. 4 gives the graph of Gðm; sÞ where �max ¼ 20, s0 ¼ 1,�r ¼ 1, c ¼ 3, a ¼ 15, P � ¼ 3, a ¼ 2:0, � ¼ 9:4192, b ¼ 1:5, andg ¼ 0:3.

The figure shows that there must be an optimal pointwhere the profit is maximized. However, we cannot give ananalytical expression of profit in terms of m and s, so theanalytical optimal solutions cannot be solved. To addressthis problem, we introduce a heuristic algorithm in next sec-tion to find a numerical optimal solution.

6.4 Algorithm for Optimal Multiserver Configuration

In this section, a heuristic algorithm is developed to find theoptimal multiserver configuration such that the profit ismaximized. According to the analysis above, it is knownthat under a fixed total market demand �max, the marketshare of a cloud service provider is different along with itsdifferent configuration, and the actual task arrival rate �m;s

at a given configuration can be calculated using Algorithm 1.Consequently, the net profit of a cloud service provider withdifferent configuration is different, which can be calculatedusing Eq. (19).

Algorithm 1. Actual Arrival Rate �m;s

Input:multiserver configurationm and s;Output: the actual task arrival rate, �m;s;1: find the monotone interval ½�l; �u� of Dð�Þ such that

Dð�lÞ > 0 andDð�uÞ < 0;2: whileDð�lÞ �Dð�uÞ > " do3: �mid ð�l þ �uÞ=2;4: if Gð�midÞ < 0 then5: �u �mid;6: else7: �l �mid;8: break;9: end if10: calculate Dð�lÞ andDð�uÞ using Eq. (17);11: end while12: �mid ð�l þ �uÞ=2;13: �m;s �mid;

To find the numerical optimal configuration, thesearch space should be discretized first. Under the dis-cretized search space, the simplest way is brute forcesearching, e.g., calculating the profit of all possible con-figurations and selecting the optimal one. However, this

Fig. 4. The mesh of Gðm; sÞ.

24 IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017

Page 9: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

brute force searching is not suitable due to high timecomplexity. To overcome this shortcoming, we propose adiscrete hill climbing algorithm. The hill climbing is anumerical optimization technique which starts with anarbitrary solution to a problem and attempts to find abetter solution by incrementally changing a single ele-ment of the solution [35].

For a traditional hill climbing algorithm, the sufficientcondition of finding a global optimum is that the problemshould be a convex problem. Fig. 5 shows the details ofGðm; sÞ in the range of server size [21,24] and server speed[0.9,1.3]. From Fig. 5, we can know that Eq. (19) is not a con-vex function because it has many extreme value points, sothe search might stop in a local optimum when adoptingtraditional hill climbing algorithm. However, observing themesh of Gðm; sÞ shown as Fig. 5, it is easy to know that thelink line of all extreme value points shows a change trend ofincreasing first and then decreasing. Hence, to avoid thesearch stopping in a local optimum, when an extreme valuepoint is found, the search goes on in the original directionuntil the next extreme value point is not greater than thecurrent one.

The discrete hill climbing algorithm to solve this profitmaximization problem is shown as Algorithm 2.

In Algorithm 2, the global optimum is found in the outerloop (lines 5-29), and the local optimum is found in theinner loop (lines 7-20). First, the configuration with the max-imal capacity is selected as the start search node (line 4), andit is considered as an initial global optimum (lines 4). Thesearch starts from the start node. The inner loop comparesthe profit of the current node with its neighbour nodes, andlets the neighbour node with maximal profit be the nextsearch node (lines 16-18). If none of the neighbour nodescan produce more profit than the current search node, theloop is stopped and an extreme value point is found(line 14). Comparing the current extreme value point withthe current global optimum, if the current extreme pointcan generate more profit, it is updated as the new globaloptimum. At the same time, a new start search node isselected in the forward direction, and the search goes on tofind the next extreme point (lines 22-25). If the currentextreme point is not better than the former one, the outerwhile-loop is stopped and the global optimum point isfound. The search process is illustrated as Fig. 6.

Algorithm 2. Optimal Configuration

Input: �max, �r, [Mmin;Mmax], [Smin; Smax];Output: optimal server size mopt, optimal server speed sopt andoptimal profit Proopt;1: discretize [Mmin;Mmax] and [Smin; Smax];2: set flag 0;3: select (Mmax; Smax) as start node ðm; sÞ;4: mopt Mmax, sopt Smax, Proopt calculate Gðm; sÞ using

Eq. (19);5: while flag==0 do6: initializemcuropt, scuropt and Procuropt as 0;7: while true do8: for each neighbour node ðm; sÞ of current node do9: profit calculate Gðm; sÞ using Eq. (19);10: end for11: ðmtem; stemÞ the neighbour node ðm; sÞwith maximal

profit;12: Protem calculate Gðmtem; stemÞ using Eq. (19);13: if Protem < Procuropt then14: break;15: else16: Procuropt Protem;17: mcuropt mtem;18: scuropt stem;19: end if20: end while21: if Procuropt > Proopt then22: Proopt Procuropt;23: mopt mcuropt;24: Proopt Procuropt;25: select (mopt � 0:5, sopt) as new start node;26: else27: flag 1;28: end if29: end while

7 PERFORMANCE ANALYSIS

In this section, a series of numerical calculations are con-ducted to observe the profit in different conditions, and thefactors affecting the profit are analyzed.

Fig. 5. The detail mesh of Gðm; sÞ.

Fig. 6. The searching process.

MEI ETAL.: CUSTOMER-SATISFACTION-AWARE OPTIMAL MULTISERVER CONFIGURATION FOR PROFIT MAXIMIZATION IN CLOUD... 25

Page 10: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

7.1 Profit Optimization

7.1.1 Optimal Speed

Given �max, s0, �r, a, c, a, b, g, �, P�, d, andm, our first group of

numerical calculations are to find the optimal server speed sand the correspondingmaximal profitG.

In Figs. 7a and 7b, we demonstrate the optimal speed sand the corresponding profit G in one unit of time as a func-tion ofm and �max, respectively. Here, we assume that s0 ¼ 1billion instructions per second, a ¼ 15 cents per billioninstructions, c ¼ 3, a ¼ 2:0, b ¼ 1:5 cents per second, g ¼ 0:3cents per Wattsecond, � ¼ 9:4192, P � ¼ 3 Watts, and r ¼ 1billion instructions. For �max ¼10, 15, 20, 25, 30, we show thechanging trends of s andG for 5 � m � 20.

From Fig. 7a, it is easy to see that the optimal speed sdecreases with the increasing server size. That is becauseunder the given market demand, the required service capac-ity is steady. Hence, when the number of servers configuredin a cloud service platform increases, the server speed shoulddrop to maintain the required capacity. Moreover, for acloud platform with a fixed server size, when the marketdemand increases, the server should run faster to adapt thischange. Correspondingly, Fig. 7b presents the changingtrend of the optimal profit with the increasing server sizeand total market demand. It is obvious that greater marketdemand can bring higher profit for service providers.What’smore, under a certain market demand, the server size alsoaffect the profit, and there is an optimal choice ofm such thatthe profit is maximized. For example, when the total marketdemand is 25, renting more servers can increase the profitwhen the server size is smaller than 15, but when the serversize becomes greater further, the profit decreases. This isexplained as follows. With the increase of server size, theserver speed should decrease correspondingly to maintain a

steady service capacity since the service requirement is lim-ited. Because the energy cost is proportional to the square ofthe server speed, lowering the server speed can reduce theenergy cost effectively when server is running fast. At thebeginning, the server size is small and the server speed isvery fast, so lowering the server speed and increasing theserver size can reduce the overall costs because the reducedenergy cost is greater than the extra cost of rentingmore serv-ers. However, when the server speed decreases to a certainvalue, the increased renting cost of renting more serversstarts surpassing the reduced cost of lowering the serverspeed. Hence, the profit starts decreasing. Hence, the serversize is not the greater the better.

7.1.2 Optimal Size

Given �max, %, d, u, s, a, b, g, �, P�, r and s, our second group

of numerical calculations are to find the optimal server sizem such that the net profit G is maximized.

In Figs. 8a and 8b, we demonstrate the optimal serversize m and the corresponding profit G in one unit of time asa function of s and �max, respectively. Here, we use thesame parameters in Fig. 7. For �max ¼10, 15, 20, 25, 30, weshowm and G for 0:1 � s � 2:0.

Comparing Fig. 8 with Fig. 7, it is obvious that thechanging trends of m and G in Fig. 7 are similar to that ofs and G in Fig. 8. First, the optimal server size becomessmaller with the faster speed. Second, an optimal speedexists at a certain market demand. The reasons areexplained as follows. If the server speed is too fast, theenergy consumption cost would increase sharply, whichleads to the decrease of the net profit. On the contrary, ifthe server speed is too slow, much more servers need tobe rented to guarantee the computing capacity, and the

Fig. 7. Optimal speed and profit versus server size. Fig. 8. Optimal server size and profit versus server speed.

26 IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017

Page 11: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

increasing rent might surpass the savings of energy con-sumption cost, which also reduce the net profit.

7.1.3 Optimal Speed and Size

The third group of numerical calculations are to find theoptimal server size m and server speed s under the given�max, %, d, u, s, a, b, g, �, P

� and r such that the profit is max-imized. Here, we use the same parameters in Figs. 7 and 8.

In Table 1, we demonstrate the optimal server size, optimalserver speed, andmaximal profit as a function of �max, respec-tively. The values are given for 7 � �max � 31 in step of 2.FromTable 1 it is noticed that the optimal server size ismono-tonically increasing with the increase of �max. That is becausehighermarket demand requires greater computing capacity.

7.2 Actual Task Arrival Rate

In this paper, we consider the customer satisfaction in profitoptimization configuration problem due to the affection ofcustomer satisfaction on the task arrival rate. In order to ver-ify how the task arrival rate changes with the varying config-uration, we conduct the following numerical calculations.Here, the total market demand is set as �max ¼ 30, and theother parameters are samewith those in Figs. 7 and 8.

In this group of numerical calculations, the task arrivalrate is demonstrated as a function of m and s. Here, the

total market demand is set as �max ¼ 30, and the otherparameters are same with those in Figs. 7 and 8. For s ¼0:5; 0:75; 1:0; 1:25; 1:5, we display the actual task arrival rateand the corresponding profit for 5 � m � 30, respectively.Fig. 9a shows that with the increase of server size andspeed, the task arrival rate keeps an ascending trend as awhole. That is because increasing the number of servers orspeeding up the servers can improve computing capacity.Hence customers can be served better, which leads to highersatisfaction. Due to the linear relationship between cus-tomer satisfaction and task arrival rate, the task arrival rateis increasing correspondingly. In addition, from Fig. 9a it isknown that after the service capacity reaches a certain level,neither scaling up the server size nor speeding up the serv-ers can increase the task arrival rate further. That is becausethe total market demand is limited and the actual taskarrival rate cannot exceed it.

Fig. 9b gives the changing trend of profit, which can beexplained properly by the changing trend of task arrivalrates in Fig. 9a. The figure shows that the profit first increaseswith the increasing number of servers. Yet when the serversize reaches a certain point, increasing server size no longerproduces more profit but a loss of profit. That is because themarket demand is limited, increasing the number of serversfurther only generate unnecessary cost while won’t increasethe revenue. Hence, the profit decreases of course.

7.3 Performance Comparison

In this section, we compare the task arrival rate and theprofit under the configuration determined by the model of[2] and ours. In the model proposed in [2], the task arrivalrate is taken as a constant, and the optimal configuration iscalculated based on the known task arrival rate. However,according to our analysis, the task arrival rate is affected bythe customer satisfaction level, so the actual task arrival ratemust be less than the known value, and its actual profit isless than the expected optimal profit. In our profit maximi-zation model, we take into consideration the affection ofcustomer satisfaction on task arrival rate. Hence, the opti-mal configuration is different from [2]. In Table 2, the

Fig. 9. Optimal profit and the number of invested domains versus totalinvestment.

TABLE 1The Optimal Configuration and the Corresponding Profit

�max 7 9 11 13 15 17 19 21 23 25 27 29 31

Optimal Size 9 11 13 15 17 19 21 23 25 27 29 31 33Optimal Speed 1.02 1.03 1.04 1.05 1.05 1.05 1.05 1.06 1.06 1.06 1.06 1.06 1.06Maximal Profit 60.7437 79.3505 98.0317 116.7723 135.5658 154.3989 173.2676 192.1713 211.1052 230.0634 249.0433 268.0426 287.0596

TABLE 2Comparison of Optimal Solutions

�maxWithout Considering

SatisfactionConsideringSatisfaction

optM optS �act Profitact optM optS �act Profitact

5 6.05 1.05 4.7813 42.0361 6 1.13 4.8532 42.334910 11.67 1.01 9.6332 87.6533 12 1.04 9.7933 88.683315 17.23 0.99 14.5521 134.7460 17 1.05 14.7198 135.565820 22.76 0.98 19.4371 181.4381 22 1.06 19.6815 182.714325 28.27 0.98 24.4340 229.4875 27 1.06 24.6299 230.063430 33.78 0.97 29.3031 276.3778 32 1.06 29.5876 277.549035 39.27 0.97 34.3053 324.6545 37 1.06 34.5527 325.1396

MEI ETAL.: CUSTOMER-SATISFACTION-AWARE OPTIMAL MULTISERVER CONFIGURATION FOR PROFIT MAXIMIZATION IN CLOUD... 27

Page 12: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

optimal configurations of two models and correspondingprofit are presented. In this group of calculations, the �max

is changing from 5 to 35 in step of 5.From the table, we can see that for all �max values, both of

the actual task arrival rate and profitwith satisfaction consid-eration are greater than that without satisfaction consider-ation. That is because the profit maximization model in [2]does not consider the effect of customer satisfaction on taskarrival rate, and the optimal configuration is calculatedbased on �max but not the actual task arrival rate �act, so it isnot the real optimal values. While in our profit maximizationmodel, the optimal configuration is calculated based theactual task arrival rate, hence, it can generatemore profit.

8 CONCLUSIONS

In this paper, we consider customer satisfaction in solvingoptimal configuration problem with profit maximization.Because the existing works do not give a proper definitionand calculation formula for customer satisfaction, hence, wefirst give a definition of customer satisfaction leveragedfrom economics and develop a formula for measuring cus-tomer satisfaction in cloud. Based on the affection of cus-tomer satisfaction on workload, we analyze the interactionbetween the market demand and the customer satisfaction,and give the calculation of the actual task arrival rate underdifferent configurations. In addition, we study an optimalconfiguration problem of profit maximization. The optimalsolutions are solved by a discrete hill climbing algorithm.Lastly, a series of calculations are conducted to analyze thechanging trend of profit. Moreover, a group of calculationsare conducted to compare the profit and optimal configura-tion of two situations with and without considering theaffection of customer satisfaction on customer demand. Theresults show that when considering customer satisfaction,our model performs better in overall.

ACKNOWLEDGMENTS

The research was partially funded by the National NaturalScience Foundation of China (Grant Nos. 61602170,61502165, 61370095, 61472124), the National OutstandingYouth Science Program of National Natural Science Foun-dation of China (Grant No. 61625202), the International Sci-ence & Technology Cooperation Program of China (GrantNos. 2015DFA11240, 2014DFB30010), the National High-tech R&D Program of China (Grant No. 2015AA015305).Kenli Li is the corresponding author.

REFERENCES

[1] P. Mell and T. Grance, “The NIST definition of cloud computing,”Commun. ACM, vol. 53, no. 6, pp. 50–50, 2011.

[2] J. Cao, K. Hwang, K. Li, and A. Y. Zomaya, “Optimal multiserverconfiguration for profit maximization in cloud computing,” IEEETrans. Parallel Distrib. Syst., vol. 24, no. 6, pp. 1087–1096, Jun. 2013.

[3] Amazon EC2, 2015. [Online]. Available: http://aws.amazon.com[4] Microsoft Azure, 2015. [Online]. Available: http://www.microsoft.

com/windowsazure[5] Saleforce.com, 2014. [Online]. Available: http://www.salesforce.

com/au[6] J. Mei, K. Li, A. Ouyang, and K. Li, “A profit maximization

scheme with guaranteed quality of service in cloud computing,”IEEE Trans. Comput., vol. 64, no. 11, pp. 3064–3078, Nov. 2015.

[7] R. N. Cardozo, “An experimental study of customer effort, expec-tation, and satisfaction,” J. Marketing Res., vol. 2, pp. 244–249, 1965.

[8] J. A. Howard and J. N. Sheth, The Theory of Buyer Behavior, vol. 14.New York, NY, USA: Wiley, 1969.

[9] G. A. Churchill Jr and C. Surprenant, “An investigation into thedeterminants of customer satisfaction,” J. Marketing Res., vol. 19,pp. 491–504, 1982.

[10] D. K. Tse and P. C. Wilton, “Models of consumer satisfaction for-mation: An extension,” J. Marketing Res., vol. 25, pp. 204–212, 1988.

[11] A. Parasuraman, V. A. Zeithaml, and L. L. Berry, “Reassessmentof expectations as a comparison standard in measuring servicequality: Implications for further research,” J. Marketing, vol. 58,pp. 111–124, 1994.

[12] K. Medigovich, D. Porock, L. Kristjanson, and M. Smith,“Predictors of family satisfaction with an Australian palliativehome care service: A test of discrepancy theory,” J. Palliative Care,vol. 15, no. 4, pp. 48–56, 1999.

[13] J. J. Jiang, G. Klein, and C. Saunders, Discrepancy Theory Models ofSatisfaction in IS Research. New York, NY, USA: Springer, 2012,pp. 355–381.

[14] Y. Hu, J. Wong, G. Iszlai, and M. Litoiu, “Resource provisioningfor cloud computing,” in Proc. Conf. Center Adv. Studies Collabora-tive Res., 2009, pp. 101–111.

[15] M. Mazzucco, D. Dyachuk, and R. Deters, “Maximizing cloudproviders’ revenues via energy aware allocation policies,” in Proc.IEEE 3rd Int. Conf. Cloud Comput., 2010, pp. 131–138.

[16] A. Beloglazov, J. Abawajy, and R. Buyya, “Energy-aware resourceallocation heuristics for efficient management of data centers forcloud computing,” Future Generation Comput. Syst., vol. 28, no. 5,pp. 755–768, 2012.

[17] J. Cao, K. Li, and I. Stojmenovic, “Optimal power allocation andload distribution for multiple heterogeneous multicore server pro-cessors across clouds and data centers,” IEEE Trans. Comput.,vol. 63, no. 1, pp. 45–58, Jan. 2014.

[18] S. Chaisiri, B.-S. Lee, and D. Niyato, “Profit maximization modelfor cloud provider based on windows azure platform,” in Proc.9th Int. Conf. Elect. Eng./Electron. Comput. Telecommun. Inf. Technol.,May 2012, pp. 1–4.

[19] S. Liu, S. Ren, G. Quan, M. Zhao, and S. Ren, “Profit aware loadbalancing for distributed cloud data centers,” in Proc. IEEE 27thInt. Symp. Parallel Distrib. Process., 2013, pp. 611–622.

[20] J. Chen, C. Wang, B. B. Zhou, L. Sun, Y. C. Lee, and A. Y. Zomaya,“Tradeoffs between profit and customer satisfaction for serviceprovisioning in the cloud,” in Proc. 20th Int. Symp. High Perfor-mance Distrib. Comput., 2011, pp. 229–238.

[21] W. Gao and F. Kang, “Cloud simulation resource scheduling algo-rithm based on multi-dimension quality of service,” Inf. Technol.J., vol. 11, no. 1, pp. 94–101, 2012.

[22] L. Wu, S. K. Garg, and R. Buyya, “SLA-based admission controlfor a software-as-a-service provider in cloud computing environ-ments,” J. Comput. Syst. Sci., vol. 78, no. 5, pp. 1280–1299, 2012.

[23] K. C. Wu, H. C. Jiau, and K.-F. Ssu, “Improving consumer satisfac-tion through building an allocation cloud,” in Proc. 5th Int. Conf.Dependability, 2012, pp. 31–37.

[24] C. Jing, Y. Zhu, and M. Li, “Customer satisfaction-aware schedul-ing for utility maximization on geo-distributed cloud data cen-ters,” in Proc. IEEE 10th Int. Conf. High Performance Comput.Commun. IEEE Int. Conf. Embedded Ubiquitous Comput., 2013,pp. 218–225.

[25] K. Tsakalozos, H. Kllapi, E. Sitaridi, M. Roussopoulos, D. Paparas,and A. Delis, “Flexible use of cloud resources through profit maxi-mization and price discrimination,” in Proc. IEEE 27th Int. Conf.Data Eng., Apr. 2011, pp. 75–86.

[26] R. Chen, Y. Zhang, and D. Zhang, “A cloud task scheduling algo-rithm based on users’ satisfaction,” in Proc. 4th Int. Conf. Netw.Distrib. Comput., Dec. 2013, pp. 1–5.

[27] M. Unuvar, S. Tosi, Y. Doganata, M. Steinder, and A. Tantawi,“Selecting optimum cloud availability zones by learning user sat-isfaction levels,” IEEE Trans. Serv. Comput., vol. 8, no. 2, pp. 199–211, Mar./Apr. 2015.

[28] H. Morshedlou and M. Meybodi, “Decreasing impact of SLA vio-lations:A proactive resource allocation approach for cloud com-puting environments,” IEEE Trans. Cloud Comput., vol. 2, no. 2,pp. 156–167, Apr.–Jun. 2014.

[29] R. C. Lewis and B. H. Booms, “The marketing aspects of servicequality,” Emerging Perspectives Serv. Marketing, vol. 65, no. 4,pp. 99–107, 1983.

[30] U. Lehtinen and J. R. Lehtinen, Service Quality: A Study of QualityDimensions. Helsinki, Finland: Service Manage. Inst., 1982.

28 IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, NO. 1, JANUARY-MARCH 2017

Page 13: IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, VOL. 2, …lik/publications/Jing-Mei-IEEE-TSUSC-2017.pdf · tasks to a cloud computing platform or execute them on their local computing

[31] C. Gr€onroos, “A service quality model and its marketingimplications,” Eur. J. Marketing, vol. 18, no. 4, pp. 36–44, 1984.

[32] N. Kano, N. Seraku, F. Takahashi, and S. I. Tsuji, “Attractivequality and must-be quality,” J. Japanese Soc. Qual. Control, vol. 14,no. 2, pp. 39–48, Apr. 1984.

[33] X. Chang, B.Wang, J. Muppala, and J. Liu, “Modeling active virtualmachines on IaaS clouds using an M/G/m/m+K queue,” IEEETrans. Serv. Comput., vol. 9, no. 3, pp. 408–420,May/Jun. 2016.

[34] A. P. Chandrakasan, S. Sheng, and R. W. Brodersen, “Low-powerCMOS digital design,” IEICE Trans. Electron., vol. 75, no. 4,pp. 371–382, 1992.

[35] S. Skiena, “The algorithm design manual,” 2nd ed. Berlin,Germany: Springer, 2008.

[36] E. Sauerwein, F. Bailom, K. Matzler, and H. H. Hinterhuber, “TheKano model: How to delight your customers,” in Proc. 9th Int.Working Seminar Prod. Econ., 1996, vol. 5, no. 1, pp. 6–18.

[37] S. Marston, Z. Li, S. Bandyopadhyay, J. Zhang, and A. Ghalsasi,“Cloud computing the business perspective,” Decision SupportSyst., vol. 51, no. 1, pp. 176–189, 2011.

[38] H. Goudarzi and M. Pedram, “Maximizing profit in cloudcomputing system via resource allocation,” in Proc. 31st Int. Conf.Distrib. Comput. Syst. Workshops, 2011, pp. 1–6.

[39] L. Kleinrock, Theory, Volume 1, Queueing Systems. Hoboken,NJ, USA: Wiley-Interscience, 1975.

[40] B. Zhai, D. Blaauw, D. Sylvester, and K. Flautner, “Theoretical andpractical limits of dynamic voltage scaling,” in Proc. 41st Annu.Des. Autom. Conf., 2004, pp. 868–873.

[41] P. de Langen and B. Juurlink, “Leakage-aware multiprocessorscheduling,” J. Signal Process. Syst., vol. 57, no. 1, pp. 73–88, 2009.

[42] J. Mei, K. Li, J. Hu, S. Yin, and E. H-M Sha, “Energy-awarepreemptive scheduling algorithm for sporadic tasks on DVSplatform,” Microprocessors Microsystems, vol. 37, no. 1, pp. 99–112,2013.

[43] G. A. Churchill and C. Surprenant, “An investigation into thedeterminants of customer satisfaction,” J. Marketing Res., vol. 19,no. 4, pp. 491–504, 1982.

[44] Q. Zheng and B. Veeravalli, “On the design of mutually awareoptimalpricing and load balancing strategiesfor grid computingsystems,” IEEE Trans. Comput., vol. 63, no. 7, pp. 1802–1811,Jul. 2014.

Jing Mei received the PhD degree in computerscience from Hunan University, China, in 2015.She is currently an assistant professor in the Col-lege of Mathematics and Computer Science,Hunan Normal University. Her research interestsinclude parallel and distributed computing, cloudcomputing, etc. She has published nine researcharticles in international conference and journals,such as the IEEE Transactions on Computers,the IEEE Transactions on Service Computing,Cluster Computing, the Journal of Grid Comput-ing, and the Journal of Supercomputing.

Kenli Li received the PhD degree in computerscience from the Huazhong University of Scienceand Technology, China, in 2003. He was a visitingscholar with the University of Illinois at UrbanaChampaign, from 2004 to 2005. He is currently afull professor of computer science and technol-ogy with Hunan University and deputy director ofthe National Supercomputing Center, Changsha.His major research include parallel computing,cloud computing, and DNA computing. He haspublished more than 100 papers in international

conferences and journals, such as the IEEE Transactions on Com-puters, the IEEE Transactions on Parallel and Distributed Systems,the IEEE Transactions on Signal Processing, the Journal of Paralleland Distributed Computing, ICPP, CCGrid, and the Future GenerationComputer Systems. He is an outstanding member of CCF and amember of the IEEE.

Keqin Li is a SUNY distinguished professor ofcomputer science. His current research interestsinclude parallel computing and high-performancecomputing, distributed computing, energy-efficient computing and communication, hetero-geneous computing systems, cloud computing,big data computing, CPU-GPU hybrid and coop-erative computing, multicore computing, storageand file systems, wireless communication net-works, sensor networks, peer-to-peer file sharingsystems, mobile computing, service computing,

Internet of things, and cyber-physical systems. He has published morethan 460 journal articles, book chapters, and refereed conferencepapers, and has received several best paper awards. He is currently orhas served on the editorial boards of the IEEE Transactions on Paralleland Distributed Systems, the IEEE Transactions on Computers, theIEEE Transactions on Cloud Computing, the IEEE Transactions onServices Computing, and the IEEE Transactions on Sustainable Com-puting. He is a fellow of the IEEE.

" For more information on this or any other computing topic,please visit our Digital Library at www.computer.org/publications/dlib.

MEI ETAL.: CUSTOMER-SATISFACTION-AWARE OPTIMAL MULTISERVER CONFIGURATION FOR PROFIT MAXIMIZATION IN CLOUD... 29