All of lore.kernel.org
 help / color / mirror / Atom feed
From: war <war@starband.net>
To: James A Sutherland <jas88@cam.ac.uk>, linux-kernel@vger.kernel.org
Subject: Re: Swap vs No Swap.
Date: Thu, 22 Nov 2001 12:56:07 -0500	[thread overview]
Message-ID: <3BFD3C37.7C5BCCC4@starband.net> (raw)
In-Reply-To: <3BFC5A9B.915B77DF@starband.net> <E166wSm-00063a-00@mauve.csi.cam.ac.uk> <3BFD2997.95F2B9EE@starband.net> <E166xr9-0000Qy-00@mauve.csi.cam.ac.uk>

This is incorrect.
SWAP is used on a [1GB ram/2GB swap system].

I talked to Rik about this.
He said generally SWAP is a good thing and increases performance.

However, in my case it does not.

Nov 22 12:18:41 <war> riel: For a single user system.
Nov 22 12:18:43 <ata> war: what are you trying to do ?
Nov 22 12:18:44 <riel>  war: it all depends on what you use the computer for
Nov 22 12:18:56 <riel>  war: that's a very important thing to specify ;)
Nov 22 12:18:57 <war> General X apps, staroffice/netscape/media
stuff(aviplay)/etc
Nov 22 12:19:06 <war> compiling apps once and awhile
Nov 22 12:19:13 <riel>  war: ok, in that case you omost likely don't need swap
Nov 22 12:19:32 <riel>  war: but you really _need_ to tell what you are using
the computer for before anybody can give a sensible answer ;)
Nov 22 12:19:43 <war> riel: thats what I thought too, yet people still say I do
even after I told them what I was using it for
Nov 22 12:19:52 <ata> learath: nope 1gb will still win just one app will loose
and die
Nov 22 12:19:54 <war> riel: I sent the list of my ps auxww (512 processes) and
I still had 350MB left over.
Nov 22 12:20:05 <riel>  war: yup, I saw that



James A Sutherland wrote:

> On Thursday 22 November 2001 4:36 pm, war wrote:
> > The bottom line here is:
> >
> > There is no need for swap if you have enough ram.
> > Using swap with more than enough ram does absolutley nothing for the
> > system, except by degrading the performance of it.
>
> If the system has so much RAM that EVERYTHING fits in RAM - programs, data
> and FS cache - then the swap won't be touched anyway, and makes no
> difference. This is rather unlikely on a PC; in practice, adding swap should
> always improve matters. (Of course, the VM isn't perfect yet...)
>
> James.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


  reply	other threads:[~2001-11-22 18:00 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-22  1:53 Swap vs No Swap war
2001-11-22  2:23 ` Joel Jaeggli
2001-11-22  2:31   ` war
2001-11-22  2:58 ` Mark Hahn
2001-11-22  4:09 ` listmail
2001-11-22  5:24 ` H. Peter Anvin
2001-11-22  5:30   ` war
2001-11-22  5:32     ` H. Peter Anvin
2001-11-22  9:50       ` Christian Bornträger
2001-11-22  8:50 ` Rik van Riel
2001-11-22 11:00 ` James A Sutherland
2001-11-22 16:00   ` war
2001-11-22 16:08     ` James A Sutherland
2001-11-22 16:57       ` Rik van Riel
2001-11-22 18:56         ` François Cami
2001-11-22 18:58           ` James A Sutherland
2001-11-22 19:17             ` François Cami
2001-11-22 19:36               ` G . Sumner Hayes
2001-11-22 20:37                 ` James A Sutherland
2001-11-23  6:30       ` Charles Marslett
2001-11-23  9:13         ` James A Sutherland
2001-11-23 16:46           ` Charles Marslett
2001-11-22 16:25   ` war
2001-11-22 16:37     ` Ryan Cumming
2001-11-22 17:39     ` James A Sutherland
2001-11-22 17:56       ` war
     [not found] ` <01112211150302.00690@argo>
2001-11-22 16:01   ` war
2001-11-22 16:12     ` James A Sutherland
2001-11-22 16:36       ` war
2001-11-22 16:33         ` Bjorn Wesen
2001-11-22 17:37         ` Thomas S. Iversen
2001-11-22 21:18           ` Mike Galbraith
2001-11-22 17:41         ` James A Sutherland
2001-11-22 17:56           ` war [this message]
2001-11-22 18:08             ` James A Sutherland
2001-11-23 22:05       ` Daniel Gryniewicz
  -- strict thread matches above, loose matches on Subject: below --
2001-11-22 16:11 Elgar, Jeremy
2001-11-22 16:22 ` Ryan Cumming
2001-11-22 16:22 ` Stephan von Krawczynski
2001-11-22 16:29 Elgar, Jeremy
     [not found] <Pine.LNX.4.10.10111221006010.29736-100000@coffee.psychology.mcmaster.ca>
2001-11-22 16:34 ` war
2001-11-26 20:18   ` Kent Borg

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=3BFD3C37.7C5BCCC4@starband.net \
    --to=war@starband.net \
    --cc=jas88@cam.ac.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.