Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: John Wallace <johnwallace4@yahoo.co.uk>
Subject: Re: OpenVMS Still Only 32-Bit Addresses!?
Date: Sun, 13 Feb 2011 13:30:15 -0800 (PST)	[thread overview]
Message-ID: <efb7a61b-5732-4724-8b6c-ed3fca537ae4@r13g2000yqk.googlegroups.com> (raw)
In-Reply-To: ij8r0v$jt8$02$1@news.t-online.com

On Feb 13, 2:49 pm, Michael Kraemer <M.Krae...@gsi.de> wrote:
> John Wallace schrieb:
>
> > On Feb 13, 2:21 pm, Michael Kraemer <M.Krae...@gsi.de> wrote:
>
> > You are rather misunderstanding the difference between a 64bit virtual
> > address and the ability to address more than 32bits of physical
> > memory.
>
> Don't think so. A 64bit number cruncher is pretty useless
> without enough RAM under the hood.
> And, btw, the first Alphas had only 43 bits address space,
> from which only 34 bits were actually implemented.
>
> > But don't worry about it, plenty of others have made the same
> > mistake.
>
>

"A 64bit number cruncher is pretty useless without enough RAM under
the hood."

Don't think so right back at you.

You have your definition of 64bit number cruncher and the rest of the
world has theirs.

It's perfectly possible to have a problem that requires 64bit
precision without needing massive datasets (ie bigger than 32bit
address space, or whatever maximum amount the OS allows the app to
use). In fact for a long time the 64bit address space wasn't even
practical. Even now, with 64bit-addressable processors the industry
default, not many boxes actually need more than 32bits worth of
address space of physical memory (that's probably less true this year
than it was before Windows Vista).

The number of applications needing >32bit virtual or physical address
space was and is relatively small in comparison with the number that
may benefit from >32bit precision. E.g. how big is C "long long" in
your world? Does "long long" arithmetic appear (to application
programmers) to work on a 32bit CPU with a 32bit OS?

You may be familiar with UNIX's time_t, which is now 64bits.
Calculations using it (or any similar 64bit quantity) don't need a
64bit virtual address space, but they do benefit from more than 32 bit
arithmetic.

There are still lots of apps where 64bits is too much wasted memory
for a default int though; why waste half your valuable cache?

One way to avoid the "what does 64bit mean" ambiguity is to use the
"ILP" notation that goes back a good few years - right back, in fact
to the early 1990s when 64bit processors were first introduced.

ILP32 means that integers, longs, and pointers are all 32bit.

ILP64 means that integers, longs, and pointers are all 64bit.

LP64 means that longs and pointers (but not integers) are 64bit.

And so on.

You can find further discussions on how this relates to VMS in the VMS
Calling Standard docs. As has been pointed out, user programs on VMS
miraculously appear to use the ILP32 model even though the underlying
hardware operates in 64bit address mode. (Stuff that works closer to
the hardware may well *have* to know about these distinctions; normal
user apps don't).

If I remember rightly, Tru64 (DEC OSF/1 as it then was) and Solaris
both use(d) the LP64 model. 64bit Linux on AMD64 also uses LP64; "int"
remains 32bits by default.


  reply	other threads:[~2011-02-13 21:30 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13  0:37 OpenVMS Still Only 32-Bit Addresses!? Lawrence D'Oliveiro
2011-02-13  1:44 ` tothestarsby2100
2011-02-13  2:24   ` Lawrence D'Oliveiro
2011-02-13 14:18     ` VAXman-
2011-02-13 22:16       ` Lawrence D'Oliveiro
2011-02-13 23:49         ` John Wallace
2011-02-14  0:18           ` VAXman-
2011-02-14  0:31           ` glen herrmannsfeldt
2011-02-13  3:06 ` Hans Bachner
2011-02-13  9:39 ` Hans Vlems
2011-02-13 10:34   ` Lawrence D'Oliveiro
2011-02-13 11:19     ` glen herrmannsfeldt
2011-02-13 14:21       ` Michael Kraemer
2011-02-13 14:32         ` John Wallace
2011-02-13 14:49           ` Michael Kraemer
2011-02-13 21:30             ` John Wallace [this message]
2011-02-13 22:44               ` glen herrmannsfeldt
2011-02-14  1:47                 ` Lawrence D'Oliveiro
2011-02-14 18:17                   ` Bob Koehler
2011-02-14 23:39                     ` Lawrence D'Oliveiro
2011-02-15 14:34                     ` Bob Koehler
2011-02-14  8:38               ` Michael Kraemer
2011-02-14  9:47                 ` Lawrence D'Oliveiro
2011-02-14 23:11                 ` Dennis Grevenstein
2011-02-14 23:42                   ` Lawrence D'Oliveiro
2011-02-15  2:11                   ` Michael Kraemer
2011-02-15  3:35                     ` Lawrence D'Oliveiro
2011-02-15  8:31                       ` Michael Kraemer
2011-02-15  8:46                         ` John Wallace
2011-02-15  9:57                           ` Michael Kraemer
2011-02-15 23:22                             ` Lawrence D'Oliveiro
2011-02-16  6:06                               ` Michael Kraemer
2011-02-16 11:59                                 ` Lawrence D'Oliveiro
2011-02-15 23:42                             ` John Wallace
2011-02-15 14:38                     ` Bob Koehler
     [not found]                     ` <ijcs9p$hv4Organization: Encompasserve <WE3oMqzMhq9Z@eisner.encompasserve.org>
2011-02-15 17:07                       ` Michael Kraemer
2011-02-15 23:21                         ` Lawrence D'Oliveiro
2011-02-16  6:09                           ` Michael Kraemer
2011-02-16 11:54                             ` Lawrence D'Oliveiro
2011-02-13 22:33           ` glen herrmannsfeldt
2011-02-13 22:18         ` Lawrence D'Oliveiro
2011-02-13 22:50           ` glen herrmannsfeldt
2011-02-14  1:50             ` Lawrence D'Oliveiro
2011-02-14  3:22               ` glen herrmannsfeldt
2011-02-14 18:18                 ` Bob Koehler
2011-02-14 19:35                   ` glen herrmannsfeldt
2011-02-14 20:07                   ` Bob Eager
2011-02-14 23:09                     ` Lawrence D'Oliveiro
2011-02-14 23:11                       ` Bob Eager
2011-02-14 23:39                         ` Lawrence D'Oliveiro
2011-02-15  0:12                           ` Bob Eager
2011-02-15  1:56                             ` Lawrence D'Oliveiro
2011-02-15  6:45                               ` Bob Eager
2011-02-15 12:26                               ` VAXman-
2011-02-15  2:51                             ` VAXman-
2011-02-13 22:28         ` glen herrmannsfeldt
2011-02-14 18:10   ` Bob Koehler
2011-02-14 20:44     ` Jerome H. Fine
2011-02-14 21:00       ` Michael Kraemer
2011-02-14 22:29       ` John Wallace
2011-02-14 20:04   ` John Wallace
2011-02-13 14:08 ` VAXman-
2011-02-13 14:34 ` John Wallace
2011-02-13 14:54   ` VAXman-
2011-02-13 22:14     ` Lawrence D'Oliveiro
2011-02-14  0:08       ` VAXman-
2011-02-14  0:51         ` John Wallace
2011-02-14  1:22           ` VAXman-
2011-02-14  4:00           ` glen herrmannsfeldt
2011-02-14  8:03             ` Michael Kraemer
2011-02-14 18:20               ` Bob Koehler
2011-02-14  0:11       ` VAXman-
2011-02-13 22:15   ` Lawrence D'Oliveiro
2011-02-13 23:40     ` John Wallace
2011-02-14  1:20       ` Hans Bachner
2011-02-14 18:09 ` Bob Koehler
read-only archive

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