public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wu Fengguang <fengguang.wu@intel.com>
To: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.28-rc8 big regression in VM
Date: Sat, 13 Dec 2008 09:21:15 +0800	[thread overview]
Message-ID: <20081213012115.GA6250@localhost> (raw)
In-Reply-To: <20081212183810.GA4390@ics.muni.cz>

On Fri, Dec 12, 2008 at 07:38:10PM +0100, Lukas Hejtmanek wrote:
> Hello,
> 
> I noticed that in the current git head, the VM subsystem contains a serious
> bug - cached memory is newer freed:
> 
> # free; echo 3 > /proc/sys/vm/drop_caches; free
>              total       used       free     shared    buffers     cached
> Mem:       2016688     669172    1347516          0       2160     335120
> -/+ buffers/cache:     331892    1684796
> Swap:      1542232          0    1542232
>              total       used       free     shared    buffers     cached
> Mem:       2016688     659336    1357352          0        320     327288
> -/+ buffers/cache:     331728    1684960
> Swap:      1542232          0    1542232
> 
> the above sequence has been done on completly idle system so there is no
> reason for non freeing the cache.

I cannot reproduce it on 2.6.28-rc7, compiling 2.6.28-rc8...

# free; echo 3 > /proc/sys/vm/drop_caches; free
             total       used       free     shared    buffers     cached
Mem:          1940        109       1831          0          0         42
-/+ buffers/cache:         66       1873
Swap:            0          0          0
             total       used       free     shared    buffers     cached
Mem:          1940         62       1877          0          0          7
-/+ buffers/cache:         55       1884
Swap:            0          0          0

> once the whole memory is eaten by the cache, the system is pretty unusable.

What's your kconfig?

Thanks,
Fengguang


  reply	other threads:[~2008-12-13  1:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 18:38 2.6.28-rc8 big regression in VM Lukas Hejtmanek
2008-12-13  1:21 ` Wu Fengguang [this message]
2008-12-13  9:58   ` Lukas Hejtmanek
2008-12-13 14:02     ` Wu Fengguang
2008-12-16 21:08       ` Bill Davidsen
2008-12-15  1:16     ` Wu Fengguang
2008-12-15  2:05       ` KOSAKI Motohiro
2008-12-15  9:53         ` Lukas Hejtmanek
2008-12-15 10:56           ` KOSAKI Motohiro
2008-12-15  9:44       ` Lukas Hejtmanek
2008-12-16  4:59         ` Wu Fengguang
     [not found]           ` <20081216195219.GA4480@ics.muni.cz>
2008-12-17 12:27             ` Wu Fengguang
2008-12-17 12:33               ` Lukas Hejtmanek
2008-12-17 12:44                 ` Wu Fengguang
2008-12-17 12:49                   ` Lukas Hejtmanek
2008-12-17 13:02                     ` Wu Fengguang
2008-12-25 10:50                     ` Wu Fengguang
2008-12-25 10:58                       ` Lukas Hejtmanek
2008-12-25 11:18                         ` Wu Fengguang

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=20081213012115.GA6250@localhost \
    --to=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xhejtman@ics.muni.cz \
    /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