Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: ev4sched---here it is
@ 1996-05-02 15:32 David Mosberger-Tang
  0 siblings, 0 replies; 15+ messages in thread
From: David Mosberger-Tang @ 1996-05-02 15:32 UTC (permalink / raw)


ev4sched uses a quadratic algorithm to schedule blocks.  It's accurate, but
slow.  A colleague here at the university has an Alpha scheduler that is
almost as accurate as ev4sched and as fast as the scheduler the DEC cc uses
(this is from memory, but the numbers he had looked very good).  I don't
think that code is production quality, but if somebody wanted it, I'm sure
it could be had.

	--david

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: ev4sched---here it is
@ 1996-05-02 20:23 Toon Moene
  0 siblings, 0 replies; 15+ messages in thread
From: Toon Moene @ 1996-05-02 20:23 UTC (permalink / raw)


Harald Koenig wrote:

>  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:-(

Could you elaborate on the sort of Fortran code at hand here ?   
There are known shortcomings in the gcc loop optimisation routines  
for "Fortran type code" (whether compiled with f2c + gcc or g77)  
that might be obstructing performance here.  If your example does a  
lot of (relatively simple floating point - add, subtract, multiply,  
divide) arithmetic in nested do loops, it might help to try out the  
optimisations g77-0.5.18 offers [ the optimisations can also be  
applied to f2c + gcc compilations ].

Toon.

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: ev4sched---here it is
@ 1996-05-02 17:10 David Mosberger-Tang
  0 siblings, 0 replies; 15+ messages in thread
From: David Mosberger-Tang @ 1996-05-02 17:10 UTC (permalink / raw)


If you're interested in getting a better scheduler into gcc, you may
want to talk to Patrick Bridges <bridges@cs.arizona.edu>.

	--david

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: ev4sched---here it is
@ 1996-05-02 16:28 David Mosberger-Tang
  0 siblings, 0 replies; 15+ messages in thread
From: David Mosberger-Tang @ 1996-05-02 16:28 UTC (permalink / raw)


Profiling will work correctly with glibc and a small patch to gcc.

	--david

^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <Pine.LNX.3.91.960502111441.7441C-100000@elroy.redhat.com>]
[parent not found: <ML-2.2.831027762.3978.torvalds@linux.cs.helsinki.fi>]
* Re: ev4sched---here it is
@ 1996-04-24 18:31 Stephen J. Gaudet
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen J. Gaudet @ 1996-04-24 18:31 UTC (permalink / raw)


Dear Mary

More info.

cheers,
sjg

At 08:15 AM 4/24/96 -0700, you wrote:
>OK, there seems to be considerable interest in the EV4 scheduler.  It
>was posted to the net (if memory serves) a few years ago.  It's
>probably still somewhere on one of DEC's ftp site.
>
>In any case, I put up a tar file on azstarnet:
>
> ftp://ftp.azstarnet.com/pub/linux/axp/misc/axpsrc-ev4sched-0.0.tar.gz
>
>It contains DEC's sample scheduler (that's the BIG file) and a wrapper
>that allows to run it on ECOFF object files (that's the tiny file).
>Basically, you simply do "ev4sched filename.o" and it'll print you a
>nice pipeline diagram of when things issue.
>
>Please be sure to read the caveats listed in ev4sched.c.  It's a
>convenient tool, but it's also easy to get meaningless results if you
>don't know what you're doing... :-)
>
>If somebody wanted to improve it, the first thing to do would be to
>add support for multiple basic blocks.
>
>	--david
>
>--
>To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
>
>
 
Steve
 +1-603-421-1800	http://www.dcginc.com
 ______________________________________________________________
| Stephen Gaudet        |  ** Digital Authorized reseller **   |
| DCG Computers Inc.    | Alpha, Intel Pentium Pro systems and |
| 35 Otterson Rd.       | motherbds running NT, Linux, & UNIX  |
| Londonderry, NH 03053 |--------------------------------------|
| ph:603-421-1800   fax:603-421-0911    e-mail:sjg@dcginc.com  |
 --------------------------------------------------------------

^ permalink raw reply	[flat|nested] 15+ messages in thread
* ev4sched---here it is
@ 1996-04-24 15:15 David Mosberger-Tang
  1996-04-30  6:19 ` Harald Koenig
  1996-05-02  8:43 ` Harald Koenig
  0 siblings, 2 replies; 15+ messages in thread
From: David Mosberger-Tang @ 1996-04-24 15:15 UTC (permalink / raw)


OK, there seems to be considerable interest in the EV4 scheduler.  It
was posted to the net (if memory serves) a few years ago.  It's
probably still somewhere on one of DEC's ftp site.

In any case, I put up a tar file on azstarnet:

 ftp://ftp.azstarnet.com/pub/linux/axp/misc/axpsrc-ev4sched-0.0.tar.gz

It contains DEC's sample scheduler (that's the BIG file) and a wrapper
that allows to run it on ECOFF object files (that's the tiny file).
Basically, you simply do "ev4sched filename.o" and it'll print you a
nice pipeline diagram of when things issue.

Please be sure to read the caveats listed in ev4sched.c.  It's a
convenient tool, but it's also easy to get meaningless results if you
don't know what you're doing... :-)

If somebody wanted to improve it, the first thing to do would be to
add support for multiple basic blocks.

	--david

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

end of thread, other threads:[~1996-05-02 20:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-02 15:32 ev4sched---here it is David Mosberger-Tang
  -- strict thread matches above, loose matches on Subject: below --
1996-05-02 20:23 Toon Moene
1996-05-02 17:10 David Mosberger-Tang
1996-05-02 16:28 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
     [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-04-24 18:31 Stephen J. Gaudet
1996-04-24 15:15 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
1996-05-02 15:16   ` Erik Troan

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