View Full Version : CPU limitation when runing NTVDM


Matev¾
07-04-2006, 08:12 AM
I have a users doing statistics on server. The problem is because the
statistics program is 16 bit dos program that makes 100% utilisation of CPU.
I would like to limit the CPU usage for that program.
I was searching the net for limiting CPU under NTVDM but i found nothing
usefull. So if anybody knows how to deal with this problem, please help me.
Ty

Joe Richards [MVP]
07-04-2006, 06:12 PM
100% utilization isn't bad unless it is preempting other apps. You may
want to look at reducing the priority of the process. That way it will
only run at 100% if there is nothing else to run.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



Matev¾ wrote:
> I have a users doing statistics on server. The problem is because the
> statistics program is 16 bit dos program that makes 100% utilisation of CPU.
> I would like to limit the CPU usage for that program.
> I was searching the net for limiting CPU under NTVDM but i found nothing
> usefull. So if anybody knows how to deal with this problem, please help me.
> Ty
>
>

Matevz
07-05-2006, 11:00 AM
True 100% utilization isn't bad. But may problem is that other aplications
are slow becaouse of this utilization (and this does only one user (what
about 10 or more)).
My question is how can i reduce the ntvdm.exe proces that it doesn't
consumpt all CPU time.

"Joe Richards [MVP]" <humorexpress@hotmail.com> je napisal v sporocilo
news:uFCvJ04nGHA.3440@TK2MSFTNGP04.phx.gbl ...
> 100% utilization isn't bad unless it is preempting other apps. You may
> want to look at reducing the priority of the process. That way it will
> only run at 100% if there is nothing else to run.
>
> --
> Joe Richards Microsoft MVP Windows Server Directory Services
> Author of O'Reilly Active Directory Third Edition
> www.joeware.net
>
>
> ---O'Reilly Active Directory Third Edition now available---
>
> http://www.joeware.net/win/ad3e.htm
>
>
>
> Matev¾ wrote:
>> I have a users doing statistics on server. The problem is because the
>> statistics program is 16 bit dos program that makes 100% utilisation of
>> CPU. I would like to limit the CPU usage for that program.
>> I was searching the net for limiting CPU under NTVDM but i found nothing
>> usefull. So if anybody knows how to deal with this problem, please help
>> me. Ty

Joe Richards [MVP]
07-05-2006, 04:08 PM
If other things are running slow, then it is preempting them, reduce the
priority.

Another option is to look at JOB objects but you will probably have to
write code as the only tools I recall seeing for it are available only
on Data Center Edition Windows. Even then, I don't believe it will let
you cap percentage utilization but only priority and actual run time.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



Matevz wrote:
> True 100% utilization isn't bad. But may problem is that other aplications
> are slow becaouse of this utilization (and this does only one user (what
> about 10 or more)).
> My question is how can i reduce the ntvdm.exe proces that it doesn't
> consumpt all CPU time.
>
> "Joe Richards [MVP]" <humorexpress@hotmail.com> je napisal v sporocilo
> news:uFCvJ04nGHA.3440@TK2MSFTNGP04.phx.gbl ...
>> 100% utilization isn't bad unless it is preempting other apps. You may
>> want to look at reducing the priority of the process. That way it will
>> only run at 100% if there is nothing else to run.
>>
>> --
>> Joe Richards Microsoft MVP Windows Server Directory Services
>> Author of O'Reilly Active Directory Third Edition
>> www.joeware.net
>>
>>
>> ---O'Reilly Active Directory Third Edition now available---
>>
>> http://www.joeware.net/win/ad3e.htm
>>
>>
>>
>> Matev¾ wrote:
>>> I have a users doing statistics on server. The problem is because the
>>> statistics program is 16 bit dos program that makes 100% utilisation of
>>> CPU. I would like to limit the CPU usage for that program.
>>> I was searching the net for limiting CPU under NTVDM but i found nothing
>>> usefull. So if anybody knows how to deal with this problem, please help
>>> me. Ty
>
>