CPU limitation when runing NTVDM

M

Matev¾

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
 
J

Joe Richards [MVP]

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
 
M

Matevz

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.
 
J

Joe Richards [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top