How to: Examine Cache Performance By Using Performance Monitor
As an administrator for Visual Studio Team System Team Foundation Server, you might want to examine the performance of the version control cache on a computer that is running Team Foundation Server or Team Foundation Server Proxy. By default, performance counters are installed, and you can view statistics for these counters by using Performance Monitor or the ProxyStatistics Web service. For more information about the ProxyStatistics Web service, see How to: Examine Cache Performance by Using the ProxyStatistics Web Service.
For example, you can view the following performance counters:
Current cache size
Total cache hits
Total download requests
Total files in cache
These statistics are saved at regular intervals to the ProxyStatistics.xml file. For information about how to change the length of the intervals and other cache settings, see How to: Change Cache Settings for an Application-Tier Server or How to: Change Cache Settings for Team Foundation Server Proxy.
Required Permissions
To perform this procedure, you must be a member of the Performance Monitor Users security group on the computer whose performance you want to monitor.
To view cache performance on Windows Server 2003
Click Start, point to Administrative Tools, and then click Performance.
The Performance window appears.
In the tree pane, expand Console Root, and then click System Monitor.
Press CTRL+I to open the Add Counters dialog box, click Select counters from computer, and make sure that the name of the computer whose performance you want to monitor appears. Otherwise, type or click the name of that computer.
In the Performance object box, click TFS Proxy Server.
Perform one of the following steps:
To specify all counters, click All counters, click Add, and then click Close.
To specify individual counters, click Select counters from list, select the counters that you want to add, click Add, and then click Close.
Note
To specify a continuous range of counters, press and hold the SHIFT key when you click the first and last counter in the range. To specify a discontinuous range, press and hold the CTRL key when you click each counter.
The performance counters for the cache appear in the viewing pane.
To view cache performance on Windows Server 2008
Click Start, point to Administrative Tools, and then click Reliability and Performance Monitor.
The Reliability and Performance Monitor window appears.
In the tree pane, expand Monitoring Tools, and then click Performance Monitor.
Press CTRL+I to open the Add Counters dialog box.
In Select counters from computer, make sure that the name of the computer whose performance you want to monitor appears. Otherwise, type or click the name of that computer.
In the Available counters list, double-click TFS Proxy Server.
The performance counters for this object appear and are automatically selected.
Perform one of the following steps:
To specify all counters, click Add, and then click OK.
To specify individual counters, select the counters that you want to add, click Add, and then click OK.
Note
To specify a continuous range of counters, press and hold the SHIFT key when you click the first and last counter in the range. To specify a discontinuous range, press and hold the CTRL key when you click each counter.
The performance counters for the cache appear in the viewing pane.
See Also
Tasks
How to: Examine Cache Performance by Using the ProxyStatistics Web Service
Troubleshooting Team Foundation Server Proxy