Virtualizied environment is very common for SharePoint farm. One of the most important factor of such farms is optimization that differs slightly from optimization of the physical environment . But firstly, we need to know how good our farm operates, measuring different parameters, before trying optimized it.
Consider to use use the following performance counters to measure the most important parameters that affect performance:
- Processors utilization
[Host]: “\Processor(*)\% Processor Time”
[Host] [Guest]: “\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time”
Results: <60% healthy, 60%-89% warning, >90% – critical performance;
- Memory performance
[Host] [Guest]: “\Memory\Available MBytes” will show the amount of physical memory available to processes running on the computer, as a percentage of physical memory installed on the computer
Results: (free memory available): >50% healthy, 10% warning, <5% critical
[Host] [Guest]: “\Memory\Pages/sec” - the rate at which pages are read from or written to disk to resolve hard page faults. To resolve hard page faults, the operating system must swap the contents of memory to disk, which negatively impacts performance. A high number of pages per second in correlation with low available physical memory may indicate a lack of physical memory
Results: <500 healthy, 500-1000 warning, >1000 critical
- Disk Performance
[Host] “\Logical Disk(*)\Avg. Disk sec/Read” or “\Logical Disk(*)\Avg. Disk sec/Write” to measure disk latency
Results: < 15ms healthy, 15ms-25ms warning, >25ms critical.
Don’t forget to measure performance of logical disk versus physical
- Network Performance
[Host] “\Network Interface(*)\Bytes Total/sec” will provide the percentage of network utilization is calculated by multiplying Bytes Total/sec by 8 to convert it to bits, multiply the result by 100, then divide by the network adapter’s current bandwidth.
Results: <40% healthy. 40%-65% warning, >65% critical
[Guest] “\Network Interface(*)\Output Queue Length” measures the number of threads waiting on the network adapter.
Results: 0 is health, 1-2 is warning and >2 is critical
[Host] [Guest] Free disk spaces – have enough available space to avoid SharePoint move and delete temporary files, what could affect the performance. SharePoint uses additional space for for caching and other internal processes.
Result: >25% is healthy