linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank van Maarseveen <fvm@tasking.nl>
To: linux-kernel@vger.kernel.org
Subject: 2.4.5: swap/VM strangeness
Date: Thu, 14 Jun 2001 18:31:35 +0200	[thread overview]
Message-ID: <20010614183135.A16418@espoo.tasking.nl> (raw)

A PIII with 96MB ram became extremely sluggish inside X11. I managed
to terminate the X server, bringing the system in a useful state
again. While the system was completely quiet (no X server) I noticed
that a lot of both memory and swap was being used for no appearent reason:

# free 
             total       used       free     shared    buffers     cached
Mem:         93692      85164       8528          0       1404      75252
-/+ buffers/cache:       8508      85184
Swap:       133048      54944      78104

# swapoff -a
	(took a minute)

# free
             total       used       free     shared    buffers     cached
Mem:         93692      41760      51932          0       1420      24828
-/+ buffers/cache:      15512      78180
Swap:            0          0          0

# swapon -a
# free
             total       used       free     shared    buffers     cached
Mem:         93692      41852      51840          0       1420      24848
-/+ buffers/cache:      15584      78108
Swap:       133048          0     133048


It looks as if the swap partition is being cached in main memory.

-- 
Frank

                 reply	other threads:[~2001-06-14 16:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010614183135.A16418@espoo.tasking.nl \
    --to=fvm@tasking.nl \
    --cc=frank_van_maarseveen@tasking.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: 2.4.5: swap/VM strangeness' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).