Console-mode Apps May Run Slowly on Multiprocessor Computers

Last reviewed: February 27, 1998
Article ID: Q176211
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SYMPTOMS

A series of MS-DOS-based console applications may take a long time (perhaps several minutes) to complete on a multiprocessor computer. The console windows may remain blank and appear to stop responding (hang). All the applications do eventually finish, but this may take an unusual amount of time.

The same series of applications will finish in a few seconds on a single processor computer.

CAUSE

A console handle table lock is being held too long during the freeing of a console. Processing for other console-related activities is delayed while the lock is held.

The problem is not usually seen on single processor computers as a context switch to another console process is unlikely during console cleanup. On a multiprocessor computer, however, multiple console-mode processes may be executing simultaneously, which greatly increases the chance of encountering this problem.

RESOLUTION

To work around this problem, use either of the following methods:

Specify the /NUMCPU=1 option in the Boot.ini file and then restart Windows NT. This effectively downgrades the system to a single processor computer, which does not normally experience this problem.

   -or-

Obtain the following fix or wait for the next Windows NT service pack.

This fix should have the following time stamp:

   10/13/97  05:01p               175,376 winsrv.dll  (Intel)
   10/13/97  04:59p               315,152 winsrv.dll  (Alpha)

This fix modifies console handling so that the handle table lock is released during noncritical sections of console cleanup. This allows other simultaneously executing console processes to continue and finish in a reasonable time frame.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. A supported fix is now available, but has not been fully regression tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.

MORE INFORMATION

All MS-DOS console-mode applications are affected by this problem on multiprocessor computers under Windows NT 4.0. Windows applications are not affected.

This problem has been seen when attempting to start multiple PERL scripts as CGI applications run in console-mode on multiprocessor intranet web servers.


Additional query words: wedge msdos dos box cmd command multi-processor
Ntvdm vdm mp
Keywords : kbbug4.00 kbfix4.00 nt16ap ntmp NTSrvWkst kb3rdparty
Version : WinNT:4.0
Platform : winnt
Hardware : ALPHA x86
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.