lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1254154166.3219.3.camel@dhcp-100-19-198.bos.redhat.com>
Date:	Mon, 28 Sep 2009 12:09:26 -0400
From:	Larry Woodman <lwoodman@...hat.com>
To:	linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: RFC [Patch] few useful page reclaim mm tracepoints


Here a few mm page reclaim tracepoints that really show what is being
reclaimed and from where.  mm_get_scanratio reports the number anonymous
and pagecache pages as well as the percent that will be reclaimed from
each.  mm_pagereclaim_shrinkactive reports whether it is shrinking
anonymous or pagecache pages, the number scanned and the number actually
moved(deactivated).  mm_pagereclaim_shrinkinactive reports whether it is
shrinking anonymous or pagecache pages, the number scanned and the
number actually reclaimed.  These three simple mm tracepoints capture
much of the page reclaim activity.

------------------------------------------------------------------------

# tracer: mm 
#
#           TASK-PID    CPU#    TIMESTAMP  FUNCTION
#              | |       |          |         |
         kswapd1-549   [004]   149.524509: mm_get_scanratio: 2043329
anonymous pages, reclaiming 1% - 1312 pagecache pages, reclaiming 99%
         kswapd1-549   [004]   149.524709: mm_pagereclaim_shrinkactive:
anonymous, scanned 32, moved 32, priority 12
         kswapd1-549   [004]   149.524542:
mm_pagereclaim_shrinkinactive: anonymous, scanned 32, reclaimed 32,
priority 7




View attachment "upstream.diff" of type "text/x-patch" (3628 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ