Performance observation short cuts for noobs

= Performance observation short cuts for noobs =

Installing the packages needed

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

Operating Environment

 * perf: Performance analysis tools for Linux.
 * e.g. perf top

Virtualiser

 * http://www.xen.org/files/xensummit_intel09/xen-debugging.pdf
 * http://xenbits.xensource.com/ext/xenalyze.hg
 * http://wiki.xensource.com/xenwiki/XendInternalsDebugging


 * xentrace: See also: xentrace example
 * xentrace_format:
 * kmv_stat: in qemu-kvm-tools package.

Configuring the xentrace

 * 1) get the xentrace_formats file
 * 2) * extract the tools/xentrace/formats file from the source code.
 * 3) * Get the source code at: http://www.xen.org/products/xen_archives.html
 * 4) set the masks
 * 5) * See also: Event Classes (Masks)
 * 6) * ./xen/include/public/trace.h
 * 7) * ./xen/include/asm-x86/hvm/trace.h
 * 8) ** find . | xargs grep HVMTRACE_2D

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

Performance measurements on various virtualization soulutions

 * Virtual machines performance comparison: vmware vs virtualbox vs kvm vs xen - I/O benchmarks: Windows 2008 installation time
 * Optimizing Network Virtualization in Xen

Softirqs
Backen interrupt handlers.