linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: James A. Sutherland <jas88@cam.ac.uk>
To: Simon Derr <Simon.Derr@imag.fr>
Cc: linux-mm@kvack.org
Subject: Re: Want to allocate almost all the memory with no swap
Date: Thu, 19 Apr 2001 18:31:38 +0100	[thread overview]
Message-ID: <p58udtg6lm1i3j4s6iq434af3mtfbske4j@4ax.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0104191833070.10083-100000@guarani.imag.fr>

On Thu, 19 Apr 2001 18:46:00 +0200 (MEST), you wrote:

>> >Well, I have removed as many processes deamons as I could, and there are
>> >not many left.
>> >But under both 2.4.2 and 2.2.17 (with swap on)I get, when I run my
>> >program:
>> >
>> >mlockall: Cannot allocate memory
>> 
>> Hrm? Can you trim the consumption a bit - try cutting a big chunk out,
>> like 64 Mb, and see if it works then?
>> 
>If I ask much less memory it works.. but has no interest.
>
>In fact I a call mlockall() _before_ doing my big malloc, it works even
>when I ask 240 megs, but:
>-Under 2.2.17, quickly the kernel kills my process

Gagh?! What signal? Any oops/core/panic?

>-Under 2.4.2, kswapd again eats the CPU:

Does it eat it continually, or do you get it back after a while? You
SHOULD see it chewing up all the CPU until it has evicted 240 Mb worth
of pages, then going back to sleep...


James.
--
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/

      parent reply	other threads:[~2001-04-19 17:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-19 15:39 Simon Derr
2001-04-19 15:41 ` James A. Sutherland
2001-04-19 15:58   ` Simon Derr
2001-04-19 15:57     ` Kev
2001-04-19 16:11       ` James A. Sutherland
2001-04-19 16:12       ` Simon Derr
2001-04-19 16:10     ` James A. Sutherland
2001-04-19 16:46       ` Simon Derr
2001-04-19 16:56         ` Simon Derr
2001-04-19 17:51           ` Rik van Riel
2001-04-26 16:16             ` Szabolcs Szakacsits
2001-04-19 17:31         ` James A. Sutherland [this message]

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=p58udtg6lm1i3j4s6iq434af3mtfbske4j@4ax.com \
    --to=jas88@cam.ac.uk \
    --cc=Simon.Derr@imag.fr \
    --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