You are on page 1of 8

View Point

Performance Monitoring in Cloud
- Vineetha V

Performance Monitoring is an integral part of maintenance. Requirements for a monitoring solution for Cloud are totally different
from a legacy and virtualized environment monitoring solution.
There are many third party tools/solutions available for monitoring a cloud. But there are no standard models exist for such a
solution as what all parameters needs to be covered in the solution so that an exhaustive performance report can be produced
for the service provider. In the context of Cloud Computing becoming the most sought after technology, there is a need for such
a standard model.
This paper is intended to provide a very brief introduction about Cloud computing and its architecture, illustrates how Cloud
Performance monitoring differs from traditional monitoring, the different types of monitoring in cloud and metrics of interest
to various users. The paper also proposes a high level view of a model which can be used as a guideline while coming up with
performance monitoring solutions for cloud.

Google AppEngine and Windows Azure Services Platform Private Cloud Private cloud (also called internal cloud or corporate cloud) is a cloud set up with in a corporate or organization that provides hosted services to a limited number of people behind a firewall. the User of the applications hosted in Cloud. application and bandwidth costs are covered by the provider • Scalability to meet needs • No wasted resources because you pay for what you use Examples of public clouds include Amazon Elastic Compute Cloud (EC2). consumption. Multi-tenancy. Also. SMEs do not need to worry about the maintenance of them. Hybrid Cloud A hybrid cloud is a cloud computing environment in which an organization provides and manages some resources inhouse and has others provided externally. There are set of rules and Middleware which helps in networked computers to communicate with each other. Cloud Service Provider Cloud Service Consumer Cloud Service Developer Software-as-a-service Cloud Services Platform-as-a-service Infrastructure-as-a-service Server Virtualization Virtualized Infrastructure System Resources 2 | Infosys – View Point Server Storage Virtualization Storage Servers Storage N/W Virtualization N/W Hardware . in which a service provider makes resources. For example. There are different types of Cloud: Public Cloud A public cloud is one based on the standard cloud computing model. In Cloud computing environment everything becomes a Service. Theoretically a Cloud has all types of dedicated servers present in it to host practically any computer program. monitoring traffic and client demands to ensure everything runs smoothly. The main benefits of using a public cloud service are: • Easy and inexpensive set-up because hardware. Sun Cloud. characteristics like Scalability. and it typically involves over-the-Internet provision of dynamically scalable and often virtualized resources. an organization might use a public cloud service. such as applications and storage. such as Amazon’s Elastic Compute Cloud (EC2) for general computing but store customer data within its own data center II. Since the underlying infrastructure is hosted by the cloud provider. Public cloud services may be free or offered on a pay-per-usage model. Cloud Architecture The most significant components of Cloud are the Front End and the Back End. storage devices. Front End is the Client side. Payper-Use make Cloud computing the most wanted technology today. elasticity. IBM’s Blue Cloud. and delivery model for IT services based on the Internet. What Is Cloud Computing? Cloud Computing can be simply defined as Computing in a remote location or location independent with shared and dynamic resource availability on demand Cloud computing describes a new supplement.I. Of course there are some areas of concerns in Cloud like security and reliability. A central server administers the system. network etc. This covers the application used to access the Cloud through interface like web browser and client’s network. available to the general public over the Internet. Primary motive behind more organizations moving to cloud is the reduction in cost and dynamic resource allocation. This frequently takes the form of web-based tools or applications that users can access and use through a web browser as if it is a program installed locally on their own computer. Back End is the actual Cloud itself with various servers.

Infrastructure Performance . Also we need to get a view of individual applications hosted on cloud. customer needs to be assured of a level of service at any time. resources will be dynamically allocated to applications. To a large extend Clouds are based on virtualized resources. Service Level Agreements (SLAs) are very important in a Cloud environment. 1. Thus Virtualized/Cloud environment requires a specialized monitoring solution which can provide effective. In a nutshell we need a monitoring model for Cloud which can provide a view of the health of the entire cloud in delivering a service. Network etc. Also depending on the agreement between the service provider and the customer. Since individual component’s performance fail to provide an accurate view of the overall cloud performance. It should help the provider assess whether customer’s demands can be met with the current resources/performance. Monitoring from Service providers view and Monitoring from Cloud Consumer’s view. Infrastructure Response Time (IRT) is defined as the time it takes for any workload (application) to place a request for work on the virtual environment and for the virtual environment to complete the request (from the guest to spindle and back again). Since the Customer pays for the services/Infrastructure he uses. Storage. a new approach called Infrastructure Response Time is being researched upon to get a more accurate picture of the performance of a virtualized/ cloud environment. they fail to provide a complete picture of the performance of the entire cloud environment For example with VMware’s VCenter/vSphere we can get basic resource utilization information of the ESX/ESXi host and virtual machines.A Cloud service provider is interested in this kind of report. They are not well equipped to provide a more holistic view of the cloud environment. focus should be on how they perform to deliver the Business Service to the User.pdf] Typical data flow between various components in a DB transaction is as follows: Servers/ VMs VM Network Network Fabric SAN Fabric Storage Infosys – View Point | 3 . Thus performance Monitoring of Cloud should monitor the capability of components of cloud in delivering the expected service. Cloud Performance Monitoring When we consider monitoring performance of a Cloud. even though they provide a good view of individual files/pdfs/WP_APM-Experts-Infrastructure-PerformanceManagement-for-Virtualized-Systems. How/Why Performance Monitoring Differs from Traditional Server Monitoring Since we have various types of IT Components in a cloud. More than independent management of Physical and virtual infrastructure elements. The request could be a simple data exchange between 2 VMs or a complex request which involves database transaction and writes into a storage array. IV. [definition from http://www. they fail to provide a visibility into the performance of the business applications hosted on these platforms.virtualinstruments. The monitoring solution should be capable of dynamically identifying the VMs in which the application is currently running and then collect the parameters. that is not the case with virtual components due to the shared and dynamic nature of resource allocation. This involves performance of the various infrastructure components in the cloud like Virtual Machines. Most of the Virtualization vendors provide management/monitoring solutions which collect a robust set of resource utilization statistics. we can broadly classify it to 2 categories. the traditional performance management which focuses on specific components will not work for Cloud. convenient and holistic view of the entire environment. Although it is possible to approximate the performance of Physical infrastructure based on how its resources are utilized.

bytes in/out • Host System State • Host System Resource Usage • Virtual Machine Configuration • Virtual Machine State • Metrics/Parameters of Interest in Infrastructure Performance Monitoring Sample list of Parameters monitored for Host and VM for VMware ESX/ESXi Host Machine Virtual Machine Running State Number of CPUs Overall Alarm Status Overall CPU Usage. granted. read and write requests VM Disk read and write rate Network data receive and transmit rate Guest OS and heartbeats in period Network packets received and transmitted Amount of guaranteed resource 2.Performance of the applications hosted in the cloud. whose application is hosted in the cloud. balloon. • Percentage Busy • IRT must be calculated across the breadth & depth of the virtual environment. Application Performance . • Memory. Hyper-V etc • Percentage Ready • Network. Cloud consumer. CPU extra and guaranteed Number of CPU Cores CPU Usage in MHz. Free. and delta between CPUs • Disk usage. In Calculating Application Performance also we cannot go by the resources utilized by the application as in a cloud. Solution should be able to automatically discover and calculate IRT for these new entrants as well.Key requirements for an Infrastructure Performance Management Solution for a Virtual/Cloud environment can be identified as below: • Support any application hosted in the environment. CPU sample count CPU Speed per Core CPU Active average and peak over a period CPU Threads CPU Refused average over a period CPU Active average and peak over a period CPU running average and peak over a period Memory Size. consumed. active (% of memory) Memory swap in/swap out Memory swap in/swap out Guest and Host memory usage Memory heap. Need to dynamically identify virtual and physical resources used by the application at a given point in time. swap activity • Be prepared for new applications and new infrastructure being added to the environment. 4 | Infosys – View Point . applications designed to be hosted in a cloud tend to have monitoring solution built in to the application itself. percentage used. Solution should be able to automatically identify the applications and their topologies and this need to be independent of the application architecture. Application Response Time is the key metric in Application Performance management which actually calculates the time taken for the application to respond to user requests. Usage. Full scope of the environment needs to be considered. applications move around and so the monitoring solution needs to track and map them. overhead and shared Memory active. packets Disk read rate. free. Infrastructure Response Time is the Key metric along with the various resource utilization metrics as follows: • CPU usage. total. is interested in this kind of report. command abort and issued VM network data receive and transmit rate. total – all CPUs. Disk Capacity. • Support for multiple platforms like VMware. Since this is of more interest to the application owners. per CPU. used • Disk Latency • Continuous discovery.

Virtualization metrics Similar to the physical machines. IRT gives a clear picture of the overall performance of the cloud as it checks the time taken for each transaction to complete. Transaction metrics Transaction metrics can be considered as a derivative from IRT. B. This provides a picture of how much of the VM is being utilized and this data helps in analysing the resource utilization by applications and to decide on the scaling requirements. Metrics like Success percentage of transactions. usage reports of specific resources/datacenters etc - Application level reports like. An ideal monitoring solution for Cloud should be capable of providing all the above details. • Multi-dimensional reports - Different levels of Report for different users like overall infrastructure usage. for an application would give a clearer picture of the performance of an application in cloud at a particular instance. Reporting and Collecting Performance Data Reporting The following reports would help the service provider to understand the cloud usage and its performance. from physical as well as virtual hosts. A. Cloud service providers would be interested in the below details to assess the actual performance of cloud. utilization parameters of physical servers/infrastructure is an important factor in cloud monitoring.V. Resource Utilization details Just like in any other performance monitoring. Reports showing the infrastructure usage by each application. • Collect virtualization metrics from underlying virtualization platform. count of transactions etc. • Solution to be capable enough to collect the response time per transaction and per application. D. infrastructure reports like. • Derive transaction metrics/data from collected data on response time. Other important parameters related to Virtual Machines like • Number of VMs used by application • Time taken to create a new VM • Time taken to move an app from one VM to another • Time taken to allocate additional resources to VM are of importance as they also contribute to IRT and performance of the applications hosted in cloud. Lot of decision making and determining SLAs are driven by the Cloud performance. we need to collect the resource utilization data from the Virtual machines. VI. Parameters of Interest for Cloud Service Provider Cloud Service Provider needs to get an exhaustive view of the health of the entire cloud to assess the situation. IRT is very crucial as it has an impact on the application performance and availability which in turn affects the SLAs C. Infrastructure Response Time (IRT) As already discussed. Need to ensure that the solution works well with different virtualization platforms. Performance of the resources in the cloud • Busy-hour / peak Usage Report - Helps to get a clear view of the usage of the application for better planning of resources and SLAs • What If analysis • Trend Analysis Collecting • Monitoring application should collect Performance parameters like CPU utilization. memory utilization etc. The agent needs to track and capture details of each transaction happening with the applications hosted in the VM. Infosys – View Point | 5 . as these servers make up the cloud. Could be done either using an agent residing in the VM or an external monitoring agent.

Reporting Processing Data Collection Monitoring Agent IRT Application Data Application Platform VM Resource Data 6 | Infosys – View Point VM VM Physical Infrastructure VM Virtualization on Metrics .Below is a proposed high level model for a Cloud monitoring solution with a view.

com/definition/ Infosys – View Point | 7 .howstuffworks.html 5. REFERENCES 1. 3. http://communication.html 6.Conclusion A detailed framework of the given high level model is the next stage of study.vmware.htm 4. http://en. http://www. A detailed view of components involved in the framework and integration with interfacing components can be considered as part of framework. This paper is intended to provide a guideline or requirements for developing a cloud monitoring solution for service 2. metrics. This can be extended further for hosting the monitoring solution on the cloud. © 2012 Infosys Limited. contact askus@infosys. Infosys believes the information in this publication is accurate as of its publication date. suchinformation is subject to change without notice. . Infosys acknowledges the proprietary rights of the trademarks and product names of other companies mentioned in this document. For more information. engineering and outsourcing services to help clients in over 30 countries build tomorrow's enterprise. Bangalore.About Infosys Many of the world's most successful organizations rely on Infosys to deliver measurable business value. Infosys provides business consulting.infosys. www.