lkml.org 
[lkml]   [2009]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/3] vmscan: make mapped executable pages the first class citizen
Date
> > > > 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.
>





\
 
 \ /
  Last update: 2009-05-20 05:01    [W:0.106 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site