mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.4 VM & swap question
Date: Sun, 17 Jun 2001 12:33:26 -0700	[thread overview]
Message-ID: <20010617123326.G11642@opus.bloom.county> (raw)
In-Reply-To: <20010617104836.B11642@opus.bloom.county> <20010617221239.B1027@spiral.extreme.ro> <20010617122033.F11642@opus.bloom.county> <20010617223147.A5849@spiral.extreme.ro>
In-Reply-To: <20010617223147.A5849@spiral.extreme.ro>

On Sun, Jun 17, 2001 at 10:31:47PM +0300, Dan Podeanu wrote:
> > Yes, I know there's no hard and fast rule for the exact ammount of ram/swap one
> > needs that will always work.  However, in 2.2 for a 'workstation' one could
> > usually quite happily get away with having 128:128 and never have much of a
> > problem.  with 2.4.0 and up this isn't the case.  This has been the cause
> > of many people complaining quite loudly about 2.4 VM sucking and having
> > lots of OOM kills going about.  It's also been called an 'aritificial limit'
> > since one of the VM people had a patch to 'fix' this.  What I'm trying to
> > figure out is if this problem exists linearly or just with 'lower' ammounts
> > of total physical ram.  ie if I jump up to 512mb and don't have a webserver
> > or database (ie I've got 512mb so I end up with a big disk cache) will I need
> > to have 1gb of swap just to keep the VM happy?  Will 256 be enough?  Could I
> > even live w/o swap?
> 
> Probably you'd live with 512MB of swap.

Seeing as 256:256 seems to be doing fine on my other two machines, yes, it
might.  But since I'd repartition too (I hate swapfiles) I'd like to do it
once and be done with it.  I'd also like to know what exactly causes the
original problem (Like I said, my workload hasn't changed nor my programs
that much.  And w/ twice my swap I get the same swap usage I used to get
in 2.2/late 2.3..)

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

  reply	other threads:[~2001-06-17 19:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-17 17:48 Tom Rini
2001-06-17 18:58 ` Jakob Østergaard
2001-06-17 19:06   ` Tom Rini
2001-06-17 21:43   ` alterity
2001-06-17 19:12 ` Dan Podeanu
2001-06-17 19:20   ` Tom Rini
2001-06-17 19:31     ` Dan Podeanu
2001-06-17 19:33       ` Tom Rini [this message]
2001-06-18 11:21 root
2001-06-19  5:30 ` Mike Galbraith
2001-06-19  6:13   ` Rik van Riel
2001-06-19  7:37     ` Mike Galbraith
2001-06-19  7:36   ` Steve Kieu
2001-06-19  8:13     ` Mike Galbraith

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=20010617123326.G11642@opus.bloom.county \
    --to=trini@kernel.crashing.org \
    --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®