Upload
ankitsaluja
View
151
Download
2
Embed Size (px)
Citation preview
SIMULATION AND PERFORMANCE ANALYSIS OF
A LARGE SCALED INTERNET APPLICATION
(Facebook)ON CLOUD COMPUTING ENVIRONMENTS
CLOUD COMPPUTING
“…a style of computing in which dynamically scalable and often virtualized resourcesare provided as a service over the Internet.”
Deployment Models:
• Public
• Private
• Community
• Hybrid
Delivery Models:
• IaaS
• PaaS
• SaaS
ABOUT THE PROJECT
In this project we introduce a novel tool, CloudAnalyst, along with a new approach tosimulate a large-scaled applications on the Cloud with the purpose of studying thebehavior of such applications under various deployment configurations. Such a studywould benefit the application designers greatly in identifying the optimalconfiguration for their application. But more importantly such a study will generatevaluable insights in to designing Cloud infrastructure services in areas such ascoordination between Data Centers, load balancing algorithms andpossible valueadded services such as Service Brokers to coordinate between Data Centers tooptimize the application performance and cost to the owners.
CLOUD ANALYST
The CloudAnalyst is built on top of CloudSim tool kit, by extending CloudSimfunctionality with the introduction of concepts that model Internet and InternetApplication behaviors .
CloudSim toolkit covers most of the activities taking place within a Data Center in detail. This includes:
• Simulating Data Center hardware definition in terms of physical machines composed of processors, storage devices, memory and internal bandwidth
• Simulating virtual machine specification, creation and destruction
• The management of virtual machines, allocation of physical hardware resources for the operation of virtual machines based on different policies (e.g. time-shared and space-shared)
• Simulating the execution of user programs or requests (Cloudlet/Gridlet) on the virtual machines
SIMULATION OUTPUT/WHAT IS BEING MEASURED
• Response time of the simulated application
• The usage patterns of the application
• The time taken by data centers to service a user request
• The cost of operation
TECHNOLOGIES USED
• Java
• Java Swing
• CloudSim
TERMINOLOGY USED
• Region
• Internet
• Service Broker Request
• User Base
• Internet Cloudlet
• Data Center Controller
• VM Load Balancer
SERVICE BROKER ALGORITHM
• Service proximity based routing
• Performance based routing
• Dynamically Reconfigurable Routing
VM LOAD BALANCING ALGORITHM
• Round Robin
• Active Monitoring
• Throttled
SCENARIO 1.1.1Single data center located in Asia with service proximity algorithm forservice broker and round robin for VM load balancing
Avg (ms) Min (ms) Max (ms)
Overall Response Time 676.13 55.00 1862.84
Data Centre Processing Time 206.57 0.23 887.92
Overall Response Time Summary:
Response Time by Region:
SCENARIO 1.1.1Single data center located in Asia with service proximity algorithm forservice broker and round robin for VM load balancing
Data Center Request Servicing Time:
Cost:
Data Center Avg (ms) Min (ms) Max (ms)
DC1 206.57 0.23 887.92
Total Virtual Machine Cost ($) 1.60
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1122.13
SCENARIO 1.1.2Single data center located in Asia with service proximity algorithm forservice broker and active monitoring for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 676.02 55.00 1877.13
Data Centre Processing Time 206.57 0.23 889.74
SCENARIO 1.1.2Single data center located in Asia with service proximity algorithm forservice broker and active monitoring for VM load balancing
Data Center Request Servicing Time:
Cost:
Data Center Avg (ms) Min (ms) Max (ms)
DC1 206.57 0.23 889.74
Total Virtual Machine Cost ($) 1.60
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1122.13
SCENARIO 1.1.3Single data center located in Asia with service proximity algorithm forservice broker and throttled for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 572.22 55.00 1819.68
Data Centre Processing Time 103.80 0.23 624.00
SCENARIO 1.1.3Single data center located in Asia with service proximity algorithm forservice broker and throttled for VM load balancing
Data Center Request Servicing Time:
Cost:
Data Center Avg (ms) Min (ms) Max (ms)
DC1 103.80 0.23 624.00
Total Virtual Machine Cost ($) 1.60
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1122.13
SCENARIO 1.2.1Single data center located in Asia with service optimum response timealgorithm for service broker and round robin for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 675.90 56.26 1865.45
Data Centre Processing Time 206.10 0.24 885.69
SCENARIO 1.2.1Single data center located in Asia with service proximity algorithm forservice broker and round robin for VM load balancing
Data Center Request Servicing Time:
Cost:
Data Center Avg (ms) Min (ms) Max (ms)
DC1 206.10 0.24 885.69
Total Virtual Machine Cost ($) 1.60
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1122.13
SCENARIO 1.2.2Single data center located in Asia with service optimum response timealgorithm for service broker and active monitoring for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 675.83 56.26 1879.26
Data Centre Processing Time 206.10 0.24 888.18
SCENARIO 1.2.2Single data center located in Asia with optimum response time algorithm forservice broker and active monitoring for VM load balancing
Data Center Request Servicing Time:
Cost:
Data Center Avg (ms) Min (ms) Max (ms)
DC1 206.10 0.24 888.18
Total Virtual Machine Cost ($) 1.60
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1122.13
SCENARIO 1.2.3Single data center located in Asia with service optimum response timealgorithm for service broker and throttled for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 572.25 56.12 1827.04
Data Centre Processing Time 103.70 0.24 625.71
SCENARIO 1.2.3Single data center located in Asia with optimum response time algorithm forservice broker and throttled for VM load balancing
Data Center Request Servicing Time:
Cost:
Data Center Avg (ms) Min (ms) Max (ms)
DC1 103.70 0.24 625.71
Total Virtual Machine Cost ($) 1.60
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1122.13
SCENARIO 2.1.1Each region has a data center with service proximity algorithm forservice broker and round robin for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 316.25 41.55 542.53
Data Centre Processing Time 254.00 0.46 481.01
Data Center Request Servicing Time:
Cost:
Total Virtual Machine Cost ($) 8.42
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1128.94
SCENARIO 2.1.2Each region has a data center with service proximity algorithm forservice broker and active monitoring for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 316.59 41.55 577.58
Data Centre Processing Time 254.82 0.46 528.79
Data Center Request Servicing Time:
Cost:
Total Virtual Machine Cost ($) 8.42
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1128.94
SCENARIO 2.1.3Each region has a data center with service proximity algorithm forservice broker and Throttledfor VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 205.62 41.55 606.80
Data Centre Processing Time 147.97 0.46 528.79
Data Center Request Servicing Time:
Cost:
Total Virtual Machine Cost ($) 8.42
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1128.94
SCENARIO 2.2.1Each region has a data center with optimum response time algorithmfor service broker and round robin for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 291.13 39.91 996.44
Data Centre Processing Time 177.76 0.49 481.15
Data Center Request Servicing Time:
Cost:
Total Virtual Machine Cost ($) 8.42
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1128.94
SCENARIO 2.2.2Each region has a data center with optimum response time algorithmfor service broker and active monitoring for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 290.78 44.31 1166.44
Data Centre Processing Time 175.00 0.41 481.36
Data Center Request Servicing Time:
Cost:
Total Virtual Machine Cost ($) 8.42
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1128.94
SCENARIO 2.2.3Each region has a data center with optimum response time algorithmfor service broker and throttled for VM load balancing
Overall Response Time Summary:
Response Time by Region:
Avg (ms) Min (ms) Max (ms)
Overall Response Time 205.74 39.91 1161.44
Data Centre Processing Time 97.18 0.49 455.30
Data Center Request Servicing Time:
Cost:
Total Virtual Machine Cost ($) 8.42
Total Data Transfer Cost ($) 1120.52
Grand Total ($) 1128.94
SIMULATION RESULT SUMMARY :-
ANALYSIS OF OVERALL RESPONSE TIME
0
100
200
300
400
500
600
7005.2.1.1
5.2.1.2
5.2.1.3
5.2.2.1
5.2.2.2
5.2.2.3
5.3.1.1
5.3.1.2
5.3.1.3
5.3.2.1
5.3.2.2
5.3.2.3
SIMULATION RESULT SUMMARY :-
ANALYSIS OF DATA CENTRE PROCESSING TIME :
0
50
100
150
200
250
3005.2.1.1
5.2.1.2
5.2.1.3
5.2.2.1
5.2.2.2
5.2.2.3
5.3.1.1
5.3.1.2
5.3.1.3
5.3.2.1
5.3.2.2
THANK YOU