comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: A Customer's Request For Open Source Software
Date: Sun, 24 Aug 2003 02:54:31 GMT
Date: 2003-08-24T02:54:31+00:00	[thread overview]
Message-ID: <3F4828D9.8050700@attbi.com> (raw)
In-Reply-To: e2e5731a.0308221829.3d16a7b@posting.google.com

Alexander Kopilovitch wrote:

> No, there is no need to fetch bunches of memory - compiler will tell (perhaps
> through OS directives) the memory chip suitable value of "base" and it's enough
> - we went through that long ago. Naturally, that will be less efficient than
> we currently associate with "real" (that is, non-virtual) memory - the switches
> of the "base" will take time, but it will be more efficient than disk I/O.

I guess this is not an Ada issue yet, but it will be. ;-)  Remember that 
when Ada first came out, there was no agreement that Integer should be 
32-bits, not 16-bits.  Of course, the only real effect on machines that 
support both 16-bit and 32-bit Integer types is on the size of Strings. 
  Within a few years, as expected, almost all implementations had moved 
to 32-bit Integers.  (Almost all, because of 24 and 36-bit 
implementations. ;-)

For a financial package is 4 Gigabytes of addressable memory enough? 
(Two Gigabytes currently under Windows.)  Some people are running up 
against that limit with spreadsheets, and most large database servers 
use machines with 64-bit address space support.  Note that with current 
large databases a 32-bit address space is insufficient to manage the 
indexes and tables that are (virtual) memory resident.

(Advertisement -- The next paragraph is in some sense a shameless plug 
for the new Opteron from AMD, and for the Athlon64 and Athlon64 FX that 
will be released next month.)

AMD is now selling processors where the architecture supports up to 
64-bit addresses.  The virtual memory system supports 40-bits of 
addressable memory per processor, and the virtual memory system supports 
up to a 48-bit address space.  (But unless you are putting together a 
system with over 1000 processors, those later numbers are details.  The 
Red Storm machine which may soon be the worlds fastest supercomputer 
will have over 10,000 Opteron processors, and I am sure they are working 
the global addressing issue.)  So not only can you now buy machines off 
the shelf that can directly address almost a petabyte of data, some 
organizations are buying them...

But what I wanted to point out about the AMD64 architecture here is that 
with a 64-bit aware OS, modules written in (x86) compatibility mode can 
call dynamically linked libraries that are written in long mode.  So a 
"database" module could address hundreds of Gigabytes of memory 
directly, while the application for the most part uses 32-bit 
addressing.  Compared to a file system call which will take thousands to 
millions of clock cycles, an in memory database can probably be accessed 
in under a hundred clock cycles.  That is a noticeable performance 
improvement.

Apple has also recently started shipping 64-bit machines based on the 
new PowerPC chip from IBM.  And if you are into masochism, there is 
Intel's Itanium2.  (Speaking only as a compiler developer, of course. 
;-)  So in a few years, almost all server hardware should allow users to 
avoid the file system and address enough memory for most accounting 
systems and databases.  Of course, someone will then invent a use for 
all that memory...

-- 
                                                    Robert I. Eachus

"As far as I'm concerned, war always means failure." -- Jacques Chirac, 
President of France
"As far as France is concerned, you're right." -- Rush Limbaugh




  reply	other threads:[~2003-08-24  2:54 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-21 12:35 A Customer's Request For Open Source Software Marin David Condic
2003-08-21 12:46 ` Stephane Richard
2003-08-22 12:32   ` Marin David Condic
2003-08-22 13:38     ` David Holm
2003-08-22 14:33       ` Stephane Richard
2003-08-22 16:40         ` David Holm
2003-08-23 13:18           ` Marin David Condic
2003-08-25  8:27             ` Preben Randhol
2003-08-25 20:50               ` Chad R. Meiners
2003-08-26  1:28                 ` Stephane Richard
2003-08-26  9:27                   ` Preben Randhol
2003-08-26 17:06                     ` Chad R. Meiners
2003-08-26 12:51                   ` Marin David Condic
2003-08-26 18:25                     ` Wes Groleau
2003-08-27 10:05                     ` Dave Head
2003-08-27 12:11                       ` Marin David Condic
2003-08-27 19:45                       ` [off-topic] military medicine Wes Groleau
2003-08-30 17:33               ` A Customer's Request For Open Source Software Jan Kroken
2003-09-01 10:03                 ` Preben Randhol
2003-09-17 18:21                   ` Jan Kroken
2003-08-22 16:46         ` Larry Kilgallen
2003-08-22 17:09           ` Stephane Richard
2003-08-22 18:03             ` Larry Kilgallen
2003-08-25  8:33             ` Preben Randhol
2003-08-23 13:05       ` Marin David Condic
2003-08-30  5:58     ` Adrian Hoe
2003-08-30 11:09       ` Stephane Richard
     [not found]         ` <rti721-4p3.ln1@beastie.ix.netcom.com>
2003-08-31 18:28           ` Christopher Browne
2003-09-02 15:44             ` Adrian Hoe
2003-08-30 13:18       ` Marin David Condic
2003-08-21 20:46 ` Warren W. Gay VE3WWG
2003-08-21 21:12   ` Stephane Richard
2003-08-22 20:26     ` Warren W. Gay VE3WWG
2003-08-22  3:09   ` Hyman Rosen
2003-08-22 12:45     ` Marin David Condic
2003-08-22 20:46     ` Warren W. Gay VE3WWG
2003-08-22 12:37   ` Marin David Condic
2003-08-22 18:59     ` Warren W. Gay VE3WWG
2003-08-22 20:59       ` Warren W. Gay VE3WWG
2003-08-23 13:24         ` Marin David Condic
2003-08-25 19:35         ` Brien
2003-08-25  8:52   ` Preben Randhol
2003-08-25 16:32     ` Warren W. Gay VE3WWG
2003-08-26  9:19       ` Preben Randhol
2003-08-26 21:01         ` Warren W. Gay VE3WWG
2003-08-27  5:15           ` Preben Randhol
2003-08-21 22:53 ` David Holm
2003-08-21 23:11   ` Stephane Richard
2003-08-22  0:04     ` David Holm
2003-08-22  0:17       ` Stephane Richard
2003-08-22  0:19       ` Stephane Richard
2003-08-22 17:49         ` Robert I. Eachus
2003-08-22 20:56           ` Warren W. Gay VE3WWG
2003-08-23  2:29             ` Alexander Kopilovitch
2003-08-24  2:54               ` Robert I. Eachus [this message]
2003-08-24  3:11                 ` Matthew Heaney
2003-08-24 14:57                 ` Marin David Condic
2003-08-24 16:31                   ` Robert I. Eachus
2003-08-25 12:37                     ` Marin David Condic
2003-08-25 14:08                       ` Robert I. Eachus
2003-08-25 21:07                         ` Alexander Kopilovitch
2003-08-26 18:34                       ` Christopher Browne
2003-08-27 12:21                         ` Marin David Condic
2003-08-27 13:37                           ` Warren W. Gay VE3WWG
2003-08-28 22:04                 ` chris
2003-08-29  1:02                   ` Robert I. Eachus
2003-08-29 10:46                     ` Larry Kilgallen
2003-08-29 21:15                       ` Robert I. Eachus
2003-08-29 16:10                     ` Jon S. Anthony
2003-08-30 19:01                     ` Alexander Kopilovitch
2003-08-30 22:57                       ` Robert I. Eachus
2003-08-31 23:04                         ` Alexander Kopilovitch
2003-09-01  2:09                           ` Robert I. Eachus
2003-09-01 16:29                             ` Alexander Kopilovitch
2003-09-01 21:22                               ` Robert I. Eachus
2003-09-02  2:12                                 ` Christopher Browne
2003-09-02  4:16                                   ` Ludovic Brenta
2003-09-02 14:53                                     ` Christopher Browne
2003-09-02 19:52                                       ` Charlie Spitzer
2003-09-03  2:18                                     ` Robert I. Eachus
2003-09-12 12:21                                   ` Jacob Sparre Andersen
2003-09-12 17:49                                     ` Robert I. Eachus
2003-09-13  5:49                                       ` Edward Rice
2003-09-13 18:59                                         ` Robert I. Eachus
2003-09-12 20:45                                     ` Christopher Browne
2003-09-02 16:16                                 ` Alexander Kopilovitch
2003-09-03  2:36                                   ` Robert I. Eachus
2003-09-01 21:44                             ` Larry Kilgallen
     [not found]                             ` <e2e5731a.0309010Organization: LJK Software <og4DamrQ9AuX@eisner.encompasserve.org>
2003-09-03  3:02                               ` Robert I. Eachus
2003-09-03 16:57                                 ` Warren W. Gay VE3WWG
2003-09-04  7:19                                   ` olehjalmar kristensen - Sun Microsystems - Trondheim Norway
2003-09-05 17:06                                     ` Warren W. Gay VE3WWG
2003-09-05 19:27                                     ` Robert I. Eachus
2003-09-03 12:38                             ` Larry Kilgallen
2003-09-06  2:10                             ` Larry Kilgallen
     [not found]                             ` <e2e5731a.03090Organization: LJK Software <D1upWhxUuOLF@eisner.encompasserve.org>
2003-09-06 20:34                               ` Warren W. Gay VE3WWG
2003-09-06 23:36                             ` Larry Kilgallen
     [not found]                       ` <hli721-4p3.ln1@beastie.ix.netcom.com>
2003-08-31  2:35                         ` Robert I. Eachus
2003-08-22 20:49       ` Warren W. Gay VE3WWG
2003-08-23  1:47     ` jim hopper
2003-08-23  1:47       ` Ludovic Brenta
2003-08-25  9:12         ` Preben Randhol
2003-08-25  8:59     ` Preben Randhol
2003-08-25  8:02 ` Preben Randhol
2003-08-25 20:55   ` Chad R. Meiners
2003-08-26  9:28     ` Preben Randhol
replies disabled

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