From: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
To: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "Chu, Al" <chu11-i2BcT+NCU+M@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [infiniband-diags] [libibmad] Support new ibccquery congestion control tool
Date: Wed, 21 Sep 2011 08:49:34 -0700 [thread overview]
Message-ID: <20110921084934.b300e682.weiny2@llnl.gov> (raw)
In-Reply-To: <CAKzyTsxKD0r9194fd1haQ0u=1kXLDhrRXLL8q+=+inV5BM1mog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Wed, 21 Sep 2011 07:17:38 -0700
Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi Al,
>
> On Mon, Sep 19, 2011 at 6:06 PM, Albert Chu <chu11-i2BcT+NCU+M@public.gmane.org> wrote:
> > The following patches add a new tool ibccquery to infiniband-diags. It
> > supports the querying of various congestion control settings. Related
> > updates to libibmad are also included.
>
> Looks good to me :-) Just a few comments below:
>
> Attaching rather than inlining patches makes it harder to comment.
>
> On 0001-Add-support-for-congestion-control-mads.patch, is ib_rpc_cc_t
> really needed ? Couldn't mkey in existing rpc struct just be
> reused/overloaded for this (and change comment to indicate mkey or
> cckey) and then some code could be eliminated ?
I am not sure I like overloading fields like this. I will take a look at it
and see if it "looks" good but in general to keep ABI and clarity of the code
I preferred the separate struct.
>
> On 0001-Support-ibccquery-congestion-control-query-tool.patch, I'm
> worried about the following:
> + /* XXX: Q3/2010 errata lists first entry offset at 80, but we assume
> + * will be updated to 96 once CurrentTimeStamp field is word aligned.
> + * In addition, assume max 13 log events instead of 16. Due to
> + * errata changes increasing size of CA log event, 16 log events is
> + * no longer possible to fit in max MAD size.
> + */
>
> As far as the 13 v. 16 entries, this appears correct to me (MAD size)
> but I'm concerned about changing the offset from 80 to 96 for better
> alignment as this is putting the cart before the horse a little as
> since these changes have not been finalized AFAIK at the IBTA.
Yes, it is a bit premature. I have submitted the above alignment as a comment
to the IBTA but as you say it is not published. Most importantly the
miss-alignment breaks the convention of the spec. So I don't think the IBTA
will reject the comment.
Second the current alignment breaks libibmad. So it would be a lot more code
to support the miss-alignment and would probably have to be changed anyway.
>
> Also, would you comment on what testing has been done with this ?
>
Right, the real question is what does current hardware do?
We have been unable to determine if any of the vendors support the errata
fully or specifically the miss-aligned CurrentTimeStamp. When I asked the
vendors I got concrete answers back, so we proceeded with trying to reverse
engineer it. Right now the query succeeds, that is all we know.
Perhaps someone on the list can help us find out? :-D
In the meantime we wanted to get comments on the patches.
Ira
> -- Hal
>
> > Al
> >
> > --
> > Albert Chu
> > chu11-i2BcT+NCU+M@public.gmane.org
> > Computer Scientist
> > High Performance Systems Division
> > Lawrence Livermore National Laboratory
> >
> >
> --
> 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
--
Ira Weiny
Member of Technical Staff
Lawrence Livermore National Lab
925-423-8008
weiny2-i2BcT+NCU+M@public.gmane.org
--
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
next prev parent reply other threads:[~2011-09-21 15:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-19 22:06 [infiniband-diags] [libibmad] Support new ibccquery congestion control tool Albert Chu
[not found] ` <1316469989.25283.728.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
2011-09-21 14:17 ` Hal Rosenstock
[not found] ` <CAKzyTsxKD0r9194fd1haQ0u=1kXLDhrRXLL8q+=+inV5BM1mog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-21 15:49 ` Ira Weiny [this message]
[not found] ` <20110921084934.b300e682.weiny2-i2BcT+NCU+M@public.gmane.org>
2011-09-21 18:09 ` Ira Weiny
2011-09-21 18:25 ` Albert Chu
[not found] ` <1316629549.25283.803.camel-akkeaxHeDKRliZ7u+bvwcg@public.gmane.org>
2011-09-23 12:53 ` Hal Rosenstock
2011-09-29 19:53 ` Ira Weiny
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=20110921084934.b300e682.weiny2@llnl.gov \
--to=weiny2-i2bct+ncu+m@public.gmane.org \
--cc=chu11-i2BcT+NCU+M@public.gmane.org \
--cc=hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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