Does DS uses 2 processors on the same machine ?

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
raju_chvr
Premium Member
Premium Member
Posts: 165
Joined: Sat Sep 27, 2003 9:19 am
Location: USA

Does DS uses 2 processors on the same machine ?

Post by raju_chvr »

Does DS uses 2 processors on the same machine ?

I have a win 2000 server with 2 processors on borad. Was just wondering when I run the jobs does DS server uses the second processor or not ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Quite probably.
DataStage generates a process to run the job, and possibly (probably) other processes to execute active stages (such as Transformer stages). The operating system is likely to allocate multiple processes to multiple CPUs. Of course, on a Windows machine, there will be many other demands for CPU resources (look in Task Manager).
DataStage itself can not control the allocation of CPUs in version 5.x server jobs.

(The story changes in your future, when the DataStage licensing model changes so that it is licensed for a maximum number of CPUs rather than for a maximum number of projects. It remains true that DataStage does not control the allocation of particular CPUs, but it will impose an upper limit on the number of CPUs used based on the number specified in your licensing.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

You are using DataStage 5.x. This means that the jobs are single threaded, and have no inter-process stages. Because of this, a job will use only a single cpu. Run two jobs at the same time, you can use two cpus. If a job spends 1/4 the time on cpu #1 and 3/4 of the time on cpu #2, that's up to the operating system, but it will not use more than 4/4 of a cpu. If a job only needs 1/2 of a cpu, and you run a second job at the same time that only needs 1/4 of a cpu, it's still up to the OS to decide which cpu does which particular slice of work. Under later releases of DataStage, you do have the opportunity to have multiple processors actively helping in the work that a job does. There's no configuration for DataStage to limit or force cpu usage, that's completely up to the discretion of the OS.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
raju_chvr
Premium Member
Premium Member
Posts: 165
Joined: Sat Sep 27, 2003 9:19 am
Location: USA

Post by raju_chvr »

Got that .. now we are in the process of upgrading the DS to DS 7.0.

What will be the scenario in this case? Will DS allocate the tasks to 2 CPU's or still leave it upto OS to decide it ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Still pretty much up to the O/S and the new licensing model will mean that while your Project counts are now "unlimited", your CPU usage is now limited to your license count.

You'll be able to spread a single job across multiple CPUs by leveraging IPC at the job level or via the use of the new IPC stage. Check out the docs for the low-down on that new feature.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply