All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christine Caulfield <ccaulfie@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] dlm: fix lowcomms_connect_node for sctp
Date: Mon, 21 Sep 2009 09:50:20 +0100	[thread overview]
Message-ID: <4AB73E4C.2060000@redhat.com> (raw)
In-Reply-To: <20090918213754.GA18138@redhat.com>

On 18/09/09 22:37, David Teigland wrote:
> On Fri, Sep 18, 2009 at 02:39:06PM -0500, David Teigland wrote:
>> The recently added dlm_lowcomms_connect_node() from
>> 391fbdc5d527149578490db2f1619951d91f3561 does not work
>> when using SCTP instead of TCP.  The sctp connection code
>> has nothing to do without data to send.  Check for no data
>> in the sctp connection code and do nothing instead of
>> triggering a BUG.  Also have connect_node() do nothing
>> when the protocol is sctp.

That patch looks sane to me

> With this patch I can use sctp (single interface), but I'm getting these
> alloc_fd errors (which seem harmless enough) have you seen them before?

Yes I have seen them before. At the time I put them down to either a bug 
in SCTP or an artifact of the way it works, because lowcomms isn't 
explicitly allocating any new FDs here - they are hidden behind the sctp 
layer and passed back to use later on in process_sctp_notification().

> Also, gfs is *really* slow using sctp!


I haven't done any benchmarks for ages. The last time some were done I 
was told that SCTP was actually faster than TCP! ... though that was 
with the 'old' DLM. I put this down to the fact that SCTP is optimised 
for streaming because of its origins.

If it's now slowed down a lot it's probably worth investigating further 
- I really wouldn't expect the single-home configurations to differ by 
very much.

Chrissie.



      reply	other threads:[~2009-09-21  8:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 19:39 [Cluster-devel] [PATCH] dlm: fix lowcomms_connect_node for sctp David Teigland
2009-09-18 21:37 ` David Teigland
2009-09-21  8:50   ` Christine Caulfield [this message]

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=4AB73E4C.2060000@redhat.com \
    --to=ccaulfie@redhat.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.