public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Bernard Metzler <BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org>,
	linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: ucma question - backlog limit
Date: Mon, 09 Aug 2010 13:33:18 -0500	[thread overview]
Message-ID: <4C6049EE.1020907@opengridcomputing.com> (raw)
In-Reply-To: <CF9C39F99A89134C9CF9C4CCB68B8DDF25A954B79E-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>

On 08/09/2010 12:51 PM, Hefty, Sean wrote:
>> I agree.  I think it should default to say 1024.  Further, I propose we
>> make this a sysctl variable such that admins can tweak it as needed.
>>      
> The default is based on:
>
> #define SOMAXCONN       128
>
> I have no objection to making it adjustable.
>
> - Sean
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>    


For TCP, a dropped SYN will cause the peer to retransmit the SYN, and 
the connection will be eventually established.  So a small backlog limit 
is probably ok for TCP.  With iWARP, the connect request is TCP payload 
an on established connection.  So the connection request is transmitted 
and acked at the TCP level by the time the connect request gets dropped 
in the ucma.  What finally happens is the peer times out (after many 
seconds typically) and kills the connection.  Further, a 32 node 256NP 
OpenMPI job will generate > 128 connect requests on some ranks.

So I think its reasonable to up default max value.   I'll post a patch 
to change the max and make it a sysctl variable as well.

Ok?

Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-08-09 18:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09 14:34 ucma question - backlog limit Steve Wise
     [not found] ` <4C6011F7.3060209-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-08-09 17:06   ` Bernard Metzler
     [not found]     ` <OFD9132F2D.FEEEA35D-ONC125777A.005D920E-C125777A.005DF132-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
2010-08-09 17:28       ` Steve Wise
     [not found]         ` <4C603AA6.6030409-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-08-09 17:51           ` Hefty, Sean
     [not found]             ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25A954B79E-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-08-09 18:33               ` Steve Wise [this message]
     [not found]                 ` <4C6049EE.1020907-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-08-09 18:45                   ` Hefty, Sean
2010-08-09 20:05                   ` Bernard Metzler

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=4C6049EE.1020907@opengridcomputing.com \
    --to=swise-7bpotxp6k4+p2yhjcf5u+vpxobypeauw@public.gmane.org \
    --cc=BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org \
    --cc=linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox