From Fedora Project Wiki

Line 41: Line 41:
#* extract the ''tools/xentrace/formats'' file from the source code.
#* extract the ''tools/xentrace/formats'' file from the source code.
#* Get the source code at: http://www.xen.org/products/xen_archives.html
#* Get the source code at: http://www.xen.org/products/xen_archives.html
# set the masks
#* See also: [[http://support.citrix.com/article/CTX121583|Event Classes (Masks)]]
#* ./xen/include/public/trace.h
#* ./xen/include/asm-x86/hvm/trace.h
#** find . | xargs grep HVMTRACE_2D


== Administration ==
== Administration ==

Revision as of 12:41, 11 October 2010

Performance observation short cuts for noobs

Introduction

Purpose

Scope

Acronyms, descriptions

References

http://www.linux-kvm.org/page/Documents
KVM documentation page.
[Webcast: When Times Get Tough, The Tough Get Tuning]
Dee-Ann LeBlanc of Splunk shows how you can get better performance from your hardware without throwing dollars at it.

Open issues

Installing the packages needed

yum install sysstat
This contains 'sar' and 'iostat'

Operating Environment

Storage

Network

Virtualiser

xentrace
See also: [xentrace example]
xentrace_format


Configuring the xentrace

  1. get the xentrace_formats file
  2. set the masks
    • See also: [Classes (Masks)]
    • ./xen/include/public/trace.h
    • ./xen/include/asm-x86/hvm/trace.h
      • find . | xargs grep HVMTRACE_2D

Administration

Scratch pad

INSTALLATION

 yum install sysstat
   sar and iostat

XOSview GKRellM gnuplot


vmstat mpstat -P ALL top sar iostat ps


RAM vmstat -s free


cpu sar -P ALL -u ALL 10 10



NETWORK netstat

-i
-a
-s
-f

iostat ttcp


IO Performance iostat

-x 

vmstat sar nfsstat bonnie++


TUNING MME sysctl and sysctl.conf


Performmance measurements on various virtualization soulutions

Trouble shooting