All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 2/2] Thread recovery
Date: Wed, 1 Dec 2010 21:30:55 -0800	[thread overview]
Message-ID: <20101202053055.GH16604@mail.oracle.com> (raw)
In-Reply-To: <4CF72B01.4000500@oracle.com>

On Wed, Dec 01, 2010 at 09:13:37PM -0800, Sunil Mushran wrote:
> One problem I see is that we may spawn too many threads. Imagine
> a setup with 50 mounts and 16 nodes. Not uncommon at all. If 5 nodes
> die, that's 300 threads, 50 of which will be coordinating threads.
> 
> One solution is to have a universal mount count and use that and the
> number of cpus to come up with a per-mount parallel reco count.
> 
> Thoughts, anyone?

	The new concurrency workqueues should allow us a
limited-threadcount pool of threads to do this.  We should be using them
rather than implementing thread management ourselves.

Joel

-- 

"Three o'clock is always too late or too early for anything you
 want to do."
        - Jean-Paul Sartre

Joel Becker
Senior Development Manager
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127

  reply	other threads:[~2010-12-02  5:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 15:50 [Ocfs2-devel] [PATCH 2/2] Thread recovery Goldwyn Rodrigues
2010-12-02  5:13 ` Sunil Mushran
2010-12-02  5:30   ` Joel Becker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-16 22:59 Goldwyn Rodrigues
2010-11-12  1:01 Goldwyn Rodrigues
2010-11-12  2:24 ` Wengang Wang

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=20101202053055.GH16604@mail.oracle.com \
    --to=joel.becker@oracle.com \
    --cc=ocfs2-devel@oss.oracle.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 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.