mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: safemode <safemode@speakeasy.net>
To: Alvaro Lopes <alvieboy@alvie.com>, war <war@starband.net>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Swap Usage with Kernel 2.4.14
Date: Sat, 17 Nov 2001 10:05:02 -0500	[thread overview]
Message-ID: <20011117150505Z281761-17408+15446@vger.kernel.org> (raw)
In-Reply-To: <3BF5B275.215D6D44@starband.net> <1005995937.694.0.camel@dwarf>
In-Reply-To: <1005995937.694.0.camel@dwarf>

On Saturday 17 November 2001 06:18, Alvaro Lopes wrote:
> On Sáb, 2001-11-17 at 00:42, war wrote:
> > Regular usage on my box, launching netscape, opera, pan, xchat, gaim;
> > the kernel eventually digs into swap.
> >
> > However, the swap is never released?
> >
> > Mem:   900596K av,  185896K used,  714700K free,       0K shrd,    4172K
> > buff
> > Swap: 2048276K av,   63728K used, 1984548K free                   91176K
> > cached
> >
> > Are there any settings I should have set or be aware of?
> >
> > I current use 4GB support, 1GB of ram, 2GB of swap.
> >
> > Having 1GB, I thought I had enough memory for basic operations without
> > the disk swapping like mad.
>
> AFAIK with 2.4.14 processes can be in memory and swap at the same time.
>

look at swap cached in /proc/meminfo       that will tell you what is 
mirrored. 
Also, your box may not be actually doing much swapping if any at all.  vmstat 
will tell if you're actually doing any swapping at a given time.  
Allocation may carry over to swap, but it doesn't effect performance in any 
way in doing so.  That's why looking at anything but vmstat really wont tell 
you much about what's actually being used in swap. 

  reply	other threads:[~2001-11-17 15:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-17  0:42 war
2001-11-17  2:13 ` Mike Fedyk
2001-11-17 11:18 ` Alvaro Lopes
2001-11-17 15:05   ` safemode [this message]
2001-11-17 21:43     ` Mike Fedyk
2001-11-17 14:59 Ed Tomlinson

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=20011117150505Z281761-17408+15446@vger.kernel.org \
    --to=safemode@speakeasy.net \
    --cc=alvieboy@alvie.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=war@starband.net \
    /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®