[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090520114958.743E.A69D9226@jp.fujitsu.com>
Date: Wed, 20 May 2009 11:58:55 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Wu Fengguang <fengguang.wu@...el.com>
Cc: kosaki.motohiro@...fujitsu.com,
Christoph Lameter <cl@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Elladan <elladan@...imo.com>, Nick Piggin <npiggin@...e.de>,
Johannes Weiner <hannes@...xchg.org>,
Peter Zijlstra <peterz@...radead.org>,
Rik van Riel <riel@...hat.com>,
"tytso@....edu" <tytso@....edu>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"minchan.kim@...il.com" <minchan.kim@...il.com>
Subject: Re: [PATCH 2/3] vmscan: make mapped executable pages the first class citizen
> > > > I think smem can show which library evicted. Can you try it?
> > > >
> > > > download: http://www.selenic.com/smem/
> > > > usage: ./smem -m -r --abbreviate
> > >
> > > Sure, but I don't see much change in its output (see attachments).
> > >
> > > smem-console-0 is collected after fresh boot,
> > > smem-console-1 is collected after the big IO.
> >
> > hmmmm, your result has following characatistics.
> >
> > - no graphics component
> > - very few mapped library
> > (it is almost only zsh library)
> >
> > Can you try test on X environment?
>
> Sure, see the attached smem-x-0/1. This time we see sufficient differences.
thanks. hm, major shrinking item are
/usr/lib/xulrunner-1.9/libxul.so 11.0M => 2.1M
/usr/lib/libgtk-x11-2.0.so.0.1600.1 1.8M => 88.0K
/usr/lib/libperl.so.5.10.0 1.2M => 36.0K
IOW, inactive firefox's page were dropped.
I think that's sane. the latency of background window is not so important
on low memory desktop system.
user hope to use memory for foreground application.
Thus, droppint inactive application memory is sane behavior, I think.
>
> > > > We can't decide 9/10 is important or not. we need know actual evicted file list.
> > >
> > > Right. But what I measured is the activeness. Almost zero major page
> > > faults means the evicted 90% mapped pages are inactive during the
> > > long 300 seconds of IO.
> >
> > Agreed.
> > IOW, I don't think your test environment is typical desktop...
>
> Kind of :) It's fluxbox + terminal + firefox, a bare desktop for
> testing things out.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists