Re: [info-performer] pfMultiprocess()

Date view Thread view Subject view Author view

From: Allan Schaffer (allan++at++sgi.com)
Date: 06/05/2004 14:42:42


faculaganymede wrote:
> I always thought that
> pfMultiprocess(PFMP_APP_CULL_DRAW) means to fork the
> APP, CULL, and DRAW processes, so that APP uses one
> CPU, CULL uses another CPU, and DRAW uses yet another
> CPU. Am I not understanding this correctly?

That's generally correct. The processes are actually forked during the
subsequent call to pfConfig(), not in the call to pfMultiprocess() which just
sets the configuration.

CPU placement is dependent upon several factors: you must be running as
root, and you must call the pfuProcessManager() routines to get any placement
other than whatever the kernel decides, and the processors must not already
be restricted or isolated ('man mpadmin' to check on this).

Allan
ps. I'll be on vacation for a few weeks, see you all when I'm back..
& please watch out for each other in the meantime :-)

-- 
Allan Schaffer                                            allan++at++sgi.com
Engr. Dept. Manager, Visual Systems Group                1-650-933-2160
Silicon Graphics                                     http://www.sgi.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Jun 05 2004 - 14:42:27 PDT