linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-nfs@vger.kernel.org
Cc: Trond.Myklebust@netapp.com, brad.benton@us.ibm.com,
	jroth@linux.vnet.ibm.com, mkistler@us.ibm.com,
	adetsch@br.ibm.com, lxie@us.ibm.com, mijo@linux.vnet.ibm.com,
	gerhard.stenzel@de.ibm.com, uweigand@de.ibm.com,
	brokensh@us.ibm.com, hannsj_uhl@de.ibm.com, brianh@linux.ibm.com,
	tstaudt@de.ibm.com, linux-mm@kvack.org
Subject: nfs shared mmap performance regression against 2.6.23
Date: Tue, 29 Apr 2008 17:18:09 +0200	[thread overview]
Message-ID: <200804291718.10462.arnd@arndb.de> (raw)

Hi Trond,

We had an application writer report a performance regression between
2.6.23 and later kernels that we ultimately tracked down to your
patch 94387fb1aa, "NFS: Add the helper nfs_vm_page_mkwrite". It turns
out the application was accidentally using a writable shared mmap
between two processes on an NFS mount instead of tmpfs.

The setup is fixed now, but I'm still surprised by the 7x slowdown
caused by this patch for application runtime when the mmap is shared
between two processes writing to it. If there is only one process
that maps the file, there is no measureable slowdown.

Is that an expected side-effect of your patch, or something that
should not have happened?

	Arnd <><

--
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:[~2008-04-29 15:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200804291718.10462.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=Trond.Myklebust@netapp.com \
    --cc=adetsch@br.ibm.com \
    --cc=brad.benton@us.ibm.com \
    --cc=brianh@linux.ibm.com \
    --cc=brokensh@us.ibm.com \
    --cc=gerhard.stenzel@de.ibm.com \
    --cc=hannsj_uhl@de.ibm.com \
    --cc=jroth@linux.vnet.ibm.com \
    --cc=linux-mm@kvack.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=lxie@us.ibm.com \
    --cc=mijo@linux.vnet.ibm.com \
    --cc=mkistler@us.ibm.com \
    --cc=tstaudt@de.ibm.com \
    --cc=uweigand@de.ibm.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