Fwd: Re: [AG-TECH] vic w2k and dual cpu

Robert Olson olson at mcs.anl.gov
Mon Oct 7 11:33:36 CDT 2002


Ran across this while looking for something else.. might be something to 
investigate further.

--bob

>Date: Wed, 3 Apr 2002 12:06:19 -0600 (CST)
>From: Bob Olson <olson at mcs.anl.gov>
>To: s.booth at epcc.ed.ac.uk
>cc: ag-tech at mcs.anl.gov
>Subject: Re: [AG-TECH] vic w2k and dual cpu
>Sender: owner-ag-tech at mcs.anl.gov
>
>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-dev mailing list