linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Address space limits in IA32 linux
@ 2002-05-14 18:02 Ashok Raj
  2002-05-15 12:43 ` Rik van Riel
  0 siblings, 1 reply; 4+ messages in thread
From: Ashok Raj @ 2002-05-14 18:02 UTC (permalink / raw)
  To: linux-kernel

Hello

what is the maximum addressible virtual address in a IA32 Linux system (4G?)

typically since Database requires a larger address space, does linux kernel
has any config to limit this space for kernel, so that the user process has
more address to play with?

thanks
ashok


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

* Re: Address space limits in IA32 linux
  2002-05-14 18:02 Address space limits in IA32 linux Ashok Raj
@ 2002-05-15 12:43 ` Rik van Riel
  0 siblings, 0 replies; 4+ messages in thread
From: Rik van Riel @ 2002-05-15 12:43 UTC (permalink / raw)
  To: Ashok Raj; +Cc: linux-kernel

On Tue, 14 May 2002, Ashok Raj wrote:

> what is the maximum addressible virtual address in a IA32 Linux system (4G?)

3 GB.

> typically since Database requires a larger address space, does linux
> kernel has any config to limit this space for kernel, so that the user
> process has more address to play with?

The kernel cannot transparently work around the limitations of the
hardware, but the database itself can create shared memory segments
which it maps and unmaps as needed.

Rik
-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/		http://distro.conectiva.com/


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

* Re: Address space limits in IA32 linux
  2002-05-15 12:57 Jesse Pollard
@ 2002-05-15 15:11 ` Bill Davidsen
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Davidsen @ 2002-05-15 15:11 UTC (permalink / raw)
  To: Jesse Pollard; +Cc: Linux Kernel Mailing List

On Wed, 15 May 2002, Jesse Pollard wrote:

> IA32 is by definition limited to 4G. Just because the Kernel may, under
> extreem duress, access more by memory management shenanigans access more,
> user processes are ALWAYS limited to a 32 bit virtual address. Even this
> is more restricted, since shared libraries and other access limits it even
> more. Usually you can stretch it to 3G, but not over that.

Actually you can go to 3.5G now, using readily available patches. However,
your unstated premise is correct, the limit using current kernel and gcc
capabilities is <4G. 

> 
> search the archives - the details are available.

Right, so is 3.5G, but I doubt that anyone with a problem not working in
3G is going to find solace in 3.5G.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


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

* Re: Address space limits in IA32 linux
@ 2002-05-15 12:57 Jesse Pollard
  2002-05-15 15:11 ` Bill Davidsen
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Pollard @ 2002-05-15 12:57 UTC (permalink / raw)
  To: ashokr2, linux-kernel

"Ashok Raj" <ashokr2@attbi.com>:
> 
> Hello
> 
> what is the maximum addressible virtual address in a IA32 Linux system (4G?)
> 
> typically since Database requires a larger address space, does linux kernel
> has any config to limit this space for kernel, so that the user process has
> more address to play with?
> 
> thanks
> ashok

Of course - use IA64, Sparc, or PPC.

IA32 is by definition limited to 4G. Just because the Kernel may, under
extreem duress, access more by memory management shenanigans access more,
user processes are ALWAYS limited to a 32 bit virtual address. Even this
is more restricted, since shared libraries and other access limits it even
more. Usually you can stretch it to 3G, but not over that.

search the archives - the details are available.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

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

end of thread, other threads:[~2002-05-15 15:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14 18:02 Address space limits in IA32 linux Ashok Raj
2002-05-15 12:43 ` Rik van Riel
2002-05-15 12:57 Jesse Pollard
2002-05-15 15:11 ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).