Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: performance patches
@ 2000-10-31 12:05 David Addison
  2000-10-31 13:19 ` Rich Payne
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ 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] 13+ messages in thread
* Re: A few questions about compiling code and performance
@ 2000-11-01 20:38 Eugene Chu
  0 siblings, 0 replies; 13+ messages in thread
From: Eugene Chu @ 2000-11-01 20:38 UTC (permalink / raw)
  To: axp-list

J. Pedro Sousa do Amaral wrote:

>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?

The CPU time used by system overhead is usually for I/O operations.
Most I/O in most flavors of UNIX is still buffered, so there is copying
between system memory and user memory before the data is actually
transferred to/from the I/O devices.  The user CPU time is the the
actual amount of time yoru program spent using up CPU cycles doing
whatever it does.  A lot of times, the sum of these two are less than
the elapsed time, and the difference is usually due to the delay in
I/O operations.  Moving data to/from physical devices usually takes
orders of magnitude longer than moving it between memory, or just
processing the data.  This is why you can't reliably predict the
performance of your program based just on CPU or memory speeds.

eyc




^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: A few questions about compiling code and performance
@ 2000-11-01 22:26 Brad Lucier
  0 siblings, 0 replies; 13+ messages in thread
From: Brad Lucier @ 2000-11-01 22:26 UTC (permalink / raw)
  To: axp-list; +Cc: lucier

> 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)

use -ffast-math with gcc/g77 where you'd use -fast with ccc/fort




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

end of thread, other threads:[~2000-11-01 23:43 UTC | newest]

Thread overview: 13+ 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
  -- strict thread matches above, loose matches on Subject: below --
2000-11-01 20:38 A few questions about compiling code and performance Eugene Chu
2000-11-01 22:26 Brad Lucier

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