linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Simon Derr <Simon.Derr@imag.fr>
Cc: Simon Derr <Simon.Derr@imag.fr>, linux-mm@kvack.org
Subject: Re: Want to allocate almost all the memory with no swap
Date: Thu, 19 Apr 2001 17:58:38 +0200 (MEST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0104191755240.10028-100000@guarani.imag.fr> (raw)
In-Reply-To: <nl1udt010qnhu78ccoc2bv286h6r3hfn9r@4ax.com>

On Thu, 19 Apr 2001, James A. Sutherland wrote:

> On Thu, 19 Apr 2001 17:39:23 +0200 (MEST), you wrote:
> 
> >Hi,
> >
> >I'm currently trying to run a high-performance bench on a cluster of PCs
> >under Linux. This bench is the Linpack test, and needs a lot of memory to
> >store a matrix of numbers. Linpack needs to allocate as much as 240 Megs
> >on a machine that has 256 Megs of RAM, but I have to be sure that the
> >memory used by linpack will never be swapped on the disk.
> 
> Call mlockall() to lock all your memory into physical RAM - there's a
> flag to set which ensures all your future allocations are locked as
> well. You should be left with 16 Mb of physical RAM free, plus swap,
> so you should be able to do this as long as the machine isn't too
> heavily loaded at the time - no running Netscape during benchmarks :-)

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

	Simon.
     

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

  reply	other threads:[~2001-04-19 15:58 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 [this message]
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

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=Pine.LNX.4.21.0104191755240.10028-100000@guarani.imag.fr \
    --to=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