Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Tomica Kaniki
tomica@kaniski.eu | http://blog.kaniski.eu/
OUR SPONSORS MADE THIS POSSIBLE!
THANK YOU!
TAKE A DEEP BREATH
power settings:
BIOS/UEFI level
host OS level
guest OS level
easy to set:
POWERCFG.EXE /S SCHEME_MIN (High performance)
POWERCFG.EXE /S SCHEME_BALANCED (Balanced (recommended))
HOST (SOFTWARE) (1)
Hyper-V host is a Hyper-V host (and nothing else)!
install the latest drivers & firmware versions (that work)
use driver/firmware bundles (like SPP for HP servers) to standardize BIOS, NIC,
storage controllers and HBA versions in your environment
http://h17007.www1.hpe.com/us/en/enterprise/servers/products/service_pack/spp/index.aspx
install only the necessary (Hyper-V role, Failover Clustering, MPIO + DSM)
use MinShell or Core (or even Nano ) installation options
or full GUI, configure and then downgrade to Core
or just full GUI
updates & hotfixes
Cluster https://support.microsoft.com/en-us/kb/2920151
Hyper-V https://support.microsoft.com/en-us/kb/3135020
support will first ask if youve installed all the latest and greatest
HOST (SOFTWARE) (2)
install backup and monitoring agents
install antivirus if necessary (company policy)
dont forget to set exclusions!
dont forget to modify Hyper-V settings after the installation
default paths are on the system drive!
Set-VMHost -ComputerName localhost -VirtualHardDiskPath 'D:\VMs'
Set-VMHost -ComputerName localhost -VirtualMachinePath 'D:\VMs'
counters:
\Logical Disk(*)\Avg. Disk sec/Read
\Logical Disk(*)\Avg. Disk sec/Write
thresholds:
up to 15 ms should be OK
15-25 ms may cause negative impact on workloads
> 25 ms will cause negative impact on workloads
PERFORMANCE (PERFMON.EXE) (2)
memory
there has to be enough memory available inside a VM (or a Hyper-V host)!
counters:
\Memory\Available Mbytes
RAM available for running the active processes
15% (or more) is OK
\Memory\Pages/sec
how often the disk is accessed to resolve hard page faults
< 500 pages per second is OK
> 500 pages per second machine just needs more RAM (dont be cheap!)
PERFORMANCE (PERFMON.EXE) (3)
network
counters
\Network Interface(*)\Bytes Total/sec
shows current network utilization
20% (or more) free is OK
\Network Interface(*)\Output Queue Length
shows latency in sending network packets (threads that wait on the NIC)
0 is OK
1 or more is a sign of degraded network performance
\Hyper-V Virtual Network Adapter(*)\Bytes/sec
shows which virtual network adapters are consuming the most bandwidth
PERFORMANCE (PERFMON.EXE) (4)
processor
counters
\Processor(*)\% Processor Time
overall CPU utilization (at host level)
< 80% is always OK ()
\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time
at host level, but to evaluate guest utilization
\Hyper-V Hypervisor Root Virtual Processor\% Total Run Time
CPU of the root partition
\Hyper-V Hypervisor Virtual Processor(_Total)\% Total Run Time
total time of the virtual processors
\Hyper-V Hypervisor Virtual Processor(*)\%Guest Run Time
CPU of the guest partitions
always measure the CPU usage of the physical system by using the Hyper-V Hypervisor
Processor performance counters
PAL IS YOUR NEW (BEST) PAL!
PAL (a.k.a. Performance Analysis of Logs Tool)
reads a performance monitor counter logs and analyzes them using
known thresholds
for Hyper-V, SQL, IIS, Exchange, SharePoint,
you can get it at https://pal.codeplex.com/
free!