🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
5 messages
5 total messages Started by Rajesh Radhakrishnan Wed, 02 May 2001 15:21
g++: create_executable_time(Solaris) > create_executable_time(Linux)
#3574
Author: Rajesh Radhakrishnan
Date: Wed, 02 May 2001 15:21
14 lines
1660 bytes
Hi,

Any of you noticed why it takes g++ far less time to create the
executable on Linux machines than on Solaris. Its gets more annoying
when the source gets biggger.

Solaris: If you create the executable on /tmp, then its faster. 

Any ideas on why this happens...

apologies if this is off-topic.

Thanks
Rajesh
Re: g++: create_executable_time(Solaris) > create_executable_time(Linux)
#3575
Author: Mathew Kirsch
Date: Wed, 02 May 2001 19:49
13 lines
1754 bytes
Rajesh Radhakrishnan wrote:
> Any of you noticed why it takes g++ far less time to create the
> executable on Linux machines than on Solaris. Its gets more annoying
> when the source gets biggger.

You could potentially be comparing apples to moon rocks here.

What is the specification for the system running Solaris?
What is the specification for the system running Linux?

I mean, a 1.5GHz Pentium 4 running Linux versus an Ultra 1 running Solaris, of
course Linux is going to beat the pants off Solaris. The only way you can
compare with any accuracy is by using the exact same box for both measures.
Re: g++: create_executable_time(Solaris) > create_executable_time(Linux)
#3576
Author: kyork
Date: Wed, 02 May 2001 20:11
23 lines
1956 bytes
Greetings,

Rajesh Radhakrishnan wrote:
> 
> Hi,
> 
> Any of you noticed why it takes g++ far less time to create the
> executable on Linux machines than on Solaris. Its gets more annoying
> when the source gets biggger.
> 
> Solaris: If you create the executable on /tmp, then its faster.
> 

Just a guess (though a later message that suggests there is no way to
compare without more information):

since you notice creating the executable on /tmp is faster, I'm guessing
your normal build directly is some kind of remote (NFS?) mount in which
case you will be severely impacted by network speed.

-- 
Kyle A. York
Sr. Subordinate Grunt
Re: g++: create_executable_time(Solaris) > create_executable_time(Linux)
#3577
Author: RaRa Rasputin
Date: Thu, 03 May 2001 12:34
17 lines
1800 bytes
In the last exciting episode of comp.unix.programmer,
Rajesh Radhakrishnan said:

> Hi,
> 
> Any of you noticed why it takes g++ far less time to create the
> executable on Linux machines than on Solaris. Its gets more annoying
> when the source gets biggger.
> 
> Solaris: If you create the executable on /tmp, then its faster. 
> 
> Any ideas on why this happens...

/tmp is a memeory filesystem?

-- 
Rasputin :: Jack of All Trades - Master of Nuns ::
Re: g++: create_executable_time(Solaris) > create_executable_time(Linux)
#3578
Author: Philip Brown
Date: Thu, 03 May 2001 16:55
21 lines
2063 bytes
On Wed, 02 May 2001 11:21:14 -0400, rradh@yahoo.com wrote:
>Hi,
>
>Any of you noticed why it takes g++ far less time to create the
>executable on Linux machines than on Solaris. Its gets more annoying
>when the source gets biggger.
>
>Solaris: If you create the executable on /tmp, then its faster. 
>
>Any ideas on why this happens...

The solaris ld does a sync to disk, for some odd reason. so that slows
things down. likewise for the solaris assembler, I believe.
it has been reported that if you install and use the GNU 'ld' and 'as', 
then it rusn at comparable speed.

-- 
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads