On Friday 27 October 2006 07:41, Moreton, Peter wrote:
>
> I was wondering if George W might consider including some extra logic in
> the next version of P95 to cause it to 'back-off' the CPU under some
> circumstances. One might define a configuration flag to turn on this
> feature, say 'niceflag' meaning 'be nice to the other processes'.
>
Surely that exists already - an option to sleep for x milliseconds between 
iterations, giving the OS and/or foreground applications an opportunity to 
"recover".

Throttle=x

in prime.ini: see undoc.txt included in the distribution zip / self-installing 
executable file.

There is also an option (maybe applicable only to linux versions) to suspend 
mprime when the load factor (average number of processes in the compute 
queue) exceeds a certain value, resurrecting mprime again when the load 
factor has reduced enough.

Regards
Brian Beesley
_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to