All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Queries regarding LDLM_ENQUEUE
Date: Wed, 20 Oct 2010 12:29:57 -0500	[thread overview]
Message-ID: <20101020172956.GV1635@oracle.com> (raw)
In-Reply-To: <4CBF2483.7030805@gmail.com>

On Wed, Oct 20, 2010 at 09:18:59PM +0400, bzzz.tomas at gmail.com wrote:
> On 10/20/10 9:11 PM, Paul Nowoczynski wrote:
> > I could be wrong but my guess is that the network congestion caused by
> > this communication pattern is a more serious problem. The mds should be
> > able to easily service lookup rpc's since only the first few necessitate
> > a read I/O from the disk.
> 
> but then the network should be able to deal with storm of
> <max RPC in-flight> * <# clients> to read/write data?
> 
> or it's a specific switch being the bottleneck to specific node?
> 
> because if it isn't network, but MDS being a real bottleneck,
> then proxy might be a solution like Eric said above. not sure
> is this important in your case, but this would allow to use
> existing apps.

MDSes are typically CPU bound, so that's likely the issue.  The problem
though is that the MDS does need to track open file state for SOM and
for dealing with unlinks.  The semantics of open-by-handle might be such
that unlinks of files opened by handle can cause the file to disappear
and syscalls on FDs opened by handle could then return EBADF or EIO or
some new error code.  But open-by-handle semantics don't allow for that,
then the MDS needs to track open file state, and it's hard to see how to
avoid RPCs to the MDS to establish that state (the original client could
tell the MDS about all the clients that will open-by-handle, but this
seems unlikely to perform so much better than N smaller RPCs as to
justify it, and the open-by-handle API suddenly gets much more complex).

Nico
-- 

  parent reply	other threads:[~2010-10-20 17:29 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18 23:33 [Lustre-devel] Queries regarding LDLM_ENQUEUE Vilobh Meshram
2010-10-19 15:46 ` Fan Yong
2010-10-19 20:28 ` Vilobh Meshram
2010-10-19 22:53   ` Andreas Dilger
2010-10-20  2:04     ` Vilobh Meshram
2010-10-20  7:55       ` Andreas Dilger
2010-10-20  8:11         ` bzzz.tomas at gmail.com
2010-10-20  8:24           ` Andreas Dilger
2010-10-20  8:30             ` bzzz.tomas at gmail.com
2010-10-20  8:38               ` Nikita Danilov
2010-10-20 14:45                 ` Nicolas Williams
2010-10-20 13:30               ` Eric Barton
2010-10-20 13:40                 ` bzzz.tomas at gmail.com
2010-10-20 14:51                 ` Paul Nowoczynski
2010-10-20 14:55                   ` Nicolas Williams
2010-10-20 15:16                     ` Paul Nowoczynski
2010-10-20 16:07                       ` Andreas Dilger
2010-10-20 15:22                   ` bzzz.tomas at gmail.com
2010-10-20 16:43                     ` Paul Nowoczynski
2010-10-20 16:49                       ` bzzz.tomas at gmail.com
2010-10-20 17:11                         ` Paul Nowoczynski
2010-10-20 17:18                           ` bzzz.tomas at gmail.com
2010-10-20 17:25                             ` Paul Nowoczynski
2010-10-20 17:27                             ` Andreas Dilger
2010-10-20 17:29                             ` Nicolas Williams [this message]
2010-10-20 17:40                               ` bzzz.tomas at gmail.com
2010-10-20 18:01                                 ` Andreas Dilger
2010-10-20 18:09                                   ` bzzz.tomas at gmail.com
2010-10-20 16:35                 ` Andreas Dilger
2010-10-20 16:46                   ` Paul Nowoczynski
2010-10-20 17:00                     ` Andreas Dilger
2010-10-20 17:13                       ` Nicolas Williams
2010-10-20 17:30                         ` Andreas Dilger
2010-10-20 17:01                     ` Nicolas Williams
2010-10-22  2:33         ` Vilobh Meshram

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=20101020172956.GV1635@oracle.com \
    --to=nicolas.williams@oracle.com \
    --cc=lustre-devel@lists.lustre.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.