How to: Examine Cache Performance By Using Performance Monitor
As an administrator for Visual Studio 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 their statistics by using Performance Monitor or the ProxyStatistics Web service. For more information about this Web service, see How to: Examine Cache Performance by Using the ProxyStatistics Web Service.
For example, you can view statistics for the following counters:
Current cache size
Total cache hits
Total download requests
Total files in cache
These statistics are saved at set 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 Team Foundation Server Proxy.
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 2008 R2
Click Start, point to Administrative Tools, and then click Performance Monitor.
The Performance Monitor window appears.
In the tree pane, expand Monitoring Tools, click Performance Monitor, right-click the graph, and then click Add Counters.
The Add Counters dialog box opens.
In the Select counters from computer list, 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, click the counters that you want to add, click Add, and then click OK.
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.