4 nodes 10 stages

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
bhaggu
Participant
Posts: 14
Joined: Tue Jan 23, 2007 10:04 pm

4 nodes 10 stages

Post by bhaggu »

i have 4 nodes in my config file and 10 stages,so how many prosessors do i need?
Ultramundane
Participant
Posts: 407
Joined: Mon Jun 27, 2005 8:54 am
Location: Walker, Michigan
Contact:

Re: 4 nodes 10 stages

Post by Ultramundane »

one
mctny
Charter Member
Charter Member
Posts: 166
Joined: Thu Feb 02, 2006 6:55 am

Re: 4 nodes 10 stages

Post by mctny »

bhaggu wrote:i have 4 nodes in my config file and 10 stages,so how many prosessors do i need?
more than zero
Thanks,
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Are you both having fun with the poor guy :wink:
Bhaggu, what exactly do you want to know. A single processor is required for your stuff to execute. In px jobs, the number of processors is irrelevent per se. Its the number of nodes that decides how much parallelism will be incorporated.
Is this an interview question :roll: ?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
mctny
Charter Member
Charter Member
Posts: 166
Joined: Thu Feb 02, 2006 6:55 am

Post by mctny »

No no , not trying to have fun with him, but really the answer to his question is , any number of processors ( except zero) is fine.

I think ( it is just a guess), it is an interview question and what he is trying to ask is how many PROCESS will there be during the run time?

Is it what you are trying to ask?
Thanks,
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Zero processors is OK too. Comes under the heading of getting a life.

The number of nodes in the configuration file determines the degree of parallelism. At a simple level, each stage generates one operator (player process) per node, there is one section leader process per node, and there is one conductor process. With 10 stages, that comes to 45 processes. If they are all sufficiently lightweight, one CPU might be able to cope.

This simple explanation rarely holds, as several optimizations might take place, including operator combination (more than one operator in a single player process), composite operators (more than one operator for a single stage), removal of redundant operators, insertion of tsort and buffer operators.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
csrazdan
Participant
Posts: 127
Joined: Wed May 12, 2004 6:03 pm
Location: Chicago IL

Post by csrazdan »

You will have -
Controller Process = 1 for the job
Section Leader = 1 per node = 4
Player = 1 per node per stage = 1*4*10 = 40

You will have total 45 processes for this job.

Hope it helps...
Assume everything I say or do is positive
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

Post by splayer »

csrazdan, I thought the Section Leader process is one of the 10 player processes? Is it not?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It is not.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

Hi All

Can i know what are these section leaders and players etc...
RD
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes.

And it's all in the manuals.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply