Re: allocate more than 2 GB on IA32

χΙΤΑΜΙΚ (manushkinvv@desnol.ru)
Tue, 11 Feb 2003 12:33:57 +0300


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-13635-1044955988-0001-2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> I tought it should be possible to allocate up to 2.9 GB of memory to a
> process, with this kernel settings.
Obviously, No.
Unfortunatly kernel do not use segments (fully). So even you have HIMEM at the kernel it's not possible to user program to address more than 4 gb a ram at the same time. And as far as i know program can not have more than 1 gm of usable readwrite memory.

THe only way for u is to use 64 bit architecture... or remap default address range splitting increase address range for pgrogram data (it's require to recompile all programs).

Agri

On Tue, 11 Feb 2003 10:15:54 +0100
Hartmut Manz <manz@intes.de> wrote:

> Hello,
>
> i would like to allocate more than 2 GB of memory on an IA32 architecture.
>
> The machine is a dual XEON_DP with 3 GB of Ram and 4 GB of swap space.
>
> I have tried with the default SUSE 8.1 kernel as well as with a
> 2.4.20-pre4aa1 Kernel compile by my own using these Options:
>
> CONFIG_HIGHMEM4G=y
> CONFIG_HIGHMEM=y
> CONFIG_1GB=y
>
> but I am only able to allocate 2 GB with a single malloc call.
> I tought it should be possible to allocate up to 2.9 GB of memory to a
> process, with this kernel settings.
>
> Thank You for any help
>
> Hartmut Manz
>
> --
> -----------------------------------------------------------------------------
> Hartmut Manz WWW: http://www.intes.de
> INTES GmbH Phone: +49-711-78499-29
> Schulze-Delitzsch-Str. 16 Fax: +49-711-78499-10
> D-70565 Stuttgart E-mail: manz@intes.de
> Ein Mensch sieht, was vor Augen ist; der Herr aber sieht das Herz an.
> ------------------------------------------------------- 1. Samuel 16, 7 -----
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--=_courier-13635-1044955988-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+SMOIXLqYWeM+eNsRAkU8AJ0fsbBfOHnYE1+DOCXEsnNXi38eQACeLXCG
fxt354Mq+DNP6pbzkjEHbWs=
=YDTC
-----END PGP SIGNATURE-----

--=_courier-13635-1044955988-0001-2--