Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1272
  • Last Modified:

DOS program, NTVDM and HyperV 2008 R2

We recently virtualized an SBS 2000 system on Windows 2008 R2 HyperV.  Everything is good except for one DOS-based accounting program - Manac - which when it initializes starts a process called NTVDM.exe which consumes a lot of CPU.  We did not have this problem prior to virtualization. Any thoughts?
0
lineonecorp
Asked:
lineonecorp
  • 5
  • 4
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
This is norma for NTVDM to start.l NTVDM is the Virtual DOS machine (VDM) is Microsoft's technology that allows running legacy DOS and 16-bit Windows programs on Intel 80386 or higher computers when there is already another operating system running and controlling the hardware.

Source:

http://en.wikipedia.org/wiki/Virtual_DOS_machine

Hyper-V tries to leverage machine consolidation by using idle processes to run many machines on a single host. This is normal behaviour for the DOS application to grab all the CPU.

There was a program called DOS IDLE (dosidle210.zip), that could help, but after searching I've not been able to find it.

This DOS application is probably not suitable for virtutualisation.




0
 
lineonecorpAuthor Commented:
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That's the application.

You could try running that in a batch/cmd file before running  Manac and see if it helps.
0
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
However, on todays, operating systems, DOSIDLE may not even run.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Keep in mind, SBS 2000 is ancient and unsupported in general.  Further, SBS 2000 and SBS 2003 are both UNSUPPORTED as VMs.  SBS 2008 and 2011 are both supported as VMs.
0
 
lineonecorpAuthor Commented:
Leew:

Yeah, I'm aware of 'unsupported'. On the other hand when they were supported I never needed support anyway. Also I've got both of them running - for years - as VMs. And thankfully I haven't needed support as well under that even more unsupported scenario.
0
 
lineonecorpAuthor Commented:
Turned out the slowness was because after the virtualization the VM was only seeing one CPU whereas it should have seen two that were allotted to it. We remedied it with a hack that refreshes the HAL to see the proper number of CPU's that are allotted to it.

Thanks for all the tips.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
So the DOS application is behaving correctly now, with 2 vCPUs?
0
 
lineonecorpAuthor Commented:
It was never really the DOS app to begin with - it was just the 'usual suspect' we honed in on. As it turned out other apps were behaving strangely as well just not as obvious. I've got DOS Idle now however for future issues - always good to get another tool in the kit bag. FYI:  the fix involved using Devcon and this script:
+++++++++
devcon sethwid @ROOT\PCI_HAL\0000 := !E_ISA_UP !ACPIPIC_UP !ACPIAPIC_UP !ACPIAPIC_MP!MPS_UP !MPS_MP !SGI_MPS_MP !SYSPRO_MP !SGI_MPS_MP > nul
devcon sethwid @ROOT\ACPI_HAL\0000 := !E_ISA_UP !ACPIPIC_UP !ACPIAPIC_UP !ACPIAPIC_MP!MPS_UP !MPS_MP !SGI_MPS_MP !SYSPRO_MP !SGI_MPS_MP > nul
devcon sethwid @ROOT\PCI_HAL\0000 := +ACPIAPIC_MP >nul
devcon sethwid @ROOT\ACPI_HAL\0000 := +ACPIAPIC_MP >nul
devcon update %windir%\inf\hal.inf ACPIAPIC_MP >nul
pause
+++++
more info here:
http://arstechnica.com/civis/viewtopic.php?f=17&t=61737&p=1826354
http://www.pimp-my-rig.com/2008/08/article-acpi-uniprocessor-to.html
0
 
lineonecorpAuthor Commented:
Advice was informative but did not lead to resolution. We discovered problem and fix independently.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now