Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Public Domain
@ 1996-10-21 17:12 Przemek Klosowski
  0 siblings, 0 replies; 22+ messages in thread
From: Przemek Klosowski @ 1996-10-21 17:12 UTC (permalink / raw)


>Let me say this again: I would be willing to pay for DEC software
   >that makes my PC164 go faster. 

   In particular, this would probably be the DEC compilers. 

Does it seem plausible to people to compile the computational kernels
of their code (ya know, the 10% of the lines that make up 90% of the
CPU time) on DEC Unix, generating assembler code, and then
assembling and linking it under Linux?

Of course this wouldn't solve performance problems in the library,
but these are getting better faster than GCC.

How about a WWW CGI running on a DEC UNIX box that takes the source
in and sends the assembler back :^)

	p

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-22  5:52 Craig Burley
  1996-10-22 11:54 ` Jim Nance
  0 siblings, 1 reply; 22+ messages in thread
From: Craig Burley @ 1996-10-22  5:52 UTC (permalink / raw)


>What might be interesting is to take small (real small) programs, which
>run faster when compiled with DEC C than gcc, take a look at the assembler,
>and figure out why.  Then perhaps we can improve gcc.

I haven't really looked at this yet, but my guess is that the
low-hanging fruit here is likely to involve changing gcc a lot
more than discovering how to generate efficient code for Alphas.
They're RISCs, they have Icaches and Dcaches, and given the current
technology in gcc and GNU ld, there's likely to be a lot of obvious
stuff that gcc needs to do -- "obvious" in the sense that we don't
need to discover what DEC cc does to determine it.

People wanting to know more about this might want to read a recent
300+-line post I just put on comp.lang.fortran.  Then again, maybe
not.  ;-)

        tq vm, (burley)

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-21 18:43 Robert Williams
  0 siblings, 0 replies; 22+ messages in thread
From: Robert Williams @ 1996-10-21 18:43 UTC (permalink / raw)


Przemek Klosowski wrote:
> 
> Does it seem plausible to people to compile the computational kernels
> of their code (ya know, the 10% of the lines that make up 90% of the
> CPU time) on DEC Unix, generating assembler code, and then
> assembling and linking it under Linux?

Even then You would need DEC's optimized BLAS (DXML)
(Basic Linear Algebra Subroutines)
for matrix routines.  The DEC BLAS runs many
times faster than the public domain BLAS compiled
on an Alpha, even when the KAP optimizer is used
to unroll, set cashe size, etc.
Profiling often shows that most time is spent
in BLAS routines where programs are matrix intense.

We are talking about a two to four fold differences in speed,
just enough to give the Pentium Pro a competitive
advantage over the the Alpha for Linux Number Crunching.
If it doesn't appear that gcc and the libraries will
improve significantly soon, or that DEC will offer
individual software components for Alhpa/Linux,
there doesn't seem to be much reason for buying
an Alpha as a Linux platform.

-- 
from Bob Williams, mailto:bob@bob.usuf2.usuhs.mil

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-21 18:21 dave madden
  0 siblings, 0 replies; 22+ messages in thread
From: dave madden @ 1996-10-21 18:21 UTC (permalink / raw)


=>How about a WWW CGI running on a DEC UNIX box that takes the source
 =>in and sends the assembler back :^)

Interesting idea.  I just tried compiling hello_world.c with the DEC
compiler, then assembling & linking on a Linux alpha...worked OK.  I
suspect I'll have to put all the Linux header files on the DU box,
though, or the code won't work (in general) with the Linux libs.

Damn, and I have so much other stuff to do, too...

d.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
[parent not found: <199610211712.NAA20052@rrdjazz.nist.gov>]
* Re: Public Domain
@ 1996-10-21 15:33 Andrew J. Hutton
  0 siblings, 0 replies; 22+ messages in thread
From: Andrew J. Hutton @ 1996-10-21 15:33 UTC (permalink / raw)


I would like nothing more than for you, Linus, Alan Cox, Jim Paradise,
David M-T, and whoever else knows something about gcc and AXP, to have
a discussion on this list about how gcc could be improved. 

---

This would most likely be best served by a separate list.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
[parent not found: <326A5DA2.61659567@bob.usuf2.usuhs.mil>]
* Re: Public Domain
@ 1996-10-20 17:13 Robert Williams
  0 siblings, 0 replies; 22+ messages in thread
From: Robert Williams @ 1996-10-20 17:13 UTC (permalink / raw)


Jim Nance wrote:
> >... 
> > the ECOFF version of netscape (there - now you know why I really care about
> > this :-).
> 
> I suspect this is why most people are interested in Digital Unix compatable
> shared libs.

There are some of us who would like to do real number crunching
on an Alpa Linux machine.  The current status of optimization
for Alpha Linux in gcc, g77, and the LAPACK/BLAS libraries puts
AXP Linux at a disadvantage.  It appears that a 200 MHz
Pentium pro can outperform a 500 MHz 21164A (PC164) using Linux/f77/g77
at a fraction of the cost.  DEC has to realize that there is a market
for their software components here.

> What I would really like to talk about though is Digitals plans for ELF,
> ....
> I would like to cc Jon Hall, but I have lost his email address :-(  

Jon Hall monitors this list and has responded to my previous query about
the legality of running DEC Alpha binaries on Linux, but it appears
that there are obstacles to these ideas elsewhere at DEC.  Let me say
this
again:  I would be willing to pay for DEC software that makes my PC164
go faster.  I just don't want to pay for all of DEC Unix again.
Since It appears that Linux is now the most widely used Unix
system, I think there are many others in academic computing
who would also make this a profitable market for DEC.
Jon, are you listening?

-- 
Bob Williams, mailto:bob@bob.usuf2.usuhs.mil,
http://bob.usuf2.usuhs.mil/

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-20  1:23 David Mosberger
  1996-10-20 14:43 ` Gerard Roudier
  0 siblings, 1 reply; 22+ messages in thread
From: David Mosberger @ 1996-10-20  1:23 UTC (permalink / raw)


Don't forget that some very fundamental data types are different in Linux
and OSF/1.  time_t comes to mind, for example.

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-19 23:15 Eric Youngdale
  1996-10-20  2:09 ` Jim Nance
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Youngdale @ 1996-10-19 23:15 UTC (permalink / raw)


>>I really don't think that is going to work.  It would require that a lot of
>>stuff like libc, and libX* use identical data structures etc.
>
>I think it's worthwhile. Anyone else out there have the time to lend a hand?
>It would really expand the software possibilities. I can supply some system
>resources, ftp and a web site.

	A generous offer, but what is needed more are people willing to dig
in, solve some problems, and write some code.

	I have been contemplating this over the afternoon, and I am beginning
to think that a conversion utility that could convert an ECOFF binary to ELF
would make the most sense in this particular case.  It doesn't make much sense
for someone to have to try and figure out how to write a ECOFF dynamic linker
and all that, and the lack of support for linking ECOFF shared libraries in
binutils would eventually be a major hinderance.  In about 2 hours I was able
to hack together a utility that could wrap ELF file and section headers around
the ECOFF version of netscape (there - now you know why I really care about
this :-).  I still need to 'convert' the .dynamic, .hash, .dynsym sections,
and add/convert the dynamic relocations.  Oddly enough, the ECOFF binaries
use Elf32_* for .dynamic, .dynsym, so it is mainly just a matter of copying
data over to the larger structures, and then finding a place in VM to put
them so that the .text/.data sections don't get moved at all.

	WRT the libraries, I have verified that stdio in glibc is completely
incompatible with the OSF version.  Most things wouldn't notice the difference,
but there are macros for fileno(), feof() which depend upon the structure
layout, and the standard descriptor definitions for stdin, stdout and stderr
depend upon the size of the structure being the same.  I am not sure if
anything else in glibc is incompatible, however.  

	In theory we *might* be able to use glibc, with a compatible stdio
loaded ahead of it via LD_PRELOAD type of mechanism, but this could be broken
with dlopen() types of activity and it would ultimately be cleaner to build the
library from scratch with a compatible stdio.  Also, there are usually slight
naming differences (i.e. __foo instead of _foo) which sometimes get in the
way, and it is often easier just to build the library from scratch with
the right headers rather than just hack around it).

	Also OSF seems to be using X11R5, not X11R6, which means that we
wouldn't be able to use any of the existing X libraries.  Someone would have to
build these (with a compatible stdio version) before any X applications could
be run.  Also, I grepped through the X source tree, and they also use fileno
et. al., which would be a major nuisance to work around.

	The long and short of it is that it looks like there would have to be
seperate versions of all of the shared libraries that any OSF binary may
require.  In the case of netscape, the Motif libraries would appear to be
required, so we would eventually need a way to get someone to build both
native and OSF-compatible versions of Motif.

	Are there any other issues that anyone can think of?  Aside from
performance problems, would the math library routines be compatible?

	Anyone heard any rumors about a version of netscape for Linux/AXP :-)?
If so, now would be a good time to mention it.

-Eric

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-19 15:16 Michael W. Chalkley
  0 siblings, 0 replies; 22+ messages in thread
From: Michael W. Chalkley @ 1996-10-19 15:16 UTC (permalink / raw)


At 10:04 AM 10/19/96 -0400, you wrote:
>
>>I really don't think that is going to work.  It would require that a lot of
>>stuff like libc, and libX* use identical data structures etc.
>
<snip!>
>
>	If someone considers this a worthwhile project, I would be happy
>to give the benefit of my experience.  If I were to attempt to do it myself,
>it would probably take far too long as I have too many other things I am
>trying to do.  I do have access to OSF at the office, so I could poke around
>on my own if I really needed to.
>
>-Eric

I think it's worthwhile. Anyone else out there have the time to lend a hand?
It would really expand the software possibilities. I can supply some system
resources, ftp and a web site.

Mike

_______________________________________________________________________
Michael W. Chalkley                                Tel: +1.770.772.4567
ZapNet! Inc.                                       Fax: +1.770.475.7640
Suite 400-120                                   E-mail: mikech@well.com
10945 State Bridge Road                                mikech@avana.net
Alpharetta, GA 30202                    (wireless) mikech@radiomail.net

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-19 14:04 Eric Youngdale
  0 siblings, 0 replies; 22+ messages in thread
From: Eric Youngdale @ 1996-10-19 14:04 UTC (permalink / raw)


>I really don't think that is going to work.  It would require that a lot of
>stuff like libc, and libX* use identical data structures etc.

	This sounds a lot like the challenges we faced when we wanted to be
able to run SVr4 binaries under Intel Linux.

	Given that the machine is basically syscall compatible, you basically
don't need to mess with the kernel at all.  This was the first challenge
we faced (the SCO binaries and SVr4 binaries use a very similar interface,
so to run static linked SCO binaries the kernel end of things needed to be
done anyways).

	The libraries aren't really that big of a problem..  The problem is
that you need to have a publicly available dynamic loader that is ECOFF
compatible where none currently exists, and for this, someone needs to sit down
with the ECOFF documentation and a bunch of ECOFF libraries and figure out
exactly what is needed.

	Technically, the next step is to fix binutils so that it can build OSF
shared libraries, but this is no 100% required, at least to start with.  When I
first started with the SVr4 stuff, I was able to bootstrap things using the
SVr4 linker running under Linux.  Yeah, you need the license, but if you
already have it, you probably should be able to bootstrap things in this way.
If everything else falls into place, then yes, you would eventually need to
fix binutils so that you can generate an OSF shared library.

	Once you have a dynamic loader, the next step is to come up with
a libc that works.  When we did the SVr4 stuff, the hardest bit was stdio,
since it was basically pretty ancient compared to anything else we had
ever used.  Someone sat down and wrote a stdio implementation that was SVr4
compliant (and interestingly enough it outperforms the current versions).

	The main place you are limited in terms of the stdio implementation
are in that stdio.h defines a bunch of macros to operate on FILE * structures,
and whatever you use must be compatible.  If OSF doesn't use macros but uses
functions instead, then you have no problems at all in this area.

	If someone considers this a worthwhile project, I would be happy
to give the benefit of my experience.  If I were to attempt to do it myself,
it would probably take far too long as I have too many other things I am
trying to do.  I do have access to OSF at the office, so I could poke around
on my own if I really needed to.

-Eric

	In passing, I want to toss out one other idea.  It *may* be
theoretically possible to convert an OSF binary to ELF format.  Internally
they aren't that much different in a number of places, so it might be possible
to do this.  If this can be done, then the need for a publicly available loader
can be finessed, and all you would need would be the libraries.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-18 20:08 Michael W. Chalkley
  0 siblings, 0 replies; 22+ messages in thread
From: Michael W. Chalkley @ 1996-10-18 20:08 UTC (permalink / raw)


At 03:50 PM 10/18/96 -0400, you wrote:
>Michael W. Chalkley wrote:
>> 
>> In the interest of running Digital UNIX binaries under Linux, is there a
>> public domain version of the DEC Unix "loader" program? I have motif 2.0
>> from Metrolink for the Alpha and am trying to run the OSF version of
Netscape.
>
>Strictly speaking, I think that even with a public domain loader,
>you would still have to use some DEC libraries
>

Does anyone know which libraries Netscape uses? They have a version for
Linux x86.

Mike

_______________________________________________________________________
Michael W. Chalkley                                Tel: +1.770.772.4567
ZapNet! Inc.                                       Fax: +1.770.475.7640
Suite 400-120                                   E-mail: mikech@well.com
10945 State Bridge Road                                mikech@avana.net
Alpharetta, GA 30202                    (wireless) mikech@radiomail.net

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Public Domain
@ 1996-10-18 19:50 Robert Williams
  0 siblings, 0 replies; 22+ messages in thread
From: Robert Williams @ 1996-10-18 19:50 UTC (permalink / raw)


Michael W. Chalkley wrote:
> 
> In the interest of running Digital UNIX binaries under Linux, is there a
> public domain version of the DEC Unix "loader" program? I have motif 2.0
> from Metrolink for the Alpha and am trying to run the OSF version of Netscape.

Strictly speaking, I think that even with a public domain loader,
you would still have to use some DEC libraries

-- 
from Bob Williams, mailto:bob@bob.usuf2.usuhs.mil

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Public Domain
@ 1996-10-18 18:49 Michael W. Chalkley
  1996-10-18 20:46 ` Jim Nance
  1996-10-19  3:27 ` Brian E.W. Wood
  0 siblings, 2 replies; 22+ messages in thread
From: Michael W. Chalkley @ 1996-10-18 18:49 UTC (permalink / raw)


In the interest of running Digital UNIX binaries under Linux, is there a
public domain version of the DEC Unix "loader" program? I have motif 2.0
from Metrolink for the Alpha and am trying to run the OSF version of Netscape.

Also, has anyone got mgetty+sendfax to work under Linux AXP? Specifically,
the voice tools. If so which version and were there any patches required?

Thanks,

Mike,

_______________________________________________________________________
Michael W. Chalkley                                Tel: +1.770.772.4567
ZapNet! Inc.                                       Fax: +1.770.475.7640
Suite 400-120                                   E-mail: mikech@well.com
10945 State Bridge Road                                mikech@avana.net
Alpharetta, GA 30202                    (wireless) mikech@radiomail.net

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-10-22 11:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-21 17:12 Public Domain Przemek Klosowski
  -- strict thread matches above, loose matches on Subject: below --
1996-10-22  5:52 Craig Burley
1996-10-22 11:54 ` Jim Nance
1996-10-21 18:43 Robert Williams
1996-10-21 18:21 dave madden
     [not found] <199610211712.NAA20052@rrdjazz.nist.gov>
1996-10-21 18:13 ` Jim Nance
1996-10-21 15:33 Andrew J. Hutton
     [not found] <326A5DA2.61659567@bob.usuf2.usuhs.mil>
1996-10-21  7:05 ` Bernd
1996-10-21 12:00   ` Jim Nance
1996-10-20 17:13 Robert Williams
1996-10-20  1:23 David Mosberger
1996-10-20 14:43 ` Gerard Roudier
1996-10-19 23:15 Eric Youngdale
1996-10-20  2:09 ` Jim Nance
1996-10-20  3:01   ` D. Steven Daniel
1996-10-19 15:16 Michael W. Chalkley
1996-10-19 14:04 Eric Youngdale
1996-10-18 20:08 Michael W. Chalkley
1996-10-18 19:50 Robert Williams
1996-10-18 18:49 Michael W. Chalkley
1996-10-18 20:46 ` Jim Nance
1996-10-19  3:27 ` Brian E.W. Wood

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