[info-performer] how to get cull_sidekick to work?

Date view Thread view Subject view Author view

From: M. Kragtwijk (M.Kragtwijk++at++rc.rug.nl)
Date: 07/10/2003 05:10:55


I'm trying to get the CULL helper processes to work on our 16-CPU Onyx (IR3, IRIX
6.5.20, Performer 3.0.1). However, it seems as if the processes are not started at all.
Here's a code fragment that shows what I've added to the C++-perfly source:

from perfly.C:

void
initConfig(void)
{
    int numCalli;
    if (ViewState->startCallig)
    {
        /* lets start the calligraphic boards if any */
        numCalli = StartCalligraphic(NumPipes);
        pfNotify(PFNFY_NOTICE, PFNFY_RESOURCE,
            "InitConfig() - found %d calligraphic board(s)", numCalli);
        if (numCalli)
            ViewState->calligBoard = 1;
        else
            ViewState->calligBoard = 0;
    }

    // our new additions:
    pfMultithread(0, PFPROC_CULL_SIDEKICK, 2); // pipenr, stage, nrofprocs
    pfMultithread(1, PFPROC_CULL_SIDEKICK, 2); // pipenr, stage, nrofprocs
    pfMultithread(2, PFPROC_CULL_SIDEKICK, 2); // pipenr, stage, nrofprocs
}

When I run it, I get the following messages:

PF Info(2): All 16 processors available on this machine.
PF Info: DBASE Process 207124 running on CPU 0.
PF Info: ----------- Performer Process State --------
PF Proc: APP pid:206860
PF Proc: ISECT pid:207105
PF Proc: DBASE pid:207124
PF Proc: CLOCK pid:207028
PF Proc: COMPUTE pid:206860
PF Proc: SYNC pid:0
PF Pipe Proc: CULL Pipes:3
PF Proc: CULL Pipe:0 pid:207032
PF Proc: CULL Pipe:1 pid:207020
PF Proc: CULL Pipe:2 pid:207039
PF Pipe Proc: DRAW Pipes:3
PF Proc: DRAW Pipe:0 pid:207047
PF Proc: DRAW Pipe:1 pid:207063
PF Proc: DRAW Pipe:2 pid:207070
PF Pipe Proc: LPOINT Pipes:3
PF Proc: LPOINT Pipe:0 pid:0
PF Proc: LPOINT Pipe:1 pid:0
PF Proc: LPOINT Pipe:2 pid:0
PF Pipe Proc: CULL_SIDEKICK Pipes:3
PF Thread Proc: CULL_SIDEKICK Pipe:0 Threads:2
PF Proc: CULL_SIDEKICK Pipe:0 pid:0
PF Proc: CULL_SIDEKICK Pipe:0 Thread:0 pid:0
PF Proc: CULL_SIDEKICK Pipe:0 Thread:1 pid:0
PF Thread Proc: CULL_SIDEKICK Pipe:1 Threads:2
PF Proc: CULL_SIDEKICK Pipe:1 pid:0
PF Proc: CULL_SIDEKICK Pipe:1 Thread:0 pid:0
PF Proc: CULL_SIDEKICK Pipe:1 Thread:1 pid:0
PF Thread Proc: CULL_SIDEKICK Pipe:2 Threads:2
PF Proc: CULL_SIDEKICK Pipe:2 pid:0
PF Proc: CULL_SIDEKICK Pipe:2 Thread:0 pid:0
PF Proc: CULL_SIDEKICK Pipe:2 Thread:1 pid:0
PF -------------------------------------------

The 'pid=0' clearly indicates that something is wrong here...
By the way, the same thing happens when I run the 'standard' perfly.
Do I have to do something to explicitely 'enable' the forking of the sidekick processes?
Or is something else wrong?

Thanks for any help,

Martijn Kragtwijk


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jul 10 2003 - 05:12:43 PDT