Page 1 of 1

Determining which cpu performs which process in a Job

Posted: Wed Nov 21, 2007 5:03 am
by CharlesNagy
We have a multi processor setup, and would like to analyze performance per job per processor. In other words, which CPU was performing which process. I searched through historical postings on this, but all I could find was reporting by process rather than processor.

Perhaps this is not possible, but I have been tasked with finding out. Many thanks in advance.

Posted: Wed Nov 21, 2007 5:08 am
by ray.wurlod
It's not possible. DataStage does not control what process is executed by which CPU - it just starts processes. You can see how much CPU was eaten by each process in the Director (Monitor), but not on which CPU.

Posted: Wed Nov 21, 2007 6:35 am
by chulett
Never mind the fact that processes can be handed around from CPU to CPU like hot potatoes. :D Have a chat with your Sys Admin types, they should be able to explain what information you can or can't get from your system.

Posted: Wed Nov 21, 2007 7:10 am
by CharlesNagy
Thanks Guys,

I suspected as much.

Much appreciated, and I will close this topic now

Posted: Fri Nov 23, 2007 8:10 pm
by kduke
This becomes even more complicated in a cluster or grid. We are trying to figure out which machine a process or partition runs on.

Posted: Fri Nov 23, 2007 8:27 pm
by ray.wurlod
That one's easy. Just have the player processes report their pid when they start - the messages will be logged from their own node. The environment variable, from memory, is APT_PM_SHOW_PIDS.

Posted: Sun Nov 25, 2007 7:32 pm
by kduke
Thanks Ray.