Performance Issue with Multiple Instance

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
yalamanchili
Participant
Posts: 30
Joined: Fri May 26, 2006 6:01 am

Performance Issue with Multiple Instance

Post by yalamanchili »

Hi,

We had an single Interface code in production scheduled to run for Multiple Countries at the Same time. When scheduled at same time, the interface sequence is taking much more time than the normal Execution time.
After Intial analysis some problem areas were identified. I could see that in a sequence from Comepletion of One job to calling of the Next job based on trigger conditions it is waiting for 4-5 mins. This suming up and creating a large time diference at the End of Completion of sequence.

We had Ensured that no Locking is happening because of the Multiple Instance. When Interface is run for Single country it is taking 20 Mins, when run for morethan 4 countries at same time it is taking 4-5 hours for completion. In the taskmanager of server, I could able to see around 40 uvsh process generated. Does this had anything to do with the performance?

Can you please let me know your thoughts on this as i need to fix this issue in Production at the earliest
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Everyone KNOWS that a DataStage server can deliver an infinite supply of resources, right?

No-one can help you with the scant information you have provided. Are you monitoring your system? Do you know what the metrics of resource usage are (for example %Idle, PF/Sec)?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yalamanchili
Participant
Posts: 30
Joined: Fri May 26, 2006 6:01 am

Post by yalamanchili »

Hi ray,

Thanks for Replying. Let me put you simple. When I am running the Interface for Single Country, it is taking 20 Mins. If I am running the same for 15 countries, It is taking 7-8 Hrs for Completion for each country.

In the sequence i had checked timings of all Individual jobs. But all jobs are taking normal timings. Only one Observation found was from job to job calling in sequence, there was 4-5 mins difference. As the Number of Countries to be run at same time is increasing, this time is also increasing. Can you provide me any help on this.

Please do let me know if any further information is required.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Match your demand to what can be supplied. If your server doesn't have the resources to run those jobs in parallel, sounds like you'd be better off running serial - at least those 15 would finish in 5 hours that way. Or run fewer simultaneous instances.
-craig

"You can never have too many knives" -- Logan Nine Fingers
yalamanchili
Participant
Posts: 30
Joined: Fri May 26, 2006 6:01 am

Post by yalamanchili »

Hi,

Previously we had 15 different projects for 15 countries in production. At that point of time, we used to Schedule all the 15 countries at same time. we Faced no such issues with the Interface run. But due to maintanace problems we are asked to move to single datastage project for all 15 countries.

Now as we have limited bandwidth window to run interface for all the countries. We had to schedule interface run for some countries in parallel, which is causing problems.

Can you please suggest what needs to be done. Will the single project appraoch will have any impact on performance.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The single approach is immaterial. You are trying to run 15 sets of jobs in parallel (whether from one project or from 15) and don't have the server resources to do so. Experiment and monitor; maybe you have the resources to run two or three simultaneously.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yalamanchili
Participant
Posts: 30
Joined: Fri May 26, 2006 6:01 am

Post by yalamanchili »

Hi,

I have been monitoring the CPU utilization on server. when Interface sequence is running for multiple countries at same time, i could see CPU utilization is less than 10 percent.

So i can say it is not problem with server handling the resources. Can anyone suggest performance tuning steps like deletion of log files etc that need to performed before running the interface for multiple countries at same time.

Also please let me know what could be probable reason for Interface sequence becoming slow.
sima79
Premium Member
Premium Member
Posts: 38
Joined: Mon Jul 16, 2007 8:12 am
Location: Melbourne, Australia

Post by sima79 »

I think you need to identify the bottleneck first before looking for possible solutions. What is your job doing? Are you connecting to any remote databases? What is your network configuration?
Kryt0n
Participant
Posts: 584
Joined: Wed Jun 22, 2005 7:28 pm

Post by Kryt0n »

I think what they are trying to ask is whether there are any DataStage (or UNIX?) settings that restrict how much resources one project can use.

If 15 projects can run concurrently with no performance issues then why can't 15 jobs within one project...
yalamanchili
Participant
Posts: 30
Joined: Fri May 26, 2006 6:01 am

Post by yalamanchili »

Hi Seema,

Thanks for the Reply. The only problem i have identified is calling of Individual jobs in sequence.

Detail Description of Sequence:

1. Sequence has around 80 jobs with Multiple Instance property checked
2. Sequence when executed for 1 country taking 20 Min ( Specifies job execution is not taking much time)
3. Sequence when run for more than 4 countries at same time is taking around 7 hours for each country.
-- Actual job runs in sequence is taking only 30 Min out of these 7 hours per country
--After completion of One job in sequence, and before starting of next job there is a gap of around 5 Min when Multiple country Execution is going on.
---- This gap is summing up and creating 6.5 hours of blank time in sequence execution.

Can you please share your thoughts on this issue.

Please do let me know if any further information is required from my side.

Regards,
Y.Kiran
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post by Mike »

Go back and reread Ray's post... You don't have the server resources to support the demanded workload. CPU is but one type of resource. You need to find the resource that is your bottleneck.

Mike
Post Reply