How to: Create a Speech Server Performance Log

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

To capture performance data on a computer running Speech Server, you can create a performance log. A performance log collects data for specific performance objects and counters over a specified period of time.

To create a performance log, use the Performance Logs and Alerts tool, which is part of the Performance console, or the logman command. With either method, you can specify the performance objects and counters on which to collect data and the format for saving the performance log, such as the comma-delimited text format.

Creating a Speech Server Performance Log

To create a Speech Server performance log using the Performance console

  1. Choose a location in which to save all performance logs, and then create the PerfLogs directory at that location.

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

  3. In the Performance console, expand Performance Logs and Alerts, and then click Counter Logs.

    Existing logs are listed in the details pane. A green icon indicates that a log is running; a red icon indicates that a log has been stopped.

  4. Right-click Counter Logs, and then click New Log Settings.

  5. In the Name box, type the name of the counter log (such as SpeechServer), and then click OK.

  6. On the General tab, click Add Objects, which is a .csv file that can be imported into Microsoft Excel for analysis.

    Note

    The size of performance logs can grow to excessive levels. Because the computer on which you save the performance data does not have to be the computer running Speech Server, you should consider saving the performance data to a computer that is not a production computer running Speech Server.

    Note

    Typically, you create a performance log for a 24-hour period to collect data across an entire day's activity. In this case, set the sampling rate for collecting performance data to a 15-second or 30-second interval. However, if you want to extend the logging period, increase the sampling rate accordingly to keep the size of the log manageable. For example, if you want to collect data for a 1-week period, increase the sample rate to 15 minutes.

  7. Select the following counter objects, and then click Close:

    • SpeechService
    • Telephony Interface Manager Connector (if installed)
  8. Click the Log Files tab, and then select Text file (comma-delimited) in the Log file type box.

  9. Click Configure, type the name of the directory you created to save the performance logs in the Location box, and then click OK.

  10. Click the Schedule tab, specify the logging period in the Start log and Stop log boxes, and then click OK.

To create a Speech Server performance log using the command line

  1. Choose a location in which to save all performance logs, and then create the PerfLogs directory at that location.

  2. Open Notepad, and then copy and paste the following lines into a new .txt file.

    \\<serverName>\SpeechService\*
    \\<serverName>\Telephony Interface Manager Connector\*
    
  3. Replace the string <serverName> with the name of the computer running Speech Server that you want to monitor.

  4. Save the document on the computer running Speech Server using the name Counters.txt.

  5. Open a command prompt, change directory to the location of Counters.txt, and then run the following command, where outputPath is the path to the location of the PerfLogs directory that you created:

    logman create counter MSSServer -cf counters.txt -f csv -si sec:30 -o outputPath\PerfLogs

  6. Verify that the counter log was successfully created by running the following command at the command prompt:

    logman query MSSServer

  7. Start performance logging by running the following command at the command prompt:

    logman start MSSServer

  8. After the logging period (for example, 24 hours), stop performance logging by running the following command at the command prompt on the computer running Speech Server:

    logman stop MSSServer

See Also

Tasks

How to: Create a SQL Server Performance Log

Other Resources

Speech Server Performance Counters