* 64-bit Linux?
@ 1999-06-26 4:00 Brent Davies
1999-06-26 4:00 ` John Wilson
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Brent Davies @ 1999-06-26 4:00 UTC (permalink / raw)
You know, I find a lot of undocumented and unreliable FUD on the Web these
days. I see manufactures, advocacy groups, and other people (all of whom
stand to make a buck on Linux) talking about "64-bit Linux running on the
21264 Alpha processor."
I know that the Linux port to Alpha is almost 2 years old (or older).
My question: Would someone please point me toward a reputable source that
can clear up this 64-bit Linux question?
I have clients that want to know if they can run Linux instead of Tru64
Unix, but still get the 64-bit processor throughput.
Any _reputable_ light that can be shed on this topic will be greatly
appreciated.
Thanks,
Brent
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-26 4:00 64-bit Linux? Brent Davies
1999-06-26 4:00 ` John Wilson
@ 1999-06-26 4:00 ` Christopher B. Browne
1999-06-27 4:00 ` Michal Jaegermann
1999-06-27 4:00 ` Jeff Sturm
3 siblings, 0 replies; 11+ messages in thread
From: Christopher B. Browne @ 1999-06-26 4:00 UTC (permalink / raw)
On Sat, 26 Jun 1999 16:40:53 GMT, Brent Davies <brentdavies@home.com> posted:
>You know, I find a lot of undocumented and unreliable FUD on the Web these
>days. I see manufactures, advocacy groups, and other people (all of whom
>stand to make a buck on Linux) talking about "64-bit Linux running on the
>21264 Alpha processor."
>
>I know that the Linux port to Alpha is almost 2 years old (or older).
I've had my Alpha box running for longer than that, and Linux/Alpha was
hardly new then. I'd guess closer to 4 years.
>My question: Would someone please point me toward a reputable source that
>can clear up this 64-bit Linux question?
>
>I have clients that want to know if they can run Linux instead of Tru64
>Unix, but still get the 64-bit processor throughput.
>
>Any _reputable_ light that can be shed on this topic will be greatly
>appreciated.
The source code is readily available, and is presumably pretty
authoritative.
There are about three main issues con- Linux on Alpha.
a) GCC does not generate nearly as fast code as does Digital's compiler.
Work is certainly going into remedying this situation, but it still
appears to be true.
b) The Digital UNIX libraries appear to be better optimized than GLIBC.
Again, with ongoing "improvement efforts" to diminish the difference,
but this is still a disadvantage for Linux.
c) Digital UNIX has things like AdvFS, *highly* scalable SMP support, and
the like that Linux just doesn't have (yet?). DU seems to collect data
from devices on "device faults" that can be used to help do preventative
maintenance, and Linux doesn't have that (yet).
Some of these things are "in progress" on Linux, but aren't there yet.
There thus certainly are places where DU can "clean Linux's clock"
in terms of performance and reliability.
But if your issue is whether there is suitable support for the 64
bittedness of the Alpha architecture, then the answer is certainly "Yes,
Linux does that." They may not get *AdvFS* throughput. They may not
be able to do SMP right now.
But those aren't issues that relate to "64 bits."
<sarcasm>
If your clients are primarily worried about making sure they have "as
many bits as the other IS managers," then there is no reason to consider
Digital UNIX to be preferable to Linux.
</sarcasm>
I don't think I'm being sarcastic particularly invalidly; if those
clients actually have a forcible reason to be worried about how many
bits there are here and there, both you and they should be looking at
the Linux kernel sources as well as the GCC code generator for Alpha
for authoritative answers, and if you can't, then all you'll be able
to get from anyone else are either vague platitudes or "warm fuzzies"
to the effect that "Sure! We found that our systems run pretty well!"
If neither you nor they are up to the technical task of looking at
/usr/src/linux/arch/alpha, then the number of bits doesn't much matter;
you should *really* be asking questions about the applications they
expect to run on the system, and then determine which CPU is running
that application best.
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/lsf.html>
cbbrowne@hex.net - "What have you contributed to free software today?..."
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-26 4:00 64-bit Linux? Brent Davies
@ 1999-06-26 4:00 ` John Wilson
1999-06-26 4:00 ` Christopher B. Browne
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: John Wilson @ 1999-06-26 4:00 UTC (permalink / raw)
In article <po7d3.3645$0B1.4209@news.rdc2.occa.home.com>,
Brent Davies <brentdavies@home.com> wrote:
>I have clients that want to know if they can run Linux instead of Tru64
>Unix, but still get the 64-bit processor throughput.
>
>Any _reputable_ light that can be shed on this topic will be greatly
>appreciated.
If you're asking about 64- vs. 32-bit addressing, I believe 32-bit addressing
on Alpha Linux completely died with the BLADE distribution ages ago. It was
just a temporary kludge to get things started, using the machine's natural
pointer size is easier anyway, once you flush out old cruft that assumes
that sizeof(void *) is 4 on every architecture.
Your tone suggests that you think 64-bit Linux is hype, why on earth would
you think that? How many of the Alpha's 64 bits do you expect it to use?
Linux doesn't exactly a history of overstating its abilities, maybe you have
it confused with one of the *other* non-DEC OSes available for the Alpha!
John Wilson
D Bit
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-26 4:00 64-bit Linux? Brent Davies
` (2 preceding siblings ...)
1999-06-27 4:00 ` Michal Jaegermann
@ 1999-06-27 4:00 ` Jeff Sturm
1999-06-27 4:00 ` Greg Lindahl
1999-06-27 4:00 ` Michal Jaegermann
3 siblings, 2 replies; 11+ messages in thread
From: Jeff Sturm @ 1999-06-27 4:00 UTC (permalink / raw)
On Sat, 26 Jun 1999, Brent Davies wrote:
> You know, I find a lot of undocumented and unreliable FUD on the Web these
> days. I see manufactures, advocacy groups, and other people (all of whom
> stand to make a buck on Linux) talking about "64-bit Linux running on the
> 21264 Alpha processor."
>
> I know that the Linux port to Alpha is almost 2 years old (or older).
It's older. Early on there were two independent ports taking place, one
was 32-bit and the other was 64-bit. The 32-bit port (BLADE?) disappeared
long ago.
I don't remember many details, but I read all about it in LJ... check
backissues if you're curious.
> My question: Would someone please point me toward a reputable source that
> can clear up this 64-bit Linux question?
What is the question exactly? That Linux supports 64-bit memory
addressing? Run the following code on any Alpha/Linux distribution:
#include <stdio.h>
int main(void) {
printf("sizeof(int) = %d\n", sizeof(int));
printf("sizeof(long) = %d\n", sizeof(long));
printf("sizeof(void *) = %d\n", sizeof(void *));
return 0;
}
It will tell you:
sizeof(int) = 4
sizeof(long) = 8
sizeof(void *) = 8
So the pointer type on Alpha is 64-bits. That suggests Alpha supports
full 64-bit virtual addressing, and it does. Physical addressing is more
constrained... Linux currently supports up to 2GB of physical memory on
Alpha, although some machines can have more (the DS20 for example
supports up to 4GB). (The 2GB limit will probably disappear though
sometime during the 2.x kernel's lifetime.)
One benefit of large virtual addresses is that you can map extrememly
large files to memory:
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <errno.h>
#define SIXTEEN_GB (1L << 34)
int main(void) {
int fd; char *p;
/* Create a 16GB + 4 file */
fd = open("/tmp/junk", O_RDWR|O_CREAT, 0777);
llseek(fd, SIXTEEN_GB, 0);
write(fd, "16GB", 4);
/* Map it to an array and read the last 4 bytes */
p = mmap(NULL, SIXTEEN_GB + 4, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
write(1, p + SIXTEEN_GB, 4);
close(fd);
}
(Warning: do NOT try this code with older kernels or if you don't want to
risk filesystem corruption... bugs in ext2 prevented large files from
working in 2.0.)
In short, you can create a 16GB file and address the whole thing as a char
array. You can't do this on any Intel machine today, or on anything
besides an Alpha or possibly Ultra-SPARC.
> I have clients that want to know if they can run Linux instead of Tru64
> Unix, but still get the 64-bit processor throughput.
Exactly what do you mean by "64-bit processor throughput"? There are no
guarantees that an Alpha will be better or faster than a 32-bit machine
for your applications... though many apps clearly benefit, like those that
need 64-bit arithmetic or large addressing.
> Any _reputable_ light that can be shed on this topic will be greatly
> appreciated.
My "reputable source" is my 164SX, Linux 2.2.10 and egcs 1.1.2... good
enough?
Jeff
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-27 4:00 ` Jeff Sturm
1999-06-27 4:00 ` Greg Lindahl
@ 1999-06-27 4:00 ` Michal Jaegermann
1 sibling, 0 replies; 11+ messages in thread
From: Michal Jaegermann @ 1999-06-27 4:00 UTC (permalink / raw)
Jeff Sturm (jsturm@cc42593-a.taylor1.mi.home.com) wrote:
: On Sat, 26 Jun 1999, Brent Davies wrote:
: > You know, I find a lot of undocumented and unreliable FUD on the Web these
: > days. I see manufactures, advocacy groups, and other people (all of whom
: > stand to make a buck on Linux) talking about "64-bit Linux running on the
: > 21264 Alpha processor."
: >
: > I know that the Linux port to Alpha is almost 2 years old (or older).
: It's older. Early on there were two independent ports taking place, one
: was 32-bit and the other was 64-bit.
Well, no, not really. At the beginning of 1994 Jim Paradis from DEC had
the first running trial implementation of Linux which was indeed 32-bit.
This was never distributed to the public. Short time after that Linus
got involved in the port (Jon "maddog" Hall, also then from DEC - now
with VA Research and Linux International, was instrumental in getting an
Alpha on loan to Linus). 32-bit port got scrapped never to be revived
again and everybody involved was working on the same Linux/Alpha even
if they were not physically at the same place.
: The 32-bit port (BLADE?) disappeared
: long ago.
BLADE, which showed up in 1994 and was available to everybody brave
or foolish enough to try it was 64-bit. In 1995 on Atlanta Linux
Showcase exhibition there was a Linux/Alpha machine running X-windows.
Things started to move quite a bit faster afterwards. :-)
: I don't remember many details, but I read all about it in LJ... check
: backissues if you're curious.
There was an interview with Jim Paradis in one of the issues.
Michal
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-26 4:00 64-bit Linux? Brent Davies
1999-06-26 4:00 ` John Wilson
1999-06-26 4:00 ` Christopher B. Browne
@ 1999-06-27 4:00 ` Michal Jaegermann
1999-06-27 4:00 ` Jeff Sturm
3 siblings, 0 replies; 11+ messages in thread
From: Michal Jaegermann @ 1999-06-27 4:00 UTC (permalink / raw)
Brent Davies (brentdavies@home.com) wrote:
: I have clients that want to know if they can run Linux instead of Tru64
: Unix, but still get the 64-bit processor throughput.
: Any _reputable_ light that can be shed on this topic will be greatly
: appreciated.
Two multi-node computers on Top 500 world supercomputer list run
Alpha Linux. Current positions are 59 and 160 but this is changing
all the time. :-) See:
http://www.cs.sandia.gov/cplant/
http://cnls.lanl.gov/avalon/
http://www.top500.org/
Avalon is a Beowulf cluster but Cplant has a TeraFLOPS like architecture.
I would imagine that this is pretty reputable. :-)
Michal
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-27 4:00 ` Jeff Sturm
@ 1999-06-27 4:00 ` Greg Lindahl
1999-06-27 4:00 ` Brent Davies
1999-06-27 4:00 ` Michal Jaegermann
1 sibling, 1 reply; 11+ messages in thread
From: Greg Lindahl @ 1999-06-27 4:00 UTC (permalink / raw)
Jeff Sturm <jsturm@cc42593-a.taylor1.mi.home.com> writes:
> Physical addressing is more
> constrained... Linux currently supports up to 2GB of physical memory on
> Alpha, although some machines can have more (the DS20 for example
> supports up to 4GB). (The 2GB limit will probably disappear though
> sometime during the 2.x kernel's lifetime.)
I think that the DS20 is limited to 2GB, too, by the PCI
chipset. There is a different mode that supoprts, more, and the
Current Plan is to get it into 2.3.X, because the Sparc port, Merced,
and big-memory Intel ports need such support too.
> Exactly what do you mean by "64-bit processor throughput"? There are no
> guarantees that an Alpha will be better or faster than a 32-bit machine
> for your applications... though many apps clearly benefit, like those that
> need 64-bit arithmetic or large addressing.
It sounds like someone bought the "64 bit processors can manipulate
twice as much data as 32 bit processors" slogan. That's true for some
codes but not many.
-- g
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-27 4:00 ` Greg Lindahl
@ 1999-06-27 4:00 ` Brent Davies
1999-06-28 4:00 ` Christopher B. Browne
0 siblings, 1 reply; 11+ messages in thread
From: Brent Davies @ 1999-06-27 4:00 UTC (permalink / raw)
I'm replying at the lowest level of this thread hoping that everyone will
catch it.
I want to clear something up. I never intended to claim that "Linux" ever
says things about itself that are untrue (this was suggested earlier in the
string). I meant to suggest that there are too many zealots out there with
not enough "MIPS" to know what they're talking about. I came to linux.alpha
figuring that I'd find some serious answers to a serious question, and I
sure did!
Thank you all for the great info. I have customers now wanting to know
about Linux performance on the Alpha 64-bit architecture. I admit that I
know less than I should about the architecture itself. I focus my hardware
education on network infrastructure (routing, switching, high-speed WAN
links, etc.). I have a lot of catching up to do with the server hardware.
All of these suggestions are going to come in very handy.
I also fear that many of the clients asking about this issue are deluded by
the "64-bit processors are faster and that's all I need", or "as long as the
OS is 64-bit capable then my systems will scream!" I have some educating to
do.
Thanks again for the help.
-Brent
Greg Lindahl <lindahl@pbm.com> wrote in message
news:7l61dd$2jmq@news1.newsguy.com...
> Jeff Sturm <jsturm@cc42593-a.taylor1.mi.home.com> writes:
>
> > Physical addressing is more
> > constrained... Linux currently supports up to 2GB of physical memory on
> > Alpha, although some machines can have more (the DS20 for example
> > supports up to 4GB). (The 2GB limit will probably disappear though
> > sometime during the 2.x kernel's lifetime.)
>
> I think that the DS20 is limited to 2GB, too, by the PCI
> chipset. There is a different mode that supoprts, more, and the
> Current Plan is to get it into 2.3.X, because the Sparc port, Merced,
> and big-memory Intel ports need such support too.
>
> > Exactly what do you mean by "64-bit processor throughput"? There are no
> > guarantees that an Alpha will be better or faster than a 32-bit machine
> > for your applications... though many apps clearly benefit, like those
that
> > need 64-bit arithmetic or large addressing.
>
> It sounds like someone bought the "64 bit processors can manipulate
> twice as much data as 32 bit processors" slogan. That's true for some
> codes but not many.
>
> -- g
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-27 4:00 ` Brent Davies
@ 1999-06-28 4:00 ` Christopher B. Browne
1999-07-01 4:00 ` Timothy J. Bogart
0 siblings, 1 reply; 11+ messages in thread
From: Christopher B. Browne @ 1999-06-28 4:00 UTC (permalink / raw)
On Sun, 27 Jun 1999 22:17:40 -0700, Brent Davies <brentdavies@home.com> posted:
>I'm replying at the lowest level of this thread hoping that everyone will
>catch it.
>
>I want to clear something up. I never intended to claim that "Linux" ever
>says things about itself that are untrue (this was suggested earlier in the
>string). I meant to suggest that there are too many zealots out there with
>not enough "MIPS" to know what they're talking about. I came to linux.alpha
>figuring that I'd find some serious answers to a serious question, and I
>sure did!
This "Alpha arena" is of somewhat better quality (e.g. - decent signal-to
-noise ratio) than many other newsgroups.
Probably because actually *running* a Linux/Alpha box means some combination
of:
a) Expertise being deployed on some of the older Alpha systems (e.g. - some
of us run ancient Multia systems, and have few illusions about that variety
of machine being *vastly* more powerful than IA-32 brethren), and
b) Powerful Alpha boxes being fairly expensive, and thus out of the price
range for the "pimply-nosed teenagers with toys" demographic segment.
>Thank you all for the great info. I have customers now wanting to know
>about Linux performance on the Alpha 64-bit architecture. I admit that I
>know less than I should about the architecture itself. I focus my hardware
>education on network infrastructure (routing, switching, high-speed WAN
>links, etc.). I have a lot of catching up to do with the server hardware.
>All of these suggestions are going to come in very handy.
>
>I also fear that many of the clients asking about this issue are deluded by
>the "64-bit processors are faster and that's all I need", or "as long as the
>OS is 64-bit capable then my systems will scream!" I have some educating to
>do.
The *killer* question continues to be, and probably will remain, whether
or not the software that the users want to run will provide demonstrably
better results on Alpha.
For Oracle/Linux, the answer is "no," as Oracle is not available for any
Linux architecture other than IA-32.
Similar will be true for rather a lot of other software; there are not a
*lot* of commercial software offerings for Linux/Alpha at this point in
time, certainly not in comparison with the pretty vast selection for
IA-32.
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/alpha.html>
cbbrowne@hex.net - "What have you contributed to free software today?..."
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-06-28 4:00 ` Christopher B. Browne
@ 1999-07-01 4:00 ` Timothy J. Bogart
1999-07-03 4:00 ` Christopher Browne
0 siblings, 1 reply; 11+ messages in thread
From: Timothy J. Bogart @ 1999-07-01 4:00 UTC (permalink / raw)
In article <slrn7ne2pt.ifh.cbbrowne@godel.brownes.org>,
Christopher B. Browne <cbbrowne@hex.net> wrote:
>On Sun, 27 Jun 1999 22:17:40 -0700, Brent Davies <brentdavies@home.com> posted:
[snip]
>This "Alpha arena" is of somewhat better quality (e.g. - decent signal-to
>-noise ratio) than many other newsgroups.
>
>Probably because actually *running* a Linux/Alpha box means some combination
>of:
>a) Expertise being deployed on some of the older Alpha systems (e.g. - some
>of us run ancient Multia systems, and have few illusions about that variety
>of machine being *vastly* more powerful than IA-32 brethren), and
>
>b) Powerful Alpha boxes being fairly expensive, and thus out of the price
>range for the "pimply-nosed teenagers with toys" demographic segment.
>
[snip]
Beware. With the prices coming down, at least some 'old farts who
almost know what they are doing' are creeping in. i.e. moi. 8-)
I intend to unpack a new system over the holiday.....
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 64-bit Linux?
1999-07-01 4:00 ` Timothy J. Bogart
@ 1999-07-03 4:00 ` Christopher Browne
0 siblings, 0 replies; 11+ messages in thread
From: Christopher Browne @ 1999-07-03 4:00 UTC (permalink / raw)
On 1 Jul 1999 13:11:42 -0500, Timothy J. Bogart
<tjb@Starbase.NeoSoft.COM> wrote:
>Beware. With the prices coming down, at least some 'old farts who
>almost know what they are doing' are creeping in. i.e. moi. 8-)
>
>I intend to unpack a new system over the holiday.....
Canada Day's a nice holiday, is it not... (I do know that's likely
not what you meant.)
--
Would-be National Mottos:
Canada: "We're nicer than you, and we've got national health insurance."
(Message on billboards all over the US-Canada border, sponsored by the
National Council of Smug Canadians)
cbbrowne@hex.net- <http://www.hex.net/~cbbrowne/canada.html>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1999-07-03 4:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-26 4:00 64-bit Linux? Brent Davies
1999-06-26 4:00 ` John Wilson
1999-06-26 4:00 ` Christopher B. Browne
1999-06-27 4:00 ` Michal Jaegermann
1999-06-27 4:00 ` Jeff Sturm
1999-06-27 4:00 ` Greg Lindahl
1999-06-27 4:00 ` Brent Davies
1999-06-28 4:00 ` Christopher B. Browne
1999-07-01 4:00 ` Timothy J. Bogart
1999-07-03 4:00 ` Christopher Browne
1999-06-27 4:00 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox