Server in the Enterprise - Instruktion Lab 3


Windows NT Server Analysis and Optimization (with Performance Monitor)

In this exercise, you vill create a Performance Monitor report to determine what is causing the bottleneck in system performance. Use Lab2 files (from Enterprise CDROM).

In the second part (File and Print Server and Application Server) use Lab3 files (from Enterprise CDROM).

Determining Which Device Is the Bottleneck

· To create a report
  1. Click Start, point to Programs, point to Administrative Tools (Common), and then click Performance Monitor
  2. Size Performance Monitor so it is as large as possible, leaving enough space for Test1, and for Windows NT Task Manager at the bottom of the screen
  3. On the View menu, click Report
  4. On the Options menu click Report. The Report Options dialog box appears
  5. 5. Click Periodic Update
  6. In the Interval box, select or type 1 and then click OK
  7. On the Edit menu, click Add to Report
  8. Select each of the following objects, counters, and instances, and then click Add

    Object Counter Instance
    Processor %Processor Time 0
    Physical disk %Disk Time 0 and 1 (if applicable)
    Memory Pages/sec Not applicable

  9. When you have added the counters to the report, click Done. The Performance Monitor report aooears
  10. Use the counter values in the report to determine which device object is the bottleneck. Which counter indicates that the associated device is heavily used?

· Determining Which Process Is Causing the Processor to Bottleneck

In this exercise, you will create a Performance Monitor chart to determine what application is using all the CPU time.
  1. On the View menu, click Chart
  2. On the Options menu, click Chart. The Chart Options dialog box appears
  3. In the Gallery box, click the Histogram, and then click OK
  4. On the Edit menu, click Add to Chart
  5. Select the following object, counter, and instances, and then click Add

    Object Counter Instance
    Process %ProcessrTime APP1-1, APP1-2, APP1-3, APP1-4, APP1-5, Test1

  6. Click Done. The Performance Monitor chart appears
  7. View the chart bars, referring to the color-keyed legend at the bottom of the window
  8. Press CTRL+H. The colored graphic bar turns white when the associated counter at the bottom of the display is selected
  9. Use the UP ARROW and DOWN ARROW keys to move trough the counters associated with each application
  10. Determine which application is stressing the processor. Which application is using most of the CPU time?

· Cleaning Up the System
  1. In Task Manager, select and close Test1 and all five bacground applications. (APP1-5 might take a while to respond because it is busy)
  2. In Performance Monitor, on the File menu, click New Chart to clear the chart that is currently displayed.
  3. On the View menu, click Report. The Report view reappears
  4. Minimize Performance Monitor

· File System Caching

Preface.
  • To create the first report use file ..\Lab2\log1.log.
  • Add to Report counters from following table
  • To create the second report use file ..\Lab3\log2.log.
  • Add to Report counters from following table
  • Complete the Values column in the both tables from the values shown in the report. In the Performance Monitor Save As dialog box type log1.pmr and log2.pmr and Save

  1. Why were the fast reads and lazy writes much higher on the first test than the second test?
  2. Why was available memory much higher on the second test than the first?
  3. Why was the average disk write for the first test four times the average for the second test?
  4. Why was the percentage of processor time for user mode for the first test twice the percentage as for the second test?
  5. What conclusions can you draw from these two tests as to memory, disks and processor when it come to using file system cache?

    Object Counter Instance
    Cache Fast Reads/Sec Not Applicable
    Cache Lazy write pages/sec Not Applicable
    Memory Available Bytes Not Applicable
    Memory Cache bytes Not Applicable
    Paging file %Usage c:\pagefile.sys
    Physical Disk %Disk Time 0
    Physical Disk Avg. Disk Bytes/Read 0
    Physical Disk Avg. Disk Bytes/Write 0
    Processor %Privileged Time 0
    Processor %Processor Time 0
    Processor %User Time 0

· Analyzing Performance in a File and Print Server

· Analyzing Performance in the Application Server

Nej, jag förstår inte heller de två sista meningarna!!!