linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: "José Manuel Román Ramírez" <uzi@xerxes.conectiva.com.br>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Rik van Riel <riel@conectiva.com.br>,
	linux-mm@kvack.org
Subject: Re: Bug? in 2.4 memory management...
Date: Wed, 7 Mar 2001 18:23:18 -0300 (BRT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0103071821510.867-100000@freak.distro.conectiva> (raw)
In-Reply-To: <01030712333600.03019@xerxes>


On Wed, 7 Mar 2001, Jose Manuel Roman Ramirez wrote:

> Hi,
> I think we've 'discovered' a bug regarding the kernel 2.4.2-ac11 (and maybe 
> other) and the memory management. It seems that the cached memory sometimes 
> is not freed as more memory is required. 
> 
> The system where we have detected the problem was an athlon 1ghz, 1.2gb of 
> ram, and a swapfile of 2gb.
> 
> When we run a program that requires/uses 1ghz of memory, and we kill it, all 
> (or nearly all) the memory is used by the cache, as we load a hugue file. The 
> next time we run the program, it seems like the kernel can't use the cached 
> memory and the memory we need is taken from the swap. Note however that when 
> we set a swap partition smaller than the memory required, let's say 128mb, 
> the problem disappears as the cache memory is used instead the swap...
> 
> So, what's wrong? Thanks in advance!

VM balance is not quite right. 

Could you please try ac12 (which has a patch to tune the VM a bit) and
report results?

--
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-03-07 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-07 11:33 José Manuel Román Ramírez
2001-03-07 21:23 ` Marcelo Tosatti [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=Pine.LNX.4.21.0103071821510.867-100000@freak.distro.conectiva \
    --to=marcelo@conectiva.com.br \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-mm@kvack.org \
    --cc=riel@conectiva.com.br \
    --cc=uzi@xerxes.conectiva.com.br \
    /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