* RE: performance patches
@ 2000-10-31 12:05 David Addison
2000-10-31 13:19 ` Rich Payne
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: David Addison @ 2000-10-31 12:05 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Do you need to configure the kernel with something other than
CONFIG_ALPHA_GENERIC to get these improvements ?
I tried using CONFIG_ALPHA_DP264 but it rebooted immediately on the aboot
handover. Has anyone got a non-GENERIC kernel to boot ?
I'm using a 2*500MHz EV6 DS20 (RH6.1) for testing.
Cheers,
Addy.
> -----Original Message-----
> From: Jay Estabrook [mailto:Jay.Estabrook@compaq.com]
> Sent: 31 October 2000 04:51
> To: axp-list@redhat.com
> Subject: Re: performance patches
>
>
> On Mon, Oct 30, 2000 at 05:38:31PM -0700, Chris Price wrote:
> >
> > Would these 'performance patches' be of any use
> > on older 21064A and 21164A based systems (alphastation400 and
> > XL300/366)?
>
> You'll see hardly any improvement on EV4/EV45 or EV5/EV56.
>
> The performance enhancements are due almost entirely to
> taking advantage
> of architectural features available only on EV6 or later CPUs.
>
> They are:
>
> 1. scheduling of instructions specifically for EV6.
> 2. use of instructions available only on EV67 ("cttz", etc).
> 3. use of the "wh64" (write hint) instruction (defined early on,
> but not implemented until EV6).
>
> --Jay++
>
> --------------------------------------------------------------
> ---------------
> Jay A Estabrook Alpha Engineering
> - LINUX Project
> Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
> 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
> --------------------------------------------------------------
> ---------------
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: performance patches
2000-10-31 12:05 performance patches David Addison
@ 2000-10-31 13:19 ` Rich Payne
2000-10-31 20:01 ` Custom AXP kernel Paul Allen
2000-11-01 1:48 ` performance patches Chai Mee Joon
2 siblings, 0 replies; 11+ messages in thread
From: Rich Payne @ 2000-10-31 13:19 UTC (permalink / raw)
To: 'axp-list@redhat.com'; +Cc: addy
Make sure you have the latest version (they were updated yesterday):
http://www.alpha-processor.com/products/downloads/developer_support/performance/
there was initially a problem with EV6 boxes (EV67 worked fine).
--rdp
On Tue, 31 Oct 2000, David Addison wrote:
> Do you need to configure the kernel with something other than
> CONFIG_ALPHA_GENERIC to get these improvements ?
>
> I tried using CONFIG_ALPHA_DP264 but it rebooted immediately on the aboot
> handover. Has anyone got a non-GENERIC kernel to boot ?
>
> I'm using a 2*500MHz EV6 DS20 (RH6.1) for testing.
>
> Cheers,
> Addy.
>
> > -----Original Message-----
> > From: Jay Estabrook [mailto:Jay.Estabrook@compaq.com]
> > Sent: 31 October 2000 04:51
> > To: axp-list@redhat.com
> > Subject: Re: performance patches
> >
> >
> > On Mon, Oct 30, 2000 at 05:38:31PM -0700, Chris Price wrote:
> > >
> > > Would these 'performance patches' be of any use
> > > on older 21064A and 21164A based systems (alphastation400 and
> > > XL300/366)?
> >
> > You'll see hardly any improvement on EV4/EV45 or EV5/EV56.
> >
> > The performance enhancements are due almost entirely to
> > taking advantage
> > of architectural features available only on EV6 or later CPUs.
> >
> > They are:
> >
> > 1. scheduling of instructions specifically for EV6.
> > 2. use of instructions available only on EV67 ("cttz", etc).
> > 3. use of the "wh64" (write hint) instruction (defined early on,
> > but not implemented until EV6).
> >
> > --Jay++
> >
> > --------------------------------------------------------------
> > ---------------
> > Jay A Estabrook Alpha Engineering
> > - LINUX Project
> > Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
> > 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
> > --------------------------------------------------------------
> > ---------------
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> >
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 11+ messages in thread
* Custom AXP kernel
2000-10-31 12:05 performance patches David Addison
2000-10-31 13:19 ` Rich Payne
@ 2000-10-31 20:01 ` Paul Allen
2000-11-01 1:05 ` Peter Petrakis
2000-11-01 12:02 ` Custom AXP kernel Greg Lindahl
2000-11-01 1:48 ` performance patches Chai Mee Joon
2 siblings, 2 replies; 11+ messages in thread
From: Paul Allen @ 2000-10-31 20:01 UTC (permalink / raw)
To: axp-list
I've got an Alpha EV6/500 XP1000 with RedHat 6.2. I took a crack at
building a custom kernel recently and couldn't figure out which
machine type to use. I've looked through a couple lists of machine
types: the one on www.alphalinux.org and I think another one on a
Compaq web site. I don't see anything that clearly matches my
hardware. During boot, my kernel says this:
Booting GENERIC on Tsunami variation Monet using machine vector Monet
from SRM
This hardware may be more recent than the 2/99 date on the FAQ at
alphalinux.org. Does the 2.2.16 kernel know about this particular
machine, or should I just use GENERIC? Any clues will be welcome.
Thanks!
Paul Allen
--
Paul L. Allen | voice: (425) 865-3297 fax: (425) 865-2964
Unix Technical Support | paul.l.allen@boeing.com
Boeing Phantom Works Math & Computing Technology Site Operations,
POB 3707 M/S 7L-68, Seattle, WA 98124-2207
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Custom AXP kernel
2000-10-31 20:01 ` Custom AXP kernel Paul Allen
@ 2000-11-01 1:05 ` Peter Petrakis
2000-11-01 1:55 ` rtlinux-3.0-pre8 running on an alpha pc164? Terry L. Ridder
2000-11-01 12:02 ` Custom AXP kernel Greg Lindahl
1 sibling, 1 reply; 11+ messages in thread
From: Peter Petrakis @ 2000-11-01 1:05 UTC (permalink / raw)
To: axp-list
I believe the correct system type is "DP264". Also select "Use SRM as
bootloader" and you should be fine.
Peter
Paul Allen wrote:
> I've got an Alpha EV6/500 XP1000 with RedHat 6.2. I took a crack at
> building a custom kernel recently and couldn't figure out which
> machine type to use. I've looked through a couple lists of machine
> types: the one on www.alphalinux.org and I think another one on a
> Compaq web site. I don't see anything that clearly matches my
> hardware. During boot, my kernel says this:
>
> Booting GENERIC on Tsunami variation Monet using machine vector Monet
> from SRM
>
> This hardware may be more recent than the 2/99 date on the FAQ at
> alphalinux.org. Does the 2.2.16 kernel know about this particular
> machine, or should I just use GENERIC? Any clues will be welcome.
>
> Thanks!
>
> Paul Allen
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: performance patches
2000-10-31 12:05 performance patches David Addison
2000-10-31 13:19 ` Rich Payne
2000-10-31 20:01 ` Custom AXP kernel Paul Allen
@ 2000-11-01 1:48 ` Chai Mee Joon
2 siblings, 0 replies; 11+ messages in thread
From: Chai Mee Joon @ 2000-11-01 1:48 UTC (permalink / raw)
To: axp-list
On Tue, Oct 31, 2000 at 12:05:17PM -0000, David Addison wrote:
> Do you need to configure the kernel with something other than
> CONFIG_ALPHA_GENERIC to get these improvements ?
>
> I tried using CONFIG_ALPHA_DP264 but it rebooted immediately on the aboot
> handover. Has anyone got a non-GENERIC kernel to boot ?
Yes, I applied the latest patch on a DP264 using 1*750/8 EV7 (SuSE AXP 6/4)
with CONFIG_ALPHA_DP264 and booted it successfully, running for about
2 days now on 2 machines.
<4>Booting on Tsunami variation DP264 using machine vector DP264 from SRM
Cheers,
--
Chai Mee Joon, Lawrence <chaimj@singnet.com.sg>
4 Pandan Valley #14-413
Singapore 597628
Mobile: (+65) 98430098
^ permalink raw reply [flat|nested] 11+ messages in thread
* rtlinux-3.0-pre8 running on an alpha pc164?
2000-11-01 1:05 ` Peter Petrakis
@ 2000-11-01 1:55 ` Terry L. Ridder
0 siblings, 0 replies; 11+ messages in thread
From: Terry L. Ridder @ 2000-11-01 1:55 UTC (permalink / raw)
To: axp-list
hello;
i would like to hear from anyone who has
rtlinux-3.0-pre8 running correctly on an
alpha pc164.
currently, the fsmlabs.com folks only have
it running on a ds10/tsunami.
i am working on porting the nist emc software
to the alpha platform, and it requires rtlinux
to run. the alpha platform was not supported
until rtlinux-3.0 and linux-2.4.0-test1.
i have been pouring over the rtlinux-3.0-pre8
code looking for the problem area.
--
Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."
digging deep, i feel my conscience burn
i need to know who and what i am
this hunger jolts me from complacency
rocks me, makes me meet myself
----kendall payne---closer to myself---
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Custom AXP kernel
2000-10-31 20:01 ` Custom AXP kernel Paul Allen
2000-11-01 1:05 ` Peter Petrakis
@ 2000-11-01 12:02 ` Greg Lindahl
2000-11-01 14:36 ` A few questions about compiling code and performance J. Pedro Sousa do Amaral
1 sibling, 1 reply; 11+ messages in thread
From: Greg Lindahl @ 2000-11-01 12:02 UTC (permalink / raw)
To: axp-list
> I've got an Alpha EV6/500 XP1000 with RedHat 6.2. I took a crack at
> building a custom kernel recently and couldn't figure out which
> machine type to use.
I guess, in a way, that it's handy that people insist on testing the
non-generic kernels...
> This hardware may be more recent than the 2/99 date on the FAQ at
> alphalinux.org.
Nothing's changed since 2/99; that's around when the GENERIC kernel was
invented, and the GENERIC kernel will be a valid type into the future. As
the hardware gets revved, new code does get added.
-- g
^ permalink raw reply [flat|nested] 11+ messages in thread
* A few questions about compiling code and performance
2000-11-01 12:02 ` Custom AXP kernel Greg Lindahl
@ 2000-11-01 14:36 ` J. Pedro Sousa do Amaral
2000-11-01 19:34 ` Ross A Knepper
2000-11-01 19:52 ` arthur m coucouvitis
0 siblings, 2 replies; 11+ messages in thread
From: J. Pedro Sousa do Amaral @ 2000-11-01 14:36 UTC (permalink / raw)
To: axp-list
Hi,
My questions are somewhat off-topic (and ignorant; I do not know how to
program...) but here's the first one: I have a certain dynamical system
analysis program source code, which I believe was initially written for
Sun's OS. This FORTRAN code was initially set to compile with the flag
-fast, but that wouldn't work in my system (AS 200, RH 5.2 highly modified,
latest stable kernel, and pretty recent compilers--g77 version egcs-2.91.66
19990314). Is there an equivalent flag in the GNU FORTRAN compiler?
Another question is about bogometer benchmarking. How useful is to use the
function time to benchmark the performance of a given program compiled
across different machines? From the man time: "The time utility executes and
times utility. After the utility finishes, time writes the total time
elapsed, the time consumed by system overhead, and the time used to execute
utility to the standard error stream." What is exactly the meaning of the
two last times reported?
My last question is about a compiling error shown below. Any ideas about why
this error occurs?
f77 -O4 \
-o dimension dimension.f epsprg.o
param.h: In program `dimension':
In file included from dimension.f:39:
param.h:26:
parameter (nbound=max(nbins,ndatar))
^
Invalid declaration of or reference to symbol `max' at (^) [initially seen
at (^)]
make: *** [dimension] Error 1
Thank you very much.
ZP
--
José Pedro Sousa do Amaral
Disclaimer: Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely coincidental.
Any resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them is
left as an exercise for the reader. The question of the existence of the
reader is left as an exercise for the second god coefficient. (A discussion
of non-orthogonal, non-integral polytheism is beyond the scope of this
article.)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: A few questions about compiling code and performance
2000-11-01 14:36 ` A few questions about compiling code and performance J. Pedro Sousa do Amaral
@ 2000-11-01 19:34 ` Ross A Knepper
2000-11-01 19:52 ` arthur m coucouvitis
1 sibling, 0 replies; 11+ messages in thread
From: Ross A Knepper @ 2000-11-01 19:34 UTC (permalink / raw)
To: axp-list
On Wed, 1 Nov 2000, J. Pedro Sousa do Amaral wrote:
> This FORTRAN code was initially set to compile with the flag
> -fast, but that wouldn't work in my system (AS 200, RH 5.2 highly modified,
> latest stable kernel, and pretty recent compilers--g77 version egcs-2.91.66
> 19990314). Is there an equivalent flag in the GNU FORTRAN compiler?
-fast is a compiler specific flag. gnu compilers use -O for general
optimizations, which will probably make it run faster. i dont use
fortran, but with gcc, there are multiple levels of optimization that get
more aggressive (eg -O6 is more sophisticated than -O2, which may or may
not mean it runs faster)
> Another question is about bogometer benchmarking. How useful is to use the
> function time to benchmark the performance of a given program compiled
> across different machines?
it depends what you want to know. time is pretty accurate about how long
a program takes to run, but if you're comparing between systems, the
information you derive from it is limited. it would be unfair to conclude
that one compiler generates faster code, or that one processor is
faster. all you can safely say is that for your application, compiler A
gives better performance on platform A than compiler B gives on platform
B.
> From the man time: "The time utility executes and
> times utility. After the utility finishes, time writes the total time
> elapsed, the time consumed by system overhead, and the time used to execute
> utility to the standard error stream." What is exactly the meaning of the
> two last times reported?
wall clock time is simply the difference in time between when it begins
and when it ends. on a busy system, this will be longer than the sum of
the system and user times, because other processes are running at the same
time. user time is the actual time consumed by the processor in running
the code you wrote. system time is the actual processor time spent
within the kernel executing on behalf of your process. system time
includes system calls and some types of faults (like memory management).
on an idle system, user+system should be roughly equal to wall clock time.
> parameter (nbound=max(nbins,ndatar))
you may need to define a macro for max, or include some file which defines
it. not knowing fortran, i can't help much with this. but in c, it would
be:
#define max(a,b) ((a) > (b) ? (a) : (b))
hope this helps
-ross
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: A few questions about compiling code and performance
2000-11-01 14:36 ` A few questions about compiling code and performance J. Pedro Sousa do Amaral
2000-11-01 19:34 ` Ross A Knepper
@ 2000-11-01 19:52 ` arthur m coucouvitis
2000-11-02 0:50 ` W Bauske
1 sibling, 1 reply; 11+ messages in thread
From: arthur m coucouvitis @ 2000-11-01 19:52 UTC (permalink / raw)
To: axp-list
hi,
maybe i can help witrh the 3rd ?
> ...Any ideas about why this error occurs?
>
> f77 -O4 \
> -o dimension dimension.f epsprg.o
> param.h: In program `dimension':
> In file included from dimension.f:39:
> param.h:26:
> parameter (nbound=max(nbins,ndatar))
> ^
> Invalid declaration of or reference to symbol `max' at (^) [initially seen
> at (^)]
> make: *** [dimension] Error 1
max is a macro defined in a system include file.
the error can be fixed by adding 'include <file-name.h>' to
dimension.f,
where file-name is the name of the file containing the
definition of map().
to find the file, you could try:
grep -w map /usr/include/*.h
grep -w map /usr/include/*/*.h, etc
good luck,
--
arthur m coucouvitis ATIPA Linux Solutions, Inc.
tel: 603 622-7171 x 15 850 East Industrial Park Drive
fax: 603 622-7272 Suite 8, Manchester, NH 03109
http://www.dcginc.com http:/www.atipa.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: A few questions about compiling code and performance
2000-11-01 19:52 ` arthur m coucouvitis
@ 2000-11-02 0:50 ` W Bauske
0 siblings, 0 replies; 11+ messages in thread
From: W Bauske @ 2000-11-02 0:50 UTC (permalink / raw)
To: axp-list
arthur m coucouvitis wrote:
>
> hi,
>
> maybe i can help witrh the 3rd ?
> > ...Any ideas about why this error occurs?
> >
> > f77 -O4 \
> > -o dimension dimension.f epsprg.o
> > param.h: In program `dimension':
> > In file included from dimension.f:39:
> > param.h:26:
> > parameter (nbound=max(nbins,ndatar))
> > ^
> > Invalid declaration of or reference to symbol `max' at (^) [initially seen
> > at (^)]
> > make: *** [dimension] Error 1
> max is a macro defined in a system include file.
> the error can be fixed by adding 'include <file-name.h>' to
> dimension.f,
> where file-name is the name of the file containing the
> definition of map().
> to find the file, you could try:
> grep -w map /usr/include/*.h
> grep -w map /usr/include/*/*.h, etc
>
If it were my code, I'd just do:
integer nbound
.
.
.
nbound=max(nbins,ndatar)
Not worth chasing this. It's trivial to change the code so the compiler
won't complain about it.
Wes
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2000-11-01 23:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-31 12:05 performance patches David Addison
2000-10-31 13:19 ` Rich Payne
2000-10-31 20:01 ` Custom AXP kernel Paul Allen
2000-11-01 1:05 ` Peter Petrakis
2000-11-01 1:55 ` rtlinux-3.0-pre8 running on an alpha pc164? Terry L. Ridder
2000-11-01 12:02 ` Custom AXP kernel Greg Lindahl
2000-11-01 14:36 ` A few questions about compiling code and performance J. Pedro Sousa do Amaral
2000-11-01 19:34 ` Ross A Knepper
2000-11-01 19:52 ` arthur m coucouvitis
2000-11-02 0:50 ` W Bauske
2000-11-01 1:48 ` performance patches Chai Mee Joon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox