Improve compilation speeds on 8.7

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
DSUser2000
Participant
Posts: 42
Joined: Tue Oct 20, 2009 8:36 am

Improve compilation speeds on 8.7

Post by DSUser2000 »

We are migrating from Datastage 7.5 (AIX 5.3, XL C 8.0) to 8.7 (AIX 7.1, XL C 11.1) and are experiencing quite long compile times. As far as I can see, it's not client related but the time seems to be rather spent by the XL C compiler process on AIX. Is there anthing known on how to improve compilation speed under 8.7? All suggestions are welcome.
pandeesh
Premium Member
Premium Member
Posts: 1399
Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU

Post by pandeesh »

Are you compiling individual jobs or using bulk compile option?
i prefer using bulk compile for compiling large number of jobs.

Thanks,
pandeesh
pandeeswaran
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

1) Reduce the number of transformers in the jobs--each one is a separate compilation process
2) Turn down compiler optimization options so the compiler spends less time trying to optimize transformer executable code
3) Get a bigger/faster machine to compile on :)

I don't recall the options to set for #2 (maybe something related to -O)...you will have to look into the compiler documentation, but perhaps someone else here has done similar recently. You set the options in the APT_COMPILEOPT environment variable in DataStage Administrator.

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
DSUser2000
Participant
Posts: 42
Joined: Tue Oct 20, 2009 8:36 am

Post by DSUser2000 »

Compile options are pretty much at standard for 8.7, almost the same as suggested here.

Code: Select all

APT_COMPILEOPT -O -q64 -c
APT_LINKOPT -G -q64
Under 7.5 we have:

Code: Select all

APT_COMPILEOPT -O -c -qspill=32704
APT_LINKOPT -G
So difference is the qspill (but conforming to docs that should be only set when code doesn't compile at all) and 64 Bit but I'm not sure if it is a good idea to deactivate this.

Compilation is done for a single job in designer but it also counts up similarly for our batch compilation where we call datastage from command line. The tested job is quite simple and takes twice the time (20s instead of 10s) and with lots of jobs, this sums up to quite some problem...
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

Check with IBM for possible known issues and resulting patches. During our install and migration to 8.7, we had several general performance issues with some of them related to the Oracle backbone. Multi-job compiling was not used for a period until they announced that it was okay. We had a bad time with imports, too.

I regret I can't give you internal details on that. I would be surprised if IBM didn't have something useful for you from their end.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
Post Reply