Tune the client systems:
Configure client systems the same way that the SUT is configured. See
“Server Under Test (SUT) Tunings” earlier in this guide.
In addition to tuning the client systems, you should monitor client
performance and eliminate any bottlenecks. Follow these client performance guidelines:
CPU utilization on clients should not be higher than 80%, to accommodate activity bursts.
If any of the processors has high CPU utilization, consider using CPU affinity for benchmark processes to even out CPU utilization. If CPU utilization is still high, consider upgrading clients to the latest processors, or add more clients.
Verify that time is synchronized between the master client and the SUT.
Monitoring and Data Collection
The following list of performance counters is considered a base set of counters when you monitor the resource usage of the database server for the TPC-E workload. Log the performance counters to a local, raw (blg) performance counter log. It is less expensive to collect all instances (‘*’ wide character) and then extract particular instances while post-processing by using Relog.exe or Perfmon:
\IPv4\*
\Memory\*
\Network Interface(*)\*
\PhysicalDisk(*)\*
\Processor Information(*)\*
\Synchronization(*)\*
\System\*
\TCPv4\*
Note: If applicable, add the \IPv6\* and \TCPv6\* objects. To monitor overall performance, you can use the performance counter chart displayed in Figure 9 and
the throughput chart displayed in Figure 10 to visualize run characteristics. The first part of the run in Figure 9 represents the warm-up stage where I/O consists of mostly reads. As the run progresses, the lazy writer starts flushing caches to the disks and as write I/O increases, read I/O decreases. The beginning of steady state for the run is when the read I/O and write I/O curves seem to be parallel to each other.
Figure 9: TPC-E Perfmon Counters Chart
Figure 10. TPC-E Throughput Chart
You can use other tools such as Xperf to perform additional analysis.
Resources
Web Sites
Windows Server 2008 R2
http://www.microsoft.com/windowsserver2008/en/us/R2.aspx Windows Server 2008
http://www.microsoft.com/windowsserver2008/
Windows Server Performance Team Blog
http://blogs.technet.com/winserverperformance/
Windows Server Catalog
http://www.windowsservercatalog.com/
SAP Global Benchmark: Sales and Distribution (SD) http://www.sap.com/solutions/benchmark/sd.epx Windows Sysinternals
http://technet.microsoft.com/sysinternals/default.aspx Transaction Processing Performance Council
http://www.tpc.org/
IxChariot
http://www.ixiacom.com/support/ixchariot/
Power Management
Power Policy Configuration and Deployment in Windows
http://msdn.microsoft.com/windows/hardware/gg463243.aspx Using PowerCfg to Evaluate System Energy Efficiency
http://msdn.microsoft.com/windows/hardware/gg463250.aspx Interrupt-Affinity Policy Tool
http://msdn.microsoft.com/windows/hardware/gg463378.aspx
Networking Subsystem
Scalable Networking: Eliminating the Receive Processing Botleneck—Introducing RSS
http://download.microsoft.com/download/5/D/6/5D6EAF2B-7DDF-476B-93DC-7CF0072878E6/NDIS_RSS.doc
Windows Filtering Platform
http://msdn.microsoft.com/windows/hardware/gg463267.aspx
Networking Deployment Guide: Deploying High-Speed Networking Features http://download.microsoft.com/download/8/E/D/8EDE21BC-0E3B-4E14-AAEA-9E2B03917A09/HSN_Deployment_Guide.doc
Storage Subsystem
Disk Subsystem Performance Analysis for Windows
(Parts of this document are out of date, but many of the general observations and guidelines are still accurate.)
http://msdn.microsoft.com/windows/hardware/gg463405.aspx
Web Servers
10 Tips for Writing High-Performance Web Applications http://go.microsoft.com/fwlink/?LinkId=98290
File Servers
Performance Tuning Guidelines for Microsoft Services for Network File System http://technet.microsoft.com/library/bb463205.aspx
[MS-FSSO]: File Access Services System Overview
http://msdn.microsoft.com/library/ee392367(v=PROT.10).aspx How to disable the TCP autotuning diagnostic tool
http://support.microsoft.com/kb/967475
Active Directory Servers
Active Directory Performance for 64-bit Versions of Windows Server 2003 http://www.microsoft.com/downloads/details.aspx?FamilyID=52e7c3bd-570a-475c-96e0-316dc821e3e7
How to configure Active Directory diagnostic event logging in Windows Server 2003 and in Windows 2000 Server
http://support.microsoft.com/kb/314980
Remote Desktop Session Host Capacity Planning
RD Session Host Capacity Planning in Windows Server 2008 R2 http://www.microsoft.com/downloads/details.aspx?
displaylang=en&FamilyID=ca837962-4128-4680-b1c0-ad0985939063 RD Virtualization Host Capacity Planning in Windows Server 2008 R2
http://www.microsoft.com/downloads/details.aspx?
displaylang=en&FamilyID=bd24503e-b8b7-4b5b-9a86-af03ac5332c8
Virtualization Servers
Hyper-V Dynamic Memory Configuration Guide
http://technet.microsoft.com/library/ff817651(WS.10).aspx NUMA Node Balancing
http://blogs.technet.com/b/winserverperformance/archive/2009/12/10/numa-node-balancing.aspx
Hyper-V WMI Provider
http://msdn2.microsoft.com/library/cc136992(VS.85).aspx Hyper-V WMI Classes
http://msdn.microsoft.com/library/cc136986(VS.85).aspx
Requirements and Limits for Virtual Machines and Hyper-V in Windows Server 2008 R2
http://technet.microsoft.com/library/ee405267(WS.10).aspx
Network Workload Ttcp
http://en.wikipedia.org/wiki/Ttcp
How to Use NTtcp to Test Network Performance
http://msdn.microsoft.com/windows/hardware/gg463264.aspx
Sales and Distribution Two-Tier Workload and TPC-E Workload Setting Server Configuration Options
http://go.microsoft.com/fwlink/?LinkId=98291 How to: Configure SQL Server to Use Soft-NUMA
http://go.microsoft.com/fwlink/?LinkId=98292 How to: Map TCP/IP Ports to NUMA Nodes
http://go.microsoft.com/fwlink/?LinkId=98293
ALTER SERVER CONFIGURATION SET PROCESS AFFINITY (Transact-SQL) (How to Set Process Affinity using DDL)
http://msdn.microsoft.com/library/ee210585.aspx
Best Practices for Running SQL Server on Computers That Have More Than 64 CPUs
http://msdn.microsoft.com/library/ee210547.aspx SAP with Microsoft SQL Server 2008 and SQL Server 2005:
Best Practices for High Availability, Maximum Performance, and Scalability http://www.sdn.sap.com/irj/sdn/sqlserver?rid=/library/uuid/4ab89e84-0d01-0010-cda2-82ddc3548c65