mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Dejan Muhamedagic <dejan@hello-penguin.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: vm issues (2)
Date: Tue, 25 Feb 2003 18:08:30 +0100	[thread overview]
Message-ID: <20030225170830.GL29467@dualathlon.random> (raw)
In-Reply-To: <20030225171540.A12884@smp.colors.kwc>

On Tue, Feb 25, 2003 at 05:15:40PM +0100, Dejan Muhamedagic wrote:
> Andrea:
> 
> On Tue, Feb 25, 2003 at 04:32:13PM +0100, Andrea Arcangeli wrote:
> > On Tue, Feb 25, 2003 at 01:13:28PM +0100, Dejan Muhamedagic wrote:
> > > 
> > > The aa kernel keeps ~200MB out of 6GB of memory unused.  I'm not
> > > sure, but if we could reduce it perhaps there would be much less
> > > swapping.  Is there a way to achieve this?
> > 
> > that is a feature, it guarantees highmem unfreeable allocations like
> > pagetables can't eat all your normal zone. You can reduce the 200MB with
> > this boot command:
> > 
> > 	lower_zone_reserve=256,256
> 
> But isn't 200MB too much?  Where would the new setting put the

no, on a 6GB it isn't too much compared to risk wasting several giga of
highmem.

> reserve mark?

the new reserve mark will turn it to around 25mbyte, of course your risk
to run in normal zone shortages increases that way.

> > As to decrease the swapping I just told you how to do that tweaking
> > vm_mapped_ratio.
> 
> Well, it has been set to 500, but it didn't make any difference
> (at least no obvious difference).  Is there anything more one
> could do about that?  The current level of swapping hurts
> performance quite a bit.  This is what the meminfo looks
> like:

you can try 10000.

Andrea

      reply	other threads:[~2003-02-25 16:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-25 12:13 Dejan Muhamedagic
2003-02-25 15:32 ` Andrea Arcangeli
2003-02-25 16:15   ` Dejan Muhamedagic
2003-02-25 17:08     ` Andrea Arcangeli [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=20030225170830.GL29467@dualathlon.random \
    --to=andrea@suse.de \
    --cc=dejan@hello-penguin.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®