All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: linux-mm@kvack.org, Andrea Arcangeli <aarcange@redhat.com>,
	tim.c.chen@linux.intel.com, torvalds@linux-foundation.org,
	lwoodman@redhat.com, mel@csn.ul.ie,
	Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH 2/4] VM/RMAP: Batch anon vma chain root locking in fork
Date: Fri, 06 May 2011 11:59:46 -0400	[thread overview]
Message-ID: <4DC41AF2.6000804@redhat.com> (raw)
In-Reply-To: <1304623972-9159-3-git-send-email-andi@firstfloor.org>

On 05/05/2011 03:32 PM, Andi Kleen wrote:
> From: Andi Kleen<ak@linux.intel.com>
>
> We found that the changes to take anon vma root chain lock lead
> to excessive lock contention on a fork intensive workload on a 4S
> system.
>
> Use the new batch lock infrastructure to optimize the fork()
> path, where it is very common to acquire always the same lock.
>
> This patch does not really lower the contention, but batches
> the lock taking/freeing to lower the bouncing overhead when
> multiple forks are working at the same time. Essentially each
> user will get more work done inside a locking region.
>
> Reported-by: Tim Chen<tim.c.chen@linux.intel.com>
> Cc: Andrea Arcangeli<aarcange@redhat.com>
> Cc: Rik van Riel<riel@redhat.com>
> Signed-off-by: Andi Kleen<ak@linux.intel.com>

Reviewed-by: Rik van Riel<riel@redhat.com>

-- 
All rights reversed

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-05-06 16:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05 19:32 Batch locking for rmap fork/exit processing Andi Kleen
2011-05-05 19:32 ` [PATCH 1/4] VM/RMAP: Add infrastructure for batching the rmap chain locking Andi Kleen
2011-05-06 15:59   ` Rik van Riel
2011-05-09 21:43   ` Andrew Morton
2011-05-09 22:23     ` Andi Kleen
2011-05-09 22:28       ` Andrew Morton
2011-05-09 23:02         ` Andi Kleen
2011-05-09 23:16           ` Andrew Morton
2011-05-10  0:05             ` Andi Kleen
2011-05-10  1:26               ` Andrew Morton
2011-05-10  1:27                 ` Rik van Riel
2011-05-10  1:48                   ` Andrew Morton
2011-05-05 19:32 ` [PATCH 2/4] VM/RMAP: Batch anon vma chain root locking in fork Andi Kleen
2011-05-06 15:59   ` Rik van Riel [this message]
2011-05-05 19:32 ` [PATCH 3/4] VM/RMAP: Batch anon_vma_unlink in exit Andi Kleen
2011-05-06 16:48   ` Rik van Riel
2011-05-05 19:32 ` [PATCH 4/4] VM/RMAP: Move avc freeing outside the lock Andi Kleen
2011-05-06 16:52   ` Rik van Riel
2011-05-06 16:44 ` Batch locking for rmap fork/exit processing Linus Torvalds
2011-05-06 17:05   ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2011-05-13 23:46 Batch locking for rmap fork/exit processing v2 Andi Kleen
2011-05-13 23:46 ` [PATCH 2/4] VM/RMAP: Batch anon vma chain root locking in fork Andi Kleen

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=4DC41AF2.6000804@redhat.com \
    --to=riel@redhat.com \
    --cc=aarcange@redhat.com \
    --cc=ak@linux.intel.com \
    --cc=andi@firstfloor.org \
    --cc=linux-mm@kvack.org \
    --cc=lwoodman@redhat.com \
    --cc=mel@csn.ul.ie \
    --cc=tim.c.chen@linux.intel.com \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.