* Re: RH 7.1 and 7.2 performance differences
@ 2003-03-24 23:30 Eugene Chu
2003-03-25 0:36 ` Michal Jaegermann
0 siblings, 1 reply; 9+ messages in thread
From: Eugene Chu @ 2003-03-24 23:30 UTC (permalink / raw)
To: axp-list
>From: Peter Petrakis <voodoo@alphadriven.org>
>To: axp-list@redhat.com
>Date: Mon, 24 Mar 2003 17:29:32 -0500
>
>The performance patches increase overall system performance,
>http://linuxjournal.com/article.php?sid=4756 for details.
>Is it possible to build your software using Compaq
>C? At the very least it could probably link with libcpml.
>
>Peter
I did that, and the ccc version of fftw_test runs even slower than the
version I built with GCC. This was done from a fresh re-configure-d
set of files for each version.
Another thing, after I did make xconfig for my kernel, I find that the
Makefile did not recognize make bzImage. I can make vmlinux and bzip2
the image myself, but is this normal?
eyc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RH 7.1 and 7.2 performance differences
2003-03-24 23:30 RH 7.1 and 7.2 performance differences Eugene Chu
@ 2003-03-25 0:36 ` Michal Jaegermann
0 siblings, 0 replies; 9+ messages in thread
From: Michal Jaegermann @ 2003-03-25 0:36 UTC (permalink / raw)
To: axp-list
On Mon, Mar 24, 2003 at 03:30:38PM -0800, Eugene Chu wrote:
>
> Another thing, after I did make xconfig for my kernel, I find that the
> Makefile did not recognize make bzImage.
'bzImage' is an x86 specific target. Use an architecture independent
'make boot'.
> I can make vmlinux and bzip2 the image myself, but is this normal?
'bzImage' has nothing to do with bzip2. It is "big zImage" required by
some "features" of x86 architecture. If you will use bzip2 on kernel
images you will have troubles to boot results. :-)
Michal
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RH 7.1 and 7.2 performance differences
@ 2003-03-26 5:13 Eugene Chu
0 siblings, 0 replies; 9+ messages in thread
From: Eugene Chu @ 2003-03-26 5:13 UTC (permalink / raw)
To: axp-list
After a bit of checking, I think I found the source of what I preceived
as the performance difference. The confusion seems to be from the way
time is being obtained by the fftw_test program. I noticed that even
though the old and new versions of the program report vastly different
results, they were both taking exactly the same CPU and clock times.
Unless the two programs, built from the same source code with the same
compiler, but under different versions of the OS, are actually running
different numbers of iterations for each FFT mode, their performance
are nearly identical.
This raises some questions:
Why are they reporting different times?
I'm guessing the sytem routines they're using must be reporting times
differently.
What IS the actual performance of FFTW on an Alpha EV67?
I ran my own tests using DXML and a simple FORTRAN FFT function, and
I get a set of numbers, but they are consistent between different
versions of OS.
My previous timings will have to be scrutinized, and fixed...
thanks for everyone's assistance.
eyc
PS: I did manage to build a kernel customized for my processor (DP264),
and it had no significant affect on performance. However, when I tried
to halt the system, the kernel panic'd and hung up. No idea why.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RH 7.1 and 7.2 performance differences
@ 2003-03-24 22:15 Eugene Chu
2003-03-24 22:29 ` Peter Petrakis
2003-03-24 23:16 ` Falk Hueffner
0 siblings, 2 replies; 9+ messages in thread
From: Eugene Chu @ 2003-03-24 22:15 UTC (permalink / raw)
To: axp-list
>From: Peter Petrakis <voodoo@alphadriven.org>
>Date: Mon, 24 Mar 2003 16:49:44 -0500
>
>Are you still running the stock generic kernel??? if so recompile for
>DP264 class and check the option for EV67 CPUS to enable the
>performance patches. I'm assuming you have EV67/EV68 CPUs in there...
>
>Peter
I am still running the stock RH 7.2 kernel. I will start a rebuild now.
However, I am still not sure how that would relate to the old FFTW test
program running so much faster than the new program, both under the
same kernel. Did it use some faster kernel code that was in the old
kernel that's not in the new kernel?
eyc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RH 7.1 and 7.2 performance differences
2003-03-24 22:15 Eugene Chu
@ 2003-03-24 22:29 ` Peter Petrakis
2003-03-24 23:16 ` Falk Hueffner
1 sibling, 0 replies; 9+ messages in thread
From: Peter Petrakis @ 2003-03-24 22:29 UTC (permalink / raw)
To: axp-list
> I am still running the stock RH 7.2 kernel. I will start a rebuild
> now.
>
> However, I am still not sure how that would relate to the old FFTW test
> program running so much faster than the new program, both under the
> same kernel. Did it use some faster kernel code that was in the old
> kernel that's not in the new kernel?
The performance patches increase overall system performance,
http://linuxjournal.com/article.php?sid=4756 for details.
Is it possible to build your software using Compaq
C? At the very least it could probably link with libcpml.
Peter
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RH 7.1 and 7.2 performance differences
2003-03-24 22:15 Eugene Chu
2003-03-24 22:29 ` Peter Petrakis
@ 2003-03-24 23:16 ` Falk Hueffner
2003-03-24 23:29 ` George France
1 sibling, 1 reply; 9+ messages in thread
From: Falk Hueffner @ 2003-03-24 23:16 UTC (permalink / raw)
To: axp-list
chu@tes-mail.jpl.nasa.gov (Eugene Chu) writes:
> >From: Peter Petrakis <voodoo@alphadriven.org>
> >Date: Mon, 24 Mar 2003 16:49:44 -0500
> >
> >Are you still running the stock generic kernel??? if so recompile for
> >DP264 class and check the option for EV67 CPUS to enable the
> >performance patches. I'm assuming you have EV67/EV68 CPUs in there...
>
> I am still running the stock RH 7.2 kernel. I will start a rebuild now.
>
> However, I am still not sure how that would relate to the old FFTW test
> program running so much faster than the new program, both under the
> same kernel. Did it use some faster kernel code that was in the old
> kernel that's not in the new kernel?
Seems unlikely. I guess either the old version was compiled with
CPU-specific flags, or you're using a different libm. Try recompiling
with a recent gcc and -mcpu=ev67.
You might also want to try the Super Page patch
(http://shimizu-lab.dt.u-tokai.ac.jp/lsp.html), it sometimes helps for
programs with large working set.
--
Falk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RH 7.1 and 7.2 performance differences
2003-03-24 23:16 ` Falk Hueffner
@ 2003-03-24 23:29 ` George France
0 siblings, 0 replies; 9+ messages in thread
From: George France @ 2003-03-24 23:29 UTC (permalink / raw)
To: axp-list, Falk Hueffner
or even a glibc built for ev67. It probably will not help as many apps built
for speed do not call glibc during critical paths of execution, but it might
be worth a try.
Best Regards,
--George
On Monday 24 March 2003 06:16 pm, Falk Hueffner wrote:
> chu@tes-mail.jpl.nasa.gov (Eugene Chu) writes:
> > >From: Peter Petrakis <voodoo@alphadriven.org>
> > >Date: Mon, 24 Mar 2003 16:49:44 -0500
> > >
> > >Are you still running the stock generic kernel??? if so recompile for
> > >DP264 class and check the option for EV67 CPUS to enable the
> > >performance patches. I'm assuming you have EV67/EV68 CPUs in there...
> >
> > I am still running the stock RH 7.2 kernel. I will start a rebuild now.
> >
> > However, I am still not sure how that would relate to the old FFTW test
> > program running so much faster than the new program, both under the
> > same kernel. Did it use some faster kernel code that was in the old
> > kernel that's not in the new kernel?
>
> Seems unlikely. I guess either the old version was compiled with
> CPU-specific flags, or you're using a different libm. Try recompiling
> with a recent gcc and -mcpu=ev67.
>
> You might also want to try the Super Page patch
> (http://shimizu-lab.dt.u-tokai.ac.jp/lsp.html), it sometimes helps for
> programs with large working set.
^ permalink raw reply [flat|nested] 9+ messages in thread
* RH 7.1 and 7.2 performance differences
@ 2003-03-24 21:20 Eugene Chu
2003-03-24 21:49 ` Peter Petrakis
0 siblings, 1 reply; 9+ messages in thread
From: Eugene Chu @ 2003-03-24 21:20 UTC (permalink / raw)
To: axp-list
Hi Folks,
I installed RH 7.2 onto my UP2000+ boxes a few months ago because it
was the latest and greatest. However, I soon found that a lot of the
apps I built under it ran much slower than before. Tracing the problem
down to the lowest level, I found the core to be in our software using
FFTW. At first I thought it was because we rebuilt it using GCC
3.0.4. I had kept a set of FFTW test programs built with GCC 2.96 under
RH 7.1, so I ran it to compare against the new versions that were built
with GCC 3.0.4 as well as 2.96, both under RH 7.2. What I found was a
big descrpency in performance. The old programs, run under the new OS,
would be consistently faster than the new programs by nearly 40%. Now,
this is an extreme case, because I think my applications have slowed
down by "only" 20% when built under the new OS.
Are there any different compile flags I need to use to get back the
performance? I'm going to back one of my systems down to RH 7.1 just
to verify this.
thanks,
eyc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: RH 7.1 and 7.2 performance differences
2003-03-24 21:20 Eugene Chu
@ 2003-03-24 21:49 ` Peter Petrakis
0 siblings, 0 replies; 9+ messages in thread
From: Peter Petrakis @ 2003-03-24 21:49 UTC (permalink / raw)
To: axp-list
Are you still running the stock generic kernel??? if so recompile for
DP264 class and check the option for EV67 CPUS to enable the
performance patches. I'm assuming you have EV67/EV68 CPUs in there...
Peter
On Monday, March 24, 2003, at 04:20 PM, Eugene Chu wrote:
> Hi Folks,
>
> I installed RH 7.2 onto my UP2000+ boxes a few months ago because it
> was the latest and greatest. However, I soon found that a lot of the
> apps I built under it ran much slower than before. Tracing the problem
> down to the lowest level, I found the core to be in our software using
> FFTW. At first I thought it was because we rebuilt it using GCC
> 3.0.4. I had kept a set of FFTW test programs built with GCC 2.96
> under
> RH 7.1, so I ran it to compare against the new versions that were built
> with GCC 3.0.4 as well as 2.96, both under RH 7.2. What I found was a
> big descrpency in performance. The old programs, run under the new OS,
> would be consistently faster than the new programs by nearly 40%. Now,
> this is an extreme case, because I think my applications have slowed
> down by "only" 20% when built under the new OS.
>
> Are there any different compile flags I need to use to get back the
> performance? I'm going to back one of my systems down to RH 7.1 just
> to verify this.
>
> thanks,
> eyc
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-03-26 5:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24 23:30 RH 7.1 and 7.2 performance differences Eugene Chu
2003-03-25 0:36 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2003-03-26 5:13 Eugene Chu
2003-03-24 22:15 Eugene Chu
2003-03-24 22:29 ` Peter Petrakis
2003-03-24 23:16 ` Falk Hueffner
2003-03-24 23:29 ` George France
2003-03-24 21:20 Eugene Chu
2003-03-24 21:49 ` Peter Petrakis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox