Operating System - Linux
1829625 Members
1572 Online
109992 Solutions
New Discussion

Re: gmake taking more time on one machine

 
nayeem khan
Occasional Advisor

gmake taking more time on one machine

Hi

We are using two boxes for building our product
BOX1:bnhpqa07->for local build
BOX2:bnhppd04-> for production build

When i compile a module on both boxes(here its same code and same .mak file) box 2 takes more time
box1=takes 5 min
box2=takes 45 min
----------------------------------------
box1 configuration

aCC=aCC: HP aC++/ANSI C B3910B A.05.50 [May 15 2003]
OS=HP-UX bnhpqa07 B.11.23 U ia64 2040385215 unlimited-user license
gmake=GNU Make version 3.78.1, by Richard Stallman and Roland McGrath
---------------------------------------------
box 2 configuration
aCC=HP aC++/ANSI C B3910B A.05.50 [May 15 2003]
OS=HP-UX bnhppd04 B.11.23 U ia64 3483890728 unlimited-user license
gmake=GNU Make version 3.78.1, by Richard Stallman and Roland McGrath
------------------------------------------------
because of this time increase in each module,whole product build takes around 24 hours on box 2

can anygive me some hint ,only diff between boxes is that box 2 is on high OS patch.

from
nayeem khan
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: gmake taking more time on one machine

Shalom,

model command.

Memory and number of cpu's makes a huge difference with compiles.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Nikitka
Honored Contributor

Re: gmake taking more time on one machine

Hi,

please check:
- is there a difference in file access (local or remote via NFS)
- are the build steps for a production build different or requires a production build more build steps (e.g. creating labels in CM system,...)?

mfG Peter

Of course HW matters, as Steven told!
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Dennis Handly
Acclaimed Contributor

Re: gmake taking more time on one machine

(A.05.50 is obsolete and no longer supported. The latest is A.06.14.)

As SEP mentioned, how many CPUs?

>SEP: model command.

A more helpful command is: machinfo

model is only helpful if you have a secret decoder ring or are comparing for equality. :-)

What opt level is used? This makes a big difference if you don't have the same amount of CPUs and memory.