Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@cs.helsinki.fi>
Subject: Re: ev4sched---here it is
Date: Thu, 2 May 1996 12:02:42 +0300 (EET DST)	[thread overview]
Message-ID: <8bfbd390badbb6554d688bc3b9f58479.axp-list@archive.invalid> (raw)
In-Reply-To: <9605020839.AA04011@nova.tat.physik.uni-tuebingen.de>

> the following example shows that even these 20% are by far not enough:
> here are cpu times for this fortran program (~20k lines) using f2c to
> convert it to C (~40k lines) and then using either gcc-2.7.1 or the 
> DEC cc from DEC UNIX 3.2 or similar (I have to check this again).
> both (static) binaries are then run on my XL266 on Linux.
> 
>      gcc -O3        1556.99 secs
>      cc -O3          824.56 secs
> 
> this almost a factor of TWO:-(

Have you tried to profile this? The difference might be partly in the
libraries, so if the "cc" version is also using DEC libraries (likely), then it
might be due to that.

Admittedly gcc is pretty bad at some things, and floating point is not the
strongest point of gcc, so it _may_ be due to just compilers..

		Linus

  reply	other threads:[~1996-05-02  9:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-24 15:15 ev4sched---here it is David Mosberger-Tang
1996-04-30  6:19 ` Harald Koenig
1996-04-30  7:59   ` Richard Henderson
1996-05-02  8:43 ` Harald Koenig
1996-05-02  9:02   ` Linus Torvalds [this message]
1996-05-02 15:16   ` Erik Troan
  -- strict thread matches above, loose matches on Subject: below --
1996-04-24 18:31 Stephen J. Gaudet
1996-05-02 15:32 David Mosberger-Tang
     [not found] <ML-2.2.831027762.3978.torvalds@linux.cs.helsinki.fi>
1996-05-02 15:54 ` Harald Koenig
1996-05-02 16:31   ` Richard Henderson
1996-05-02 16:28 David Mosberger-Tang
1996-05-02 17:10 David Mosberger-Tang
     [not found] <Pine.LNX.3.91.960502111441.7441C-100000@elroy.redhat.com>
1996-05-02 16:21 ` Harald Koenig
1996-05-02 17:16 ` Jim Paradis
1996-05-02 20:23 Toon Moene
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox