NTVDM peaks to 100% CPU utilization with DOS.

Posted on 2003-03-11
Medium Priority
Last Modified: 2013-12-28
I am in a real bind here. The environment I work in is mixed Novell 4.x and Windows NT 4 Server environment.

We are transitioning off of this 16 bit application that communicates with an old Btrieve database that resides on a Novell 4.x server.

We have shortcuts to batch file that launches a DOS app.  When the DOS box launches the processor (machines are Compaq Evo 500s 2.4Ghz) pegs out to 100% and the application just sits there. If you open up the task manager you can see the NTVDM.EXE is the process that's eating up all of the processors resources.
Question by:timrha
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8118835
Is the application actually doing anything, or has it crashed? How did you run the application before this, Win95?

Unless your application is actully malfunctioning, I wouldn't worry about it. Windows can't tell when your DOS program is actually doing something (or not), so it allows the ntvdm to have any spare time i.e. time that would otherwise be idle time. If you start another program e.g. Internet Explorer, then it should run OK, and less time is used by your DOS app.

Expert Comment

ID: 8126447
We found that this is not only a WinNT problem but also Win2000. There is a fix existing (NTVDM.EXE at Microsoft)The ntvdm update is mentioned in Microsoft KB article 320694. http://support.microsoft.com/default.aspx?scid=kb;en-us;320694.

Accepted Solution

stevemjp earned 300 total points
ID: 8127919
it's known as 'flunking'

The NTVDM is the Virtual Dos Machine which runs wowexec (Windows On Windows).

Unfortunately NT nor 2000 can run 16bit and 32bit apps at the same time very well. The processor in effect switches from 16 to 32 bit mode.

As Roly Dee suggests, open up something else and see if that runs OK.

I would suggest that you run 16bit apps on their own server. Thats the best way to optimise performance

Expert Comment

ID: 8158416
The same Procedure with an old Application from me. Detail shows that its not NTVDM, nor wowexec - its a part of the real Application.

Microsoft told me that error would disappear with SP3 for WIN2K - a Programmer told me to use the NTVDM from the .NET Server.

I´ve tried both without any Result.

Maybe with SP4, or throw away that old Application!

regards Mike

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question