• Like
  • Save
Managing Performance in a Virtual Environment
 

Managing Performance in a Virtual Environment

on

  • 1,036 views

For more information on Virtualization Manager, visit: http://www.solarwinds.com/virtualization-manager.aspx ...

For more information on Virtualization Manager, visit: http://www.solarwinds.com/virtualization-manager.aspx

Watch this webcast: http://www.solarwinds.com/resources/webcasts/managing-performance-in-a-virtual-environment.html

Watch this webcast with Eric Siebert, VMware® vExpert, vSphere-Land.com blogger and published author, along with SolarWinds’ virtualization management expert, Jon Reeve. We’ll be discussing, “Managing Performance in a Virtual Environment.”

In a virtual world, the most important metrics all boil down to one thing: Performance. Virtual infrastructure performance really determines the end user experience, and it’s the one metric that aggregates the entire infrastructure including CPU, memory, storage and network.
So, the key for every virtualization administrator is to maximize performance while providing appropriate levels of availability. This includes key tasks like:

• Right-sizing your virtual machines by allocating the appropriate resources
• Isolating and troubleshooting performance bottlenecks
• Freeing up wasted resources (like zombie VMs, idle/stale VMs, etc.) so you have plenty of resources to allocate.

In this webinar, we’ll talk about how to perform these tasks and more.

Statistics

Views

Total Views
1,036
Views on SlideShare
1,034
Embed Views
2

Actions

Likes
2
Downloads
0
Comments
0

2 Embeds 2

https://twimg0-a.akamaihd.net 1
http://paper.li 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Virtualization Manager - Server and Application Monitor
  • Aggreaget and format data

Managing Performance in a Virtual Environment Managing Performance in a Virtual Environment Presentation Transcript

  • Performance Management in a Virtual Environment 2/22/12 IT Management Simplified
  • About the Speakers
    • Eric Siebert
    • 25+ years experience in the IT industry
    • 3 time VMware® vExpert
    • Author of 2 books on virtualization
    • Top virtualization blogger
    Follow me on Twitter @ericsiebert Visit my website: http://vsphere-land.com
    • Jonathan Reeve
    • SolarWinds, Senior Director of Product Management
    • Previously ran product management at Hyper9™
    • Multiple successful start-ups in the IT space
  • Agenda
    • Know where to start when it comes to monitoring performance
    • Know what to look for with performance
    • Learn the key resource counters you want to focus on
    • Know where to look when monitoring performance
    • Understanding the domino effect with virtualization
    • Learn how to interpreting the data to know what all those numbers mean
    • Learn how SolarWinds can provide you the tools you need to properly manage your virtual environment
  • Why is monitoring performance important?
    • Nothing can kill a virtual environment faster than not having adequate performance for all VMs
    • VMs are all fighting for limited host resources
    • Virtual environments are like small children, they require constant monitoring and attention
    • If you don’t monitor, you could end up with a mess on your hands
    • Performance monitoring with virtualization is complicated – more to monitor and interpreting the statistics can be difficult
    © iStockphoto
  • Monitoring Performance – Where to Start
    • Traditional non-virtual environments, performance monitored through guest OS using agents or WMI
    • Not effective in virtualized environments; guest OS is no longer seeing physical hardware
    • Virtualization layer is transparent to the guest OS
    • Virtual hardware is emulated by the hypervisor, the guest OS doesn’t know the big picture
    • Statistics measured inside guest OS are not an accurate reflection of the physical hardware of the host usage
    • VMware resource controls impact guest OS reporting
  • Know Where to Look
    • Performance should be monitored at virtualization layer
    • Many statistics that are unique to virtualization
  • Monitor the Entire Stack
    • Don’t completely ignore the guest OS; some stats are relevant
    • A good monitoring tool will look at both the virtualization and guest OS layer as well as the app layer
    • vCenter Server is focused on the virtualization layer
    • SolarWinds provides a complete performance picture of all layers
    Guest OS Stats Virtualization Stats Memory usage by app/process Active Memory Used CPU usage by app/process CPU % Ready Memory Pages/Sec Memory Swapped (vswp) Disk I/O by app/process Kernel Latency
  • Know What to Look for
    • Virtual environments can generate hundreds of different kinds of performance stats
    • Statistic Levels determine which stats are collected
    • Not all stats useful, some are useful for monitoring health and usage, other are more useful for troubleshooting
    • There are different object levels where stats are collected:
      • Datacenter
      • Cluster
      • Resource Pool
      • Host
      • Virtual Machines
    • Sometimes need to look at different levels to see aggregated stats or those specific to an object
  • Why Not Use vCenter Server
    • vCenter Server already collects performance statistics, why shouldn’t I just use it for monitoring?
    • Statistics are all dumped into one database, which can get very large with millions of rows
    • Database is also used for other vCenter Server data
    • 90% of the database consists of performance statistics
    • The larger the database gets, more difficult it is to manage & vCenter Server slows down
    • Problems with database can cause vCenter Server to become unavailable
  • Why Not Use vCenter Server
    • vCenter Server is a multi-function management tool
    • Responsible for many functions such as:
      • Provisioning VMs and resources
      • VM & Host management
      • DRS,
      • vMotion®,
      • Distributed vSwitches
    • Critical to the proper function of the whole environment
    • vCenter Server does many things OK but not everything great, offload the monitoring
    • SolarWinds can offload this and do it better
  • Key Statistics – CPU/Memory Statistic What It Means Why It’s Important CPU - Ready VM stat – amount of time in ms spent waiting for CPU High value indicates bottleneck or too many vSMP VMs as VMs wait for CPU time CPU - Used VM/Host stat – amount of CPU time used in ms High value indicates VMs are saturating vCPUs and may benefit from additional vCPUs if CPU Ready is low CPU - Usage VM/Host stat – total amount of CPU usage measured as a % For VMs usage measured by host (avg. of all vCPUs), for hosts actively used percentage of total available CPU Mem - Swapped VM/Host stat – amount of mem in KB swapped to virtual swap file Large number indicate lack of physical memory or memory limits, optimally this should be zero Mem - Active VM/Host stat – amount of true host mem used by VM in KB For VMs amount of memory actively used, for hosts sum of all VM active memory plus host overhead Mem - Ballooned VM/Host stat – amount of memory in KB that is used by balloon driver For VMs this is the amount of physical memory reclaimed by balloon driver, for hosts it’s the sum plus overhead
  • Key Statistics – Disk/Network Statistic What It Means Why It’s Important Disk – G/AVG Host stat – amount of time in ms it takes to process SCSI command High latency has a big impact on VM performance, once it exceeds 30ms VMs will slow, above 50ms is severe Disk - Qued Host stat – amount of time in ms that commands spend in VMkernel queue before sent to device queue Above 5ms indicates SCSI commands spending too much time in VMkernel®, may need to increase queue depth Disk – Usage VM/Host stat – aggregated disk I/O rate measured in KBps Good general stat to show disk activity, for hosts its combined total of all VMs Disk – Commands VM/Host stat – number of SCSI commands that have been issued Another good general stat that shows disk activity in IOPS instead, for hosts its combined total of all commands sent to disk targets Net – Dropped TX/RX Host stat – number of transmit & receive packets dropped If greater than zero you may need additional pNICs in a vSwitch or receive buffers increased Net - Usage VM/Host stat – combined transmit & receive rates measured in KBps Good general stat for net activity, for VMs sum of traffic across all vNICs, for hosts sum of all traffic across all pNICs
  • Understanding Disk Latency
    • Total Guest Latency (GAVG) is measured where I/O enters VMkernel to the point it arrives at storage device
    • Kernel Latency (KAVG) is time I/O spends in VMkernel
    • Queue Latency (QAVG) is part of VMkernel but measured independently
    • Device Latency (DAVG) is time I/O spends in driver code and storage device
    • GAVG = DAVG + KAVG
    • GAVG should be < 20ms
    • High DAVG indicates problem with storage array being too busy or improperly architected
    • High KAVG can be result of queue depth too small
    © SolarWinds Whitepaper: Storage I/O Bottlenecks in a Virtual Environment
  • Knowing Where to Look
    • Virtual environments are complicated with many moving parts, shared resources and dependencies
    • Pinpointing cause of performance problems can be complicated and frustrating
    • Problems can be very disruptive, must be quickly resolved
    • First question asked when problems seemingly occur out of nowhere is: what changed?
    • Something as innocent as changing a setting can have a big impact
    • SolarWinds can track changes using host & VM DNA so events can be correlated to problems
  • Domino Effect in Virtual Environments
    • Because of shared resources, small things can have big ripple effects
    • Performance problems can effect VMs within a host and within a cluster
    • Once one VM puts intense pressure on host resources, it can cause a denial of service type attack
    • Chain reaction can cause all VMs on multiple hosts to become unresponsive
    • Must continually monitor and know normal resource usage patterns so you can spot irregularities
    • SolarWinds can show you resource trends and alert you when contention begins to occur
  • Interpreting the Data
    • Many performance statistics that are unique to virtual environments like: CPU Ready, Kernel Latency, Memory Consumed, Queue Depth, Memory Ballooned
    • If you don’t know what these stats are, how can you understand what the values mean
    • Trying to interpret performance stats and understanding relationships to other stats can be very difficult
    • SolarWinds can be your interpreter and help translate the numbers into more meaningful reports and dashboards
    • Help you understand relationships between resources & applications
  • SolarWinds Virtualization Manager DEMO
  • Summary
    • You can’t afford to be reactive when it comes to performance
    • Being proactive can help you prevent big problems from occurring
    • If you don’t monitor constantly how do you know if you have a problem today or if its been there all along
    • To be successful at virtualization, you must maintain good performance
    • Effects of poor performance can be far-reaching
    • Having proper tool to monitor performance is critical
    • Use the right tool for the job: SolarWinds Virtualization Manager