From: Rik van Riel <riel@conectiva.com.br>
To: linux-mm@kvack.org
Subject: [RFC] VM statistics to gather
Date: Mon, 25 Jun 2001 20:04:25 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.33L.0106252002560.23373-100000@duckman.distro.conectiva> (raw)
Hi,
I am starting the process of adding more detailed instrumentation
to the VM subsystem and am wondering which statistics to add.
A quick start of things to measure are below, but I've probably
missed some things. Comments are welcome ...
--- kernel_stat.h.instr Sun Jun 24 19:52:34 2001
+++ kernel_stat.h Mon Jun 25 20:02:38 2001
@@ -26,6 +26,25 @@
unsigned int dk_drive_wblk[DK_MAX_MAJOR][DK_MAX_DISK];
unsigned int pgpgin, pgpgout;
unsigned int pswpin, pswpout;
+ unsigned int vm_pgscan; /* Pages scanned by pageout code. */
+ unsigned int vm_pgdeact; /* Pages deactivated by pageout code */
+ unsigned int vm_pgclean; /* Pages moved to inactive_clean */
+ unsigned int vm_pgskiplaunder; /* Pages skipped by page_launder */
+ unsigned int vm_pglaundered; /* Pages laundered by page_launder */
+ unsigned int vm_pgreact; /* Pages reactivated by page_launder
+ * (rescued from inactive_clean list) */
+ unsigned int vm_pgrescue; /* Pages reactivated by reclaim_page
+ * (rescued from inactive_dirty list) */
+ unsigned int vm_majfault; /* Major page faults (disk IO) */
+ unsigned int vm_minfault; /* Minor page faults (no disk IO) */
+ unsigned int vm_cow_fault; /* COW faults, copy needed */
+ unsigned int vm_cow_optim; /* COW skipped copy */
+ unsigned int vm_zero_fault; /* Zero-filled page given to process */
+ unsigned int vm_zero_optim; /* COW of the EMPTY_ZERO_PAGE */
+ unsigned int vm_kswapd_wakeup; /* kswapd wake-ups */
+ unsigned int vm_kswapd_loops; /* kswapd go-arounds in kswapd() loop */
+ unsigned int vm_pg_freed; /* Pages freed by pageout code, also
+ pages moved to inactive_clean */
#if !defined(CONFIG_ARCH_S390)
unsigned int irqs[NR_CPUS][NR_IRQS];
#endif
Rik
--
Executive summary of a recent Microsoft press release:
"we are concerned about the GNU General Public License (GPL)"
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/
--
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/
next reply other threads:[~2001-06-25 23:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-25 23:04 Rik van Riel [this message]
2001-06-25 23:35 ` Roger Larsson
2001-06-25 23:59 ` Rik van Riel
2001-06-26 1:11 ` Roger Larsson
2001-06-26 7:42 ` Stephen C. Tweedie
2001-06-26 1:45 ` Marcelo Tosatti
2001-06-26 7:13 ` Marcelo Tosatti
2001-06-26 4:24 ` Andrew Morton
2001-06-26 5:07 ` Marcelo Tosatti
2001-06-26 5:10 ` Marcelo Tosatti
2001-06-26 7:59 ` Andrew Morton
2001-06-27 10:30 ` Marcelo Tosatti
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=Pine.LNX.4.33L.0106252002560.23373-100000@duckman.distro.conectiva \
--to=riel@conectiva.com.br \
--cc=linux-mm@kvack.org \
/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