home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q110 / 9 / 54.TXT < prev    next >
Encoding:
Text File  |  1994-02-05  |  3.1 KB  |  80 lines

  1. DOCUMENT:Q110954  04-FEB-1994  [W_NT]
  2. TITLE   :Performance Monitor CPU Utilization May Be Incorrect
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. Performance Monitor does not correctly calculate CPU Idle time for 16-bit
  19. applications.
  20.  
  21. MORE INFORMATION
  22. ================
  23.  
  24. When you monitor the Percent Total Processor Time counter under the System
  25. object in Performance Monitor and a 16-bit application is the current
  26. window, Performance Monitor incorrectly reports processor usage at 100
  27. percent.
  28.  
  29. The documentation for Performance Monitor says that Percent Total Processor
  30. Time is the average percentage of time that all the processors on the
  31. system are busy executing non-idle threads. When a 16-bit application is
  32. the current window, however, this counter totals the busy and idle time
  33. together, which makes the results almost meaningless.
  34.  
  35. Steps to Reproduce Problem
  36. --------------------------
  37.  
  38. (NOTE: This test requires the QSLICE.EXE program from the Windows NT
  39. Resource Kit. You can also reproduce this problem by using Performance
  40. Monitor and adding the Percent Total Processor Time counter under the
  41. System object.)
  42.  
  43. 1. Start QSLICE and WRITE, arranging both windows so that they are visible
  44.    on the screen at the same time.
  45.  
  46. 2. Monitor the NTVDM.EXE entry in QSLICE. If you do nothing in WRITE, this
  47.    counter shows little or no processor activity.
  48.  
  49. 3. Type some text into WRITE and notice that the CPU utilization for NTVDM
  50.    jumps upwards.
  51.  
  52. This CPU utilization stays high until you move the focus away from WRITE.
  53. Even if you do not type anything, and WRITE is essentially idle, this
  54. utilization stays high. This is incorrect.
  55.  
  56. Microsoft has confirmed this to be a problem in Windows NT and Windows
  57. NT Advanced Server version 3.1.  We are researching this problem and
  58. will post new information here in the Microsoft Knowledge Base as it
  59. becomes available.
  60.  
  61. Additional reference words: 3.10 perfmon
  62. KBCategory:
  63. KBSubCategory: 32ap
  64.  
  65.  
  66. =============================================================================
  67.  
  68. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  69. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  70. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  71. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  72. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  73. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  74. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  75. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  76. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  77. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  78. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  79.  
  80. Copyright Microsoft Corporation 1994.