From: "Stephen C. Tweedie" <sct@redhat.com>
To: Brian Litzinger <brian@top.worldcontrol.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: Stuck at 1GB again
Date: Sun, 3 Sep 2000 12:10:35 +0100 [thread overview]
Message-ID: <20000903121035.B7551@redhat.com> (raw)
In-Reply-To: <20000902115032.A2764@top.worldcontrol.com>; from brian@worldcontrol.com on Sat, Sep 02, 2000 at 11:50:32AM -0700
Hi,
On Sat, Sep 02, 2000 at 11:50:32AM -0700, brian@worldcontrol.com wrote:
> The kernel is compiled with the 4GB option. (which I think is
> the 2/2GB option from 2.2.x kernels). I believe the option is
> supposed to assign 2GB of address space to real memory, and
> 2GB to virtual memory (from a per process point of view).
No, it's much better than that in 2.4! The 2.4 4GB option still has
the 3+1 split, and only maps the first just-under-1GB of physical
memory into the kernel's permanent VA space. The rest of the memory
is mapped on demand.
> Without glibc 2.2 I should be able to get to 2GB of memory
> allocated via the heap. I only need glibc 2.2 to start
> mmap'ing malloc'able pools from VM. I.E. beyond 2GB of
> malloc'ed memory.
Right.
> My app running with 1 GB RAM under linux 2.2, with glibc 2.2
> successfully malloc's up to 3GB and the app works fine. (though
> swapping quite a bit).
>
> My app running with 2 GB RAM under linux 2.4.0-test7, with glibc 2.2
> dies at 1 GB of memory used. (it also dies at 1 GB using glibc 2.1.2).
What happens at this point? If you strace the binary, what fails?
--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-09-03 11:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-02 18:50 brian
2000-09-03 11:10 ` Stephen C. Tweedie [this message]
2000-09-03 17:26 ` Kanoj Sarcar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000903121035.B7551@redhat.com \
--to=sct@redhat.com \
--cc=brian@top.worldcontrol.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox