linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Petr Tesarik <ptesarik@suse.cz>
To: linux-mm@kvack.org
Subject: Re: Strange VM stats in /proc/zoneinfo
Date: Wed, 15 Aug 2012 13:37:19 +0200	[thread overview]
Message-ID: <201208151337.19919.ptesarik@suse.cz> (raw)
In-Reply-To: <201208151105.27411.ptesarik@suse.cz>

Dne St 15. srpna 2012 11:05:27 Petr Tesarik napsal(a):
> Hi folks,
> 
> while looking at my /proc/zoneinfo, I noticed that the counters are a bit
> strange:
> 
> Node 0, zone      DMA
>   pages free     3945
>         min      7
>         low      8
>         high     10
>         scanned  0
>         spanned  4080
>         present  3905
>     nr_free_pages 3945
> 
> OK, you'll probably argue that the rest is hidden in PCP differentials...
> BUT:
> 
> 1. this machine has only 2 CPUs
> 2. stat_threshold = 4
> 3. vm_stat_diff[NR_FREE_PAGES] = 0 on both CPUs
> 
> Is this only me? Or do I misrepresent what these number actually tell?

I verified the free lists, and this part seems sane, so the "present" count 
must be wrong. FYI I can see this on various x86_64 kernels between 2.6.32 and 
3.5.0.

Petr Tesarik

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2012-08-15 11:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  9:05 Strange VM stats in /proc/zoneinfo Petr Tesarik
2012-08-15 11:37 ` Petr Tesarik [this message]
2012-08-15 19:01 ` Rik van Riel

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=201208151337.19919.ptesarik@suse.cz \
    --to=ptesarik@suse.cz \
    --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;
as well as URLs for NNTP newsgroup(s).