linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Christian Borntrdger <linux-kernel@borntraeger.net>,
	Derek Glidden <dglidden@illusionary.com>
Subject: Re: Requirement: swap = RAM x 2.5 ??
Date: 06 Jun 2001 12:42:03 -0600	[thread overview]
Message-ID: <m1snhd5u2s.fsf@frodo.biederman.org> (raw)
In-Reply-To: <3B1E52FC.C17C921F@mandrakesoft.com>

Jeff Garzik <jgarzik@mandrakesoft.com> writes:

> I'm sorry but this is a regression, plain and simple.
> 
> Previous versons of Linux have worked great on diskless workstations
> with NO swap.
> 
> Swap is "extra space to be used if we have it" and nothing else.

Given the slow speed of disks to use them efficiently when you are using
swap some additional rules apply.

In the worse case when swapping is being used you get:
Virtual Memory = RAM + (swap - RAM).

That cannot be improved.  You can increase your likely hood that that case won't
come up, but that is a different matter entirely.  

I suspect in practice that we are suffering more from lazy reclamation
of swap pages than from a more aggressive swap cache. 

Eric

--
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-mm.org/

  parent reply	other threads:[~2001-06-06 18:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3B1D5ADE.7FA50CD0@illusionary.com>
     [not found] ` <991815578.30689.1.camel@nomade>
     [not found]   ` <20010606095431.C15199@dev.sportingbet.com>
     [not found]     ` <0106061316300A.00553@starship>
     [not found]       ` <200106061528.f56FSKa14465@vindaloo.ras.ucalgary.ca>
     [not found]         ` <000701c0ee9f$515fd6a0$3303a8c0@einstein>
2001-06-06 15:57           ` Jeff Garzik
2001-06-06 16:12             ` Richard Gooch
2001-06-06 16:15               ` Jeff Garzik
2001-06-06 16:19                 ` Richard Gooch
2001-06-06 16:53                   ` Mike Galbraith
2001-06-06 18:42             ` Eric W. Biederman [this message]
2001-06-07  1:29               ` Jan Harkes

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=m1snhd5u2s.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=dglidden@illusionary.com \
    --cc=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@borntraeger.net \
    --cc=linux-kernel@vger.kernel.org \
    --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