linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@sig21.net>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: Hillf Danton <dhillf@gmail.com>,
	linux-kernel@vger.kernel.org, Rik van Riel <riel@redhat.com>,
	linux-mm@kvack.org
Subject: Re: swap storm since kernel 3.2.x
Date: Wed, 8 Feb 2012 12:52:44 +0100	[thread overview]
Message-ID: <20120208115244.GA24959@sig21.net> (raw)
In-Reply-To: <201202080956.18727.toralf.foerster@gmx.de>

On Wed, Feb 08, 2012 at 09:56:15AM +0100, Toralf Forster wrote:
> 
> From what I can tell is this:
> If the system is under heavy I/O load and hasn't too much free RAM (git pull, 
> svn update and RAM consuming BOINC applications) then kernel 3.0.20 handle 
> this somehow while 3.2.x run into a swap storm like.

FWIW, I also saw heavy swapping with 3.2.2 with the
CONFIG_DEBUG_OBJECTS issue reported here:
http://lkml.org/lkml/2012/1/30/227

But the thing is that even though SUnreclaim was
huge there was still 1G MemFree and it swapped heavily
on idle system when just switching between e.g. Firefox and gvim.

Today I'm running 3.2.4 with CONFIG_DEBUG_OBJECTS disabled
(but otherwise the same config) and it doesn't swap even
after a fair amount of I/O:

MemTotal:        3940088 kB
MemFree:         1024920 kB
Buffers:          293328 kB
Cached:           447796 kB
SwapCached:           24 kB
Active:           847136 kB
Inactive:         567200 kB
Active(anon):     478736 kB
Inactive(anon):   246744 kB
Active(file):     368400 kB
Inactive(file):   320456 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       3903484 kB
SwapFree:        3903196 kB
Dirty:                16 kB
Writeback:             0 kB
AnonPages:        673192 kB
Mapped:            40956 kB
Shmem:             52268 kB
Slab:            1434188 kB
SReclaimable:    1367388 kB
SUnreclaim:        66800 kB
KernelStack:        1600 kB
PageTables:         4880 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     5873528 kB
Committed_AS:    1744916 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      348116 kB
VmallocChunk:   34359362739 kB
DirectMap4k:       12288 kB
DirectMap2M:     4098048 kB

  OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
  586182 353006  60%    1.74K  32595       18   1043040K ext3_inode_cache
  289062 170979  59%    0.58K  10706       27    171296K dentry
  247266 107729  43%    0.42K  13737       18    109896K buffer_head


Johannes

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2012-02-08 11:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201202041109.53003.toralf.foerster@gmx.de>
     [not found] ` <20120204133331.GA13223@sig21.net>
     [not found]   ` <201202041536.52189.toralf.foerster@gmx.de>
2012-02-05  4:45     ` Hillf Danton
2012-02-05 10:07       ` Toralf Förster
2012-02-05 11:38         ` Hillf Danton
2012-02-08  8:56           ` Toralf Förster
2012-02-08 11:52             ` Johannes Stezenbach [this message]
2012-02-08 12:34               ` Hillf Danton
2012-02-09 11:36                 ` Johannes Stezenbach
2012-02-09 12:02                   ` Hillf Danton
2012-02-09 13:21                     ` Johannes Stezenbach
2012-02-09 13:54                       ` Johannes Stezenbach
2012-02-09 14:06                         ` Rik van Riel
2012-02-10 12:36                           ` Hillf Danton
2012-02-09 13:04                   ` Toralf Förster

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=20120208115244.GA24959@sig21.net \
    --to=js@sig21.net \
    --cc=dhillf@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@redhat.com \
    --cc=toralf.foerster@gmx.de \
    /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