Professional Documents
Culture Documents
An Effective Cloud Service Reservation Through Negotiation
An Effective Cloud Service Reservation Through Negotiation
u
min
P
+ (1 u
min
P
) .
RP
c
P
RP
cIP
c
,IP
c
P RP
c
0, otherwise
------
- (1)
For a provider, the price utility U
p
p
(P) is,
U
P
P
(P) =
u
min
P
+ (1 u
min
P
) .
PRP
P
IP
P
RP
P
,RP
P
P IP
P
0, otherwise
-------
- (2)
In (1) and (2), U
P
min
is the minimumutility that
a consumer and a provider receive for reaching a
deal at their respective reserve prices. To
differentiate between not reaching an agreement
and reaching an agreement at the reserve price,
U
P
min
is defined as 0.01. If a consumer or a
provider cannot reach an agreement before its
negotiation deadline, both agents receive a utility
of zero since not reaching an agreement is the
worst possible outcome. The range of the
consumers and providers price utility functions is
{0} [U
P
min
, 1].
4.1.2. Time slot utility function
A consumer can have multiple sets of acceptable
time slot preferences. Here consumers and
providers can give the time slot preferences for a
service. Consider a cloud service at 1P.M is the
most preferred time then the 8 P.M which is the
second most preferred time then 5 P.M is the least
preferred time. Then the provider checks for the
most preferred time first for availability if it is not
available due to traffic then the next preferred time
will be taken or the time between them.
A providers time-slot preferences are based on
the following: 1) service demand; 2) Temporal
ordering; and 3) fitting job size. The provider
prioritizes its time-slot preferences based on the
expected service demand.
Fig. 1 Reservation queue of time slots
The Fig. 1 shows the reservation queue of time
slots. The reservation queue consists of numbered
time indices the shaded indices denotes the reserved
time slots and the blank time indices represent the
unreserved time slots. By having the reserved and
the unreserved time slots it is easy to allocate the
resources to the consumers.
The Fig. 2 shows the multi issue negotiation;
there will be number of consumers waiting for the
cloud resource. The provider allocates the resource
according to the availability of the time and price.
The provider will specify some proposals according
to the availability of the resources. If the proposals
are satisfied by the consumer the agreement will be
made. Else the negotiation will takes place between
the consumer and the provider in which both
consumer and provider are satisfied. If the
consumer is not satisfied then the consumer makes a
proposal. If the proposal fromconsumer is satisfied
by the provider the agreement is made. Else the
negotiation will be takes place till the provider and
the consumer are satisfied with the proposal. Then
the resource will be allocated to the consumer. Else
the negotiation continues or the negotiation will be
dropped.
Fig. 2 Multi Issue Negotiation
Cons
umer
Cons
umer
Cons
umer
Cloud
Resourc
e
Cloud ServiceProvider
Utility Functions
Price Utility
Function
Time-Slot Utility
Function
Consumers time-slot
utility function
Providers time-slot
utility function
Negotiation Strategy
Tradeoff Algorithm
Concession-Making
Algorithm
International Journal of Computer Trends and Technology (IJCTT) volume 6 number 1 Dec 2013
ISSN: 2231-2803 http://www.ijcttjournal.org Page39
4.2. Negotiation strategies
The negotiation will takes place between the
consumer and the provider for the reservation of the
cloud services. Both agents will negotiate between
the price and time slots with counter proposals
which lead to concession or trade off algorithm.
4.2.1. Tradeoff algorithm
The tradeoff algorithm is used to enhance both
negotiation speed and the aggregated utility. In the
existing, an agent can make one multi issue
proposal in a negotiation round. The tradeoff
algorithms used here are used to make multiple
proposals with each proposal consisting of different
price and time slot that generated the same
aggregated utility. Each proposal will differ either
in price or time or on both. The agent can select the
different combination of the price and time slot by
which the agent utility function will not vary. The
multiple proposals are made by the provider which
differs in price and time.
The consumer can choose from the available
proposals. If the consumer is satisfied with the
given proposal the resource will be allocated to the
consumer. If the consumer is not satisfied with the
available proposals, then the consumer will be
making some proposals with their preferred price
and time.
Fig. 3 Trade off Algorithm
In Fig. 3 the trade off algorithmusage is shown.
The customer with the job and the size of the job
are given. The provider will check the available
resources fromthe entire cloud provider and shows
the available service providers and the price to
utilize the services.
4.2.2. Concession making algorithm
The concession making algorithmdetermines the
amount of concession Utotal for each negotiation
round, which corresponds to the reduction in an
agents expected total utility. Let t, , and be the
negotiation round, the negotiation deadline, and
negotiation strategy, respectively. The negotiation
agent determines the amount of concession
Utotal, and determines its expected utility in the
next round.
The concession making algorithm will make
concessions by which the new proposals can be
made. The consumers who are not satisfied with
the given proposals can give their preferred
proposals. The given proposals will be compared
with the condescend proposals; if it is acceptable
then the service will be given the consumer. Else
the negotiation takes place.
Fig. 4 Concession making Algorithm
If the consumer is not satisfied with the
available proposals, then the concession making
algorithmFig. 4 is used by the provider to make the
concession on the price. And the consumer will
provide with the preferred time and price.
U
total
= U
total
t
.
t
------- (3)
U
total
t+1
= U
total
t
U
total
------- (4)
U
total
- Amount of concession for each
negotiation
round
U
total
t+1
- Expected utility in next round
t - Negotiation round
- Negotiation deadline
- Negotiation strategy
The negotiation between the consumer and the
provider will continue till they reach a agreement.
International Journal of Computer Trends and Technology (IJCTT) volume 6 number 1 Dec 2013
ISSN: 2231-2803 http://www.ijcttjournal.org Page40
Each negotiation round will have some amount of
concession in the price (3) shows the amount of
concession for each negotiation round. (4) Shows
the expected utility in next round.
5. TASK BASED NEGOTIATION
To provide the QoS in the cloud reservations the
task of the consumers should be monitored. The
price and time slot can be obtained from the
provider by which the service will be provided to
the consumers. Since the service is provided to the
consumer the effective QoS is not obtained.
Because when there is a malfunction in the
providing of resources can leads to the quality to
degrade. So the task of the consumer should be
monitored to find the violations in the QoS. When
the task of the consumer is monitored before it is
taking place then the size of the task will be
compared with the consumers cloud memory.
When the service is reserved by the consumer
the service will be provided to the consumer by
comparing the memory of both task and cloud
memory. There will be many consumers requesting
for the same task which should be provided with
the QoS to the consumer, which can be obtained by
getting the task memory initially. Then the task
memory will be compared with the cloud memory
and the consumers with cloud memory greater than
task memory will be selected and execution time
for each consumer will be determined.
Fig. 5 Job allocation
Fig. 5 shows the job allocation to the consumer.
The provider should allocate the resource to the
consumers. The allocation will be done by
considering the job size and the execution time.
After the consumer task is given, the task memory
and the execution time will be identified. Then the
provider will be selected according to the memory
of the task. The cloud with the similar memory will
be selected and the task will be allocated to the
consumer. If the task memory is larger than the
available provider memory then the task will be
dropped fromallocation.
The job allocation is used for the specific job to
be allocated to the consumers, when the job is
specified the size comparison will be taken place
between the available consumers. The consumers
memory will be monitored from the time when
they requested for cloud memory. Then the table
will be formed with the task id task name, task
memory, cloudlet id this denotes the which
consumer is requesting for the service, then cloud
memory, start time of the process and the end time
of the process.
Fig. 6 Comparison of task and cloud memory
Fig. 6 shows the comparison of task and the
cloud memory. The task will be compared with the
available cloud memory and the satisfying cloud
will be selected and displayed.
By having the start time and the end time of the
service to be taken place then the execution time
for the particular process can obtained. By having
the execution time and the cloud memory the job
will be allocated to the consumer. The job will be
compared with each consumer to get the execution
time of the job.
International Journal of Computer Trends and Technology (IJCTT) volume 6 number 1 Dec 2013
ISSN: 2231-2803 http://www.ijcttjournal.org Page41
Fig. 7 Job allocated to consumer
Fig. 7 shows the job allocated to the consumer.
By comparing the job size with the available cloud
memory and the cloud are chosen. Then by
calculating the execution time of the task, the task
will be allocated with the cloud resource to
execute. This improves the effective utilization of
the cloud memory.
By obtaining the execution time, the task with
the less execution time will be considered for the
resource allocation. And the task size is also taken
and compared with the resource available in the
cloud provider. The resource which is nearly equal
to the task, then the particular resource will be
allocated to the consumer requesting for the
resource.
When the task memory is obtained for the
particular cloud memory then the consumers
memory will be checked with the cloud memory
and the execution time will also be compared. The
job having the exact cloud memory will be chosen
and the job will be provided to the consumer. The
QoS is obtained my managing the cloud memory
and the task effectively.
6. CONCLUSION
In this way we have seen how the task is utilized to
improve the QoS of the cloud reservations. The
service is obtained by the consumer through
negotiation of both price and time slot. When the
service is obtained the task which is performed by
the consumer will be obtained and the service will
be provided to the consumer by comparing the task
memory to the consumer cloud memory. The
consumer having the cloud memory more than the
task memory will be selected and the least
minimumcloud memory will be selected first to
provide the service. The consumer with the least
minimummemory will obtain the service. By which
the QoS can be obtained in an effective way in the
cloud reservations.
ACKNOWLEDGMENT
This work was supported in part by Mr. K.
Sudhakar, Assistant Professor, Department of
Computer Science and Engineering, Hindusthan
College of Engineering and Technology.
REFERENCES
[1] R. Lawley, M. Luck, K. Decker, T. R. Payne, and L.
Moreau, Automated negotiation between publishers and
consumers of grid notifications, Parallel Process. Lett.,
vol. 13, no. 4, pp. 537548, Dec. 2003.
[2] M. A. Netto, K. Bubendorfer, and R. Buyya, SLA-based
advance reservations with flexible and adaptive time QoS
parameters, in Proc. 5th Int. Conf. Service-Oriented
Comput., Vienna, Austria, Sep. 2007, pp. 119131.
[3] A. Paschke, J . Dietrich, and K. Kuhla, A logic based SLA
management framework, in Proc. SWPW, 4th ISWC,
Galway, Ireland, 2005.
[4] K. M. Sim and B. Shi, Concurrent negotiation and
coordination for Grid resource coallocation, IEEE Trans.
Syst., Man, Cybern. B, Cybern., vol. 40, no. 3, pp. 753
766, May 2010.
[5] K. M. Sim, G-commerce, market-driven G-negotiation
agents and Grid resource management, IEEE Trans. Syst.,
Man, Cybern. B, Cybern., vol. 36, no. 6, pp. 13811394,
Dec. 2006.
[6] Andrieux, K. Czajkowski, A. Dan, K. Keahey, H. Ludwig,
T. Nakata, J. Pruyne, J . Rofrano, S. Tuecke, and M. Xu,
Web Services Agreement Specification (WS-
Agreement), WS-Agreement Specification fromthe Open
Grid Forum (OGF), Mar. 2007. [Online]. Available:
http://ogf.org/documents/GFD.107.pdf
[7] J . Wilkes, Utility functions, prices, and negotiation, in
Market Oriented Grid and Utility Computing, R. Buyya
and K. Bobendorfer, Eds. New York: Wiley, 2009.