Linux NFS development
 help / color / mirror / Atom feed
From: Julien Cristau <julien.cristau@logilab.fr>
To: Trond Myklebust <trond.myklebust@primarydata.com>,
	linux-nfs@vger.kernel.org
Cc: David Douard <david.douard@logilab.fr>
Subject: nfs client stat() performance degradation
Date: Tue, 13 Jan 2015 17:36:19 +0100	[thread overview]
Message-ID: <20150113163618.GA17059@sh76.dev.logilab.fr> (raw)

Hi,

we're experiencing some troubling performance issues with our nfs clients.  One
of the symptoms is degraded performance of directory walks with hot caches and
expired attribute caches: "find -ls" in the kernel tree goes from about 4s
(cold caches) to 1.5s (hot vm caches) and then to 18s after actimeo.  Network
traffic increases by about the same amount.  "echo 3 >
/proc/sys/vm/drop_caches" brings back the initial performance (~4s), but so do
writing 1 or 2.

This was reported almost two years ago in https://bugs.debian.org/702477 but I
don't know if this is a known issue upstream.  Seen on various kernel versions,
up to 3.18.

Is there anything we can do to track this down, or are there known workarounds
for this?

Thanks,
Julien
-- 
Julien Cristau          <julien.cristau@logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances

             reply	other threads:[~2015-01-13 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 16:36 Julien Cristau [this message]
2015-02-06 15:04 ` nfs client stat() performance degradation Benjamin Coddington

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=20150113163618.GA17059@sh76.dev.logilab.fr \
    --to=julien.cristau@logilab.fr \
    --cc=david.douard@logilab.fr \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@primarydata.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