linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: overcommit stuff
Date: Sat, 21 Sep 2002 17:03:03 -0700	[thread overview]
Message-ID: <3D8D08B7.419DD093@digeo.com> (raw)
In-Reply-To: <14599773.1032625910@[10.10.2.3]>

"Martin J. Bligh" wrote:
> 
> > running 10,000 tiobench threads I'm showing 23 gigs of
> > `Commited_AS'.  Is this right?  Those pages are shared,
> > and if they're not PROT_WRITEable then there's no way in
> > which they can become unshared?   Seems to be excessively
> > pessimistic?
> >
> > Or is 2.5 not up to date?
> 
> It's also a global atomic counter that burns up a fair amount
> of CPU time bouncing cachelines on the NUMA boxes ... even when
> overcommit is set to 1, and it's not used for anything other
> than meminfo ... any chance of this either becoming a per-cpu
> thing, or dying, or not being used when overcommit is 1?

"It" being vm_committed_space.

The problem is that it's read from frequently, as well as
updated frequently.  So we would still have problems when
we have to reach across and fish the cpu-local counters
out of remote corners of the machine all the time.

The usual tricks for amortising this counter's cost have (serious)
accuracy implications.

I am planning on sitting down and working out exactly what we're
trying to account here - presumably there's another way.  Just
havent got onto it yet.

Worst come to worst, we can hide it inside CONFIG_NOT_WHACKOMATIC
I guess.
--
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/

  reply	other threads:[~2002-09-22  0:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-21 23:27 Andrew Morton
2002-09-21 23:28 ` William Lee Irwin III
2002-09-21 23:31 ` Martin J. Bligh
2002-09-22  0:03   ` Andrew Morton [this message]
2002-09-22  0:08     ` Martin J. Bligh
2002-09-22  1:04       ` Hugh Dickins
2002-09-22  1:07         ` Martin J. Bligh
2002-09-21 23:46 ` Hugh Dickins
2002-09-21 23:53   ` Andrew Morton
2002-09-22  0:49     ` Hugh Dickins
2002-09-22  1:07       ` Andrew Morton
2002-09-22  1:45         ` Hugh Dickins
2002-09-22  1:49           ` Andrew Morton
2002-09-21 23:53   ` William Lee Irwin III
2002-09-22  1:12     ` Andrew Morton

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=3D8D08B7.419DD093@digeo.com \
    --to=akpm@digeo.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-mm@kvack.org \
    --cc=mbligh@aracnet.com \
    /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