On Tue, Jun 15, 1999 at 10:01:04AM -0700, Mersenne Digest wrote:
>I wonder if there is any way to tell winNT to give NTprime six times as much
>cpu-time as proth and still have them both to be idle-priority so they dont
>disturb my other activities??

I'm not sure why you want to run two different projects. I'm afraid you'll
have to choose -- running them both at the same time will make _both_ slower
(due to increased OS overhead).

>Ex.  33% of cpu-power regardless if the load on the system is otherwise
>0% or 100%

The only way I could think of was (re)writing the program so it would only
use 1/3rd of the CPU time it was `awarded' (possibly via Sleep() or any
other evil Win32 API call), and then set it to `real-time' priority. Then
NT would try to give it 100% CPU time, and it would only use 33% of it.

Still, I think running one program, at idle priority, is the best thing to
do. (What if you had 70% idle time? Your program would still only be using
33%, unless you really ran two different programs.)

/* Steinar */
________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm

Reply via email to