public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Miquel van Smoorenburg <mikevs@xs4all.net>
To: linux-nfs@vger.kernel.org
Cc: Trond.Myklebust@netapp.com, bfields@fieldses.org, neilb@suse.de,
	mikevs@xs4all.net
Subject: Re: nfs/sunrpc: high CPU usage in rpcauth_lookup_credcache with lots of uids [PATCH]
Date: Mon, 22 Jun 2009 15:09:08 +0200	[thread overview]
Message-ID: <1245676148.5413.1.camel@laptop> (raw)
In-Reply-To: <20090602142933.GA27312@xs4all.net>

On Tue, 2009-06-02 at 16:29 +0200, Miquel van Smoorenburg wrote:
> [repost, with more people in the cc: list]
> 
> We run a cluster of POP and IMAP servers that are used by
> hundreds of thousands of different users- we see as much
> as 80.000 different users per server on any given day.
>
> We noticed a high CPU load on these servers, sometimes near
> 100% system time being used on all cores. I used oprofile to
> find out where the CPU was being burned and it turned out to
> be in rpcauth_lookup_credcache(). The credential cache hashtable
> is sized way to small for our purposes- it's just 16 slots,
> and with 100.000 entries in the generic and unix credential
> caches the chainlength goes over 6000.

ping ?

Mike.


  reply	other threads:[~2009-06-22 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 14:29 nfs/sunrpc: high CPU usage in rpcauth_lookup_credcache with lots of uids [PATCH] Miquel van Smoorenburg
2009-06-22 13:09 ` Miquel van Smoorenburg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-23 17:11 Miquel van Smoorenburg

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=1245676148.5413.1.camel@laptop \
    --to=mikevs@xs4all.net \
    --cc=Trond.Myklebust@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    /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