Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* EGCS/X/RH5.1
@ 1998-05-30 20:39 Dave Gilbert
  1998-06-02 22:32 ` EGCS/X/RH5.1 Richard Henderson
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Gilbert @ 1998-05-30 20:39 UTC (permalink / raw)
  To: axp-list

Hi,
  I think the result of previous questions about whether RH were using
EGCS for compiling RH5.1 itself was yes for applications.  (If I'm
wrong please correct me).

  Anyway, as far as I can tell using the latest hot off the press EGCS
to built XFree for my Matrox produces corrupted text fonts when I exit
X. This has always happened with EGCS, but I'd hoped the latest
XFree patches (which I applied) would have cured this (they mention
fixes for build problems in GCC 2.8.1). If this is the case what have
RH done for RH5.1?

  While were on the RH/EGCS question - if they have used EGCS which
processor was it configured for?

(Incidentally the latest EGCS (with its new optimisations) appears to
produce code slightly slower than its immediate predecessor; and like its
previous predecessor also ABORTs (Sig 6) when trying to build Povray).

Dave

 --------------------------------------------------------------------
/ Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
\   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
 \____________________________|___ http://www.treblig.demon.co.uk __/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: EGCS/X/RH5.1
  1998-05-30 20:39 EGCS/X/RH5.1 Dave Gilbert
@ 1998-06-02 22:32 ` Richard Henderson
  1998-06-03  3:22   ` EGCS/X/RH5.1 Wes Bauske
  1998-06-03  9:15   ` EGCS/X/RH5.1 David Alan Gilbert
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Henderson @ 1998-06-02 22:32 UTC (permalink / raw)
  To: axp-list

On Sat, May 30, 1998 at 09:39:54PM +0100, Dave Gilbert wrote:
>   Anyway, as far as I can tell using the latest hot off the press EGCS
> to built XFree for my Matrox produces corrupted text fonts when I exit
> X. This has always happened with EGCS, but I'd hoped the latest
> XFree patches (which I applied) would have cured this (they mention
> fixes for build problems in GCC 2.8.1). If this is the case what have
> RH done for RH5.1?
[...]
> (Incidentally the latest EGCS (with its new optimisations) appears to
> produce code slightly slower than its immediate predecessor; and like its
> previous predecessor also ABORTs (Sig 6) when trying to build Povray).

May I take a moment to remind folks that properly reporting EGCS
problems to egcs-bugs@cygnus.com is much more likely to produce
results than mentioning them here.


r~


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: EGCS/X/RH5.1
  1998-06-02 22:32 ` EGCS/X/RH5.1 Richard Henderson
@ 1998-06-03  3:22   ` Wes Bauske
  1998-06-03  5:35     ` EGCS/X/RH5.1 Richard Henderson
  1998-06-03  9:15   ` EGCS/X/RH5.1 David Alan Gilbert
  1 sibling, 1 reply; 7+ messages in thread
From: Wes Bauske @ 1998-06-03  3:22 UTC (permalink / raw)
  To: axp-list@redhat.com

Richard Henderson wrote:
> 
> On Sat, May 30, 1998 at 09:39:54PM +0100, Dave Gilbert wrote:
> >   Anyway, as far as I can tell using the latest hot off the press EGCS
> > to built XFree for my Matrox produces corrupted text fonts when I exit
> > X. This has always happened with EGCS, but I'd hoped the latest
> > XFree patches (which I applied) would have cured this (they mention
> > fixes for build problems in GCC 2.8.1). If this is the case what have
> > RH done for RH5.1?
> [...]
> > (Incidentally the latest EGCS (with its new optimisations) appears to
> > produce code slightly slower than its immediate predecessor; and like its
> > previous predecessor also ABORTs (Sig 6) when trying to build Povray).
> 
> May I take a moment to remind folks that properly reporting EGCS
> problems to egcs-bugs@cygnus.com is much more likely to produce
> results than mentioning them here.
> 
>

Not to bring up an old discussion, but, a programmer tends to ask
around about what other people are experiencing with the same SW
before deciding to bother the maintainer of the SW. The maintainer
may decide that it's a bug report when a question about observed
bad behavior is discussed but it isn't necessarily so. I
prefer to confirm a problem among 'birds of a feather' before
bringing the problem to the attention of the person who claims
responsibility for the SW. For example, if I happened to also
see SIG 6 in my work, I'd probably chime in to the poster and
encourage them to bring the bug forward or do it myself. Since
I haven't had that problem, I have no comments about the symptoms.

However, I too have noticed performance degrade from the original
promising results back in November. That has been offset by
bug fixes so it's a trade off about whether to bother anyone
about it. For now, I'll wait on the next release and see how it
works when it becomes available. I assume the maintainers know
performance is important and it will improve over time. There
are a couple standard ways to test it so my telling them my
code isn't performing fast enough is not going to help.

My $.02.


Wes


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: EGCS/X/RH5.1
  1998-06-03  3:22   ` EGCS/X/RH5.1 Wes Bauske
@ 1998-06-03  5:35     ` Richard Henderson
  1998-06-03  8:07       ` EGCS/X/RH5.1 Wes Bauske
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Henderson @ 1998-06-03  5:35 UTC (permalink / raw)
  To: axp-list

On Wed, Jun 03, 1998 at 03:22:58AM +0000, Wes Bauske wrote:
> I assume the maintainers know performance is important and it will
> improve over time. There are a couple standard ways to test it so
> my telling them my code isn't performing fast enough is not going to help.

Actually, it will.  I typically run Spec95 every week or so, and
am currently seeing no regressions from egcs-1.0.3 to the latest
snapshot.  So if you are seeing regressions, they should be brought
to our attention, preferably with self-contained test cases.


r~


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: EGCS/X/RH5.1
  1998-06-03  5:35     ` EGCS/X/RH5.1 Richard Henderson
@ 1998-06-03  8:07       ` Wes Bauske
  0 siblings, 0 replies; 7+ messages in thread
From: Wes Bauske @ 1998-06-03  8:07 UTC (permalink / raw)
  To: axp-list@redhat.com

Richard Henderson wrote:
> 
> On Wed, Jun 03, 1998 at 03:22:58AM +0000, Wes Bauske wrote:
> > I assume the maintainers know performance is important and it will
> > improve over time. There are a couple standard ways to test it so
> > my telling them my code isn't performing fast enough is not going to help.
> 
> Actually, it will.  I typically run Spec95 every week or so, and
> am currently seeing no regressions from egcs-1.0.3 to the latest
> snapshot.  So if you are seeing regressions, they should be brought
> to our attention, preferably with self-contained test cases.
> 
>

Spec95 is good. Also run Linpack in FORTRAN and C.
I've found Linpack is quite good at predicting how well
tuned code will run. Compare the Alpha result to
DEC UNIX, SGI IRIX, and RS/6000 AIX. Those systems have
good compilers/performance.

To give you an idea what I'm doing, my tests use the following:

Input dataset: 2.6 GB per run
Working dataset: 19 GB split among N processors

Program runs on N processors. Currently I use 2 or 4 for tests.
Target system is 32 processors. A reasonable run takes 4
processors around 20000 seconds. Isolated tests are difficult
due to the way files effect performance. Also, the dataset
used to generate the working dataset can significantly impact
the main runs. My current algorithm shows processors 95-98% 
busy in user space for the above test. The working dataset
can potentially have 80+GB read from it per node.(It's not, I
do some sorting to prevent that) Where once my Alphas
were about 80% of my RS/6000's, they are now no more than
50%.

I have other simple tests that show little performance 
change so I can't put my hands on a small test case that shows
what's wrong. However the tests do show where G77/Alpha is 
relative to a good FORTRAN compiler.

If you can make Linpack 100x100 run fast, both double precision
and single precision, I would wager you fix my problem at the 
same time.

My simple benchmark measures individual operations in
FORTRAN, like add/sub/mult/div/sum, for real*4, real*8, and
complex. My RS/6000 (397) runs significantly faster than my
PC164LX 533 Alpha on those. I can give you the source and my
RS/6000 results off line if you're interested. I had
someone run the tests on DEC FORTRAN too and from what I remember,
it was similar to the RS/6000. Also have access to a 195MHZ
SGI R10000 and can run tests on it for your comparison if
interested. For a reference, on my last test, an RS/6000
sustains 618 MFLOPS out of a theoretical max of 640. The
PC164LX with G77 does 302 out of 1066.

 
Wes


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: EGCS/X/RH5.1
  1998-06-02 22:32 ` EGCS/X/RH5.1 Richard Henderson
  1998-06-03  3:22   ` EGCS/X/RH5.1 Wes Bauske
@ 1998-06-03  9:15   ` David Alan Gilbert
  1998-06-03  9:30     ` EGCS/X/RH5.1 Matti Aarnio
  1 sibling, 1 reply; 7+ messages in thread
From: David Alan Gilbert @ 1998-06-03  9:15 UTC (permalink / raw)
  To: Richard Henderson, axp-list

Richard Henderson wrote:
> 
> On Sat, May 30, 1998 at 09:39:54PM +0100, Dave Gilbert wrote:
> >   Anyway, as far as I can tell using the latest hot off the press EGCS
> > to built XFree for my Matrox produces corrupted text fonts when I exit
> > X. This has always happened with EGCS, but I'd hoped the latest
> > XFree patches (which I applied) would have cured this (they mention
> > fixes for build problems in GCC 2.8.1). If this is the case what have
> > RH done for RH5.1?
> [...]
> > (Incidentally the latest EGCS (with its new optimisations) appears to
> > produce code slightly slower than its immediate predecessor; and like its
> > previous predecessor also ABORTs (Sig 6) when trying to build Povray).
> 
> May I take a moment to remind folks that properly reporting EGCS
> problems to egcs-bugs@cygnus.com is much more likely to produce
> results than mentioning them here.

The Abort problem was reported to egcs-bugs (and CC'd to you) about
3 weeks ago together with a stack trace at the offending function.
If I fail to report anything you need to debug it in a bug report,
you have only to ask and I'll forward the information,

As for the performance, well I keep three performance figures everytime
I build EGCS:
  1) Dhrystone - meaningless but small.
  2) Mesa-2.5, 'trispd' - triangle plotting speed; a good mix of integer
               and floating point.
  3) Povray - Time to render two of the examples; floating point heavy at
              a guess.

The reason I haven't reported the X problem to the EGCS list is that I'm
not sure whether its an X problem or an EGCS problem; and I don't know
enough about the internals of X/VGA text modes/The Matrox millenium etc to
debug it.

Dave

-- 
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work:    dg @ cogency.co.uk        - +44-(0)161-428-9444           -
- Home:    gro.gilbert @ treblig.org -                               -
----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: EGCS/X/RH5.1
  1998-06-03  9:15   ` EGCS/X/RH5.1 David Alan Gilbert
@ 1998-06-03  9:30     ` Matti Aarnio
  0 siblings, 0 replies; 7+ messages in thread
From: Matti Aarnio @ 1998-06-03  9:30 UTC (permalink / raw)
  To: axp-list

David Alan Gilbert <dg@cogency.co.uk> wrote:
... (replying to Richard Henderson) ... 
> The reason I haven't reported the X problem to the EGCS list is that I'm
> not sure whether its an X problem or an EGCS problem; and I don't know
> enough about the internals of X/VGA text modes/The Matrox millenium etc to
> debug it.

	I know several UGLY things inside very recent Matrox drivers.
	("very recent" is likely the lattest public source.  I haven't
	 had time to check developements during past two months.)
	Very likely those problems are still there..

	Basically there is code with does something like this:

		char *crtbuf = ... ;
		char *aligned_buf = (char *)(((int) crtbuf) & ~3);

	This works just fine on 32-bit systems, but at Alphas...

	Then there is another case where the system expects to have
	32-bit longs while it is scanning in a loop and storing something
	through:    *longptr++ = ... ;
	(Naturally the object is not aligned properly at the start
	 of the loop for this type of scan..)

	The first error blew up my X-server every time I did something
	in NetScape (displayed at Alpha, but running elsewere), and
	I finally fixed it.  The second is "just" spewing my dmesg with
	"unaligned trap" messages.

	I did report that first case to XFree86-bugs, but heard nothing
	back from them.

> Dave
> ----------------------------------------------------------------------
> - Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
> - Work:    dg @ cogency.co.uk        - +44-(0)161-428-9444           -
> - Home:    gro.gilbert @ treblig.org -                               -

/Matti Aarnio <matti.aarnio@sonera.fi>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-06-03  9:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-30 20:39 EGCS/X/RH5.1 Dave Gilbert
1998-06-02 22:32 ` EGCS/X/RH5.1 Richard Henderson
1998-06-03  3:22   ` EGCS/X/RH5.1 Wes Bauske
1998-06-03  5:35     ` EGCS/X/RH5.1 Richard Henderson
1998-06-03  8:07       ` EGCS/X/RH5.1 Wes Bauske
1998-06-03  9:15   ` EGCS/X/RH5.1 David Alan Gilbert
1998-06-03  9:30     ` EGCS/X/RH5.1 Matti Aarnio

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