public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jim Schutt" <jaschut-4OHPYypu0djtX7QSmKvirg@public.gmane.org>
To: Jim Schutt <jaschut-4OHPYypu0djtX7QSmKvirg@public.gmane.org>
Cc: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Bob Pearson
	<rpearson-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>,
	Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Vladimir Sokolovsky
	<vlad-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>,
	Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH] mlx4: allow for 4K mtu configuration of IB ports
Date: Thu, 26 May 2011 08:30:17 -0600	[thread overview]
Message-ID: <4DDE63F9.8060502@sandia.gov> (raw)
In-Reply-To: <17495_1306419903_p4QEMqSb018281_4DDE6291.1090809-4OHPYypu0djtX7QSmKvirg@public.gmane.org>

Jim Schutt wrote:
> Or Gerlitz wrote:
>> Roland Dreier wrote:
>>> Bob Pearson <rpearson-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org> wrote:
>>>> With lash+mesh redsky required 6-7 VLs to wire up without deadlocks. 
>>>> I think
>>>> that Jim's version uses 8 SLs but only 2VLs to work.
>>>> If someone was using a torus and also wanted to support QOS and also 
>>>> wanted
>>>> to separate multicast and management on a separate VL to be 
>>>> absolutely sure
>>>> that there is no possibility of a deadlock you might end up with 
>>>> #QOS * 2 +
>>>> 1 which would be 5 using the current algorithm.
>>
>>> But again you don't need all those VLs on the HCAs' links, do you?
>>
>> Jason Gunthorpe wrote:
>>> Routing algorithms only need VLs on interswitch links, not on HCA to
>>> switch links. The only use of the HCA to switch VLs is for QoS. Mesh
>>> topologies can usually be routed with only two VLs, but you need alot
>>> of SLs to make that work.
>>
>> Bob, Jim, Alex
>>
>> I wasn't sure if the SL-to-VL mapping done by open SM is dictated by 
>> the directives @ the user config file or if the routing algorithm is 
>> "VL aware" but the routing engine? if the latter, do interswitch links 
>> use different mapping vs. HCA - switch links?
> 
> FWIW, the torus-2QoS routing engine uses VL bit 0 for torus deadlock
> avoidance, VL bit 1 to route around a missing switch without deadlocks,
> and VL bit 2 to provide two QoS levels.  It needs the port dependence
> of the SL2VL maps to do this in switches.
> 
> The interswitch and HCAs use the same mapping, but only VL bit 2
> is needed on HCAs, to provide the QoS levels.

It occurred to me as soon I sent the above that there's no
good reason to insist that the VL usage is the same for both
interswitch links, and switch-CA links.

Do I need to change this?

-- Jim

> 
> I chose that bit usage because it seemed the proper ordering of
> capabilities if there are fewer than 8 data VLs available - basic
> deadlock avoidance is most important; some QoS is nice to have but
> not that useful if the fabric can deadlock.
> 
> Is that what you were asking, at least WRT. torus-2QoS?
> 
> -- Jim
> 
>>
>> Or.
>>
>>
> 
> 
> -- 
> 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
> 
> 


--
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:[~2011-05-26 14:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 12:10 [PATCH] mlx4: allow for 4K mtu configuration of IB ports Or Gerlitz
     [not found] ` <alpine.LRH.2.00.1105251507140.16147-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
2011-05-25 16:13   ` Roland Dreier
     [not found]     ` <BANLkTi=bKdVXm+f+HVeg2tBzT4RBJDCN_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-25 21:05       ` Or Gerlitz
     [not found]         ` <BANLkTinDCbPXi8zS46wcVW_Yn0fxzbSikw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-25 21:27           ` Roland Dreier
     [not found]             ` <BANLkTikrJ_3f+LwN_R=-AcwCde-KdHJhOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-25 21:46               ` Or Gerlitz
     [not found]                 ` <BANLkTinT5OJdP38Xq=PCtx1wgxDhjVfndA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-25 22:07                   ` Jason Gunthorpe
2011-05-25 22:10                   ` Roland Dreier
     [not found]                     ` <BANLkTi=NkZQX2JFa99qkVpLAchRjNoYOhg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-26  6:24                       ` Or Gerlitz
     [not found]                         ` <4DDDF212.4080700-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-05-26 15:53                           ` Roland Dreier
     [not found]                             ` <BANLkTimrm7bqTT8qAzxdf9tsJuv7+NPO+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-30 22:12                               ` Or Gerlitz
2011-05-25 22:19               ` Bob Pearson
2011-05-25 23:14                 ` Roland Dreier
     [not found]                   ` <BANLkTikLeWHYLKrX8O=syt-Q+b6LP2PCtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-26  6:18                     ` Or Gerlitz
     [not found]                       ` <4DDDF0B1.6090305-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-05-26 14:24                         ` Jim Schutt
     [not found]                       ` <17495_1306419903_p4QEMqSb018281_4DDE6291.1090809@sandia.gov>
     [not found]                         ` <17495_1306419903_p4QEMqSb018281_4DDE6291.1090809-4OHPYypu0djtX7QSmKvirg@public.gmane.org>
2011-05-26 14:30                           ` Jim Schutt [this message]
     [not found]                             ` <4DDE63F9.8060502-4OHPYypu0djtX7QSmKvirg@public.gmane.org>
2011-05-26 15:56                               ` Roland Dreier
     [not found]                                 ` <BANLkTimGioibPTUYV046ObOPhHntHxx72w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-30 22:07                                   ` Or Gerlitz
     [not found]                                     ` <BANLkTinK+YHUyF4ThHQAwFeZ4FNswpY-tw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-31 16:11                                       ` Jim Schutt

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=4DDE63F9.8060502@sandia.gov \
    --to=jaschut-4ohpyypu0djtx7qsmkvirg@public.gmane.org \
    --cc=alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=rpearson-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org \
    --cc=vlad-VPRAkNaXOzVS1MOuV/RT9w@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