Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
How to: Examine Cache Performance By Using Performance Monitor

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

  1. Click Start, point to Administrative Tools, and then click Performance.

    The Performance window appears.

  2. In the tree pane, expand Console Root, and then click System Monitor.

  3. 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.

  4. In the Performance object box, click TFS Proxy Server.

  5. 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.

      NoteNote:

      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

  1. Click Start, point to Administrative Tools, and then click Reliability and Performance Monitor.

    The Reliability and Performance Monitor window appears.

  2. In the tree pane, expand Monitoring Tools, and then click Performance Monitor.

  3. Press CTRL+I to open the Add Counters dialog box.

  4. 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.

  5. In the Available counters list, double-click TFS Proxy Server.

    The performance counters for this object appear and are automatically selected.

  6. 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.

      NoteNote:

      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.

Community Additions

ADD
Show:
© 2015 Microsoft