[AG-TECH] vic w2k and dual cpu

Bob Olson olson at mcs.anl.gov
Wed Apr 3 12:06:19 CST 2002


Hmm, interesting data point!

Looks like GetProcessAffinityMask and SetProcessAffinityMask are what are
needed:

http://msdn.microsoft.com/library/en-us/dllproc/prothred_20mj.asp
http://msdn.microsoft.com/library/en-us/dllproc/prothred_63vv.asp

I don't know if there's a mechanism for doing this on an unmodified
program tho.

--bob

On Wed, 3 Apr 2002, S.Booth wrote:

> 
> We have a dual cpu display node running windows 2000. 
> With a heavy load I find it MUCH better to use the task manager to set the
> cpu affinity for vic to a single cpu only.
> Tcl applications like vic seem to be unable to multi-thread and Windows
> 2000 seems to keep bouncing the process between cpus which seems to give
> the sticky window problem.
> 
> Does anyone know a way of geting vic to start with a default processor
> affinity.
> 
> 				Stephen 
> ======================================================================
> |epcc| Dr Stephen P Booth             Project Manager           |epcc|
> |epcc| s.booth at epcc.ed.ac.uk          Phone 0131 650 5746       |epcc|
> ======================================================================
> 
> 






More information about the ag-tech mailing list