From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: Rik van Riel <riel@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: [RFC] VM statistics to gather
Date: Mon, 25 Jun 2001 22:45:20 -0300 (BRT) [thread overview]
Message-ID: <Pine.LNX.4.21.0106252238070.941-100000@freak.distro.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.33L.0106252002560.23373-100000@duckman.distro.conectiva>
On Mon, 25 Jun 2001, Rik van Riel wrote:
> 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 */
s/page out code/deactivation code/ ?
+ unsigned int vm_swapout_pgdeact; /* Pages deactivated directly by
swapout() */
> + 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) */
The "(rescued from inactive_clean list)" affirmation is not always true.
> + unsigned int vm_pgrescue; /* Pages reactivated by reclaim_page
> + * (rescued from inactive_dirty list) */
unsigned int vm_reclaimfail; /* page_reclaim() failures (not able
to find any freeable page at
inactive clean */
> + 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_kreclaim_wakeup; /* kreclaimd wakeups */
> + 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
Maybe I remember something more later..
--
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 prev parent reply other threads:[~2001-06-26 1:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-25 23:04 Rik van Riel
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 [this message]
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.21.0106252238070.941-100000@freak.distro.conectiva \
--to=marcelo@conectiva.com.br \
--cc=linux-mm@kvack.org \
--cc=riel@conectiva.com.br \
/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