From: Sasha Khapyorsky <sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org>
To: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCHv2] opensm: Add a rate based mechanism for SMP transactions
Date: Wed, 9 Jun 2010 15:29:05 +0300 [thread overview]
Message-ID: <20100609122905.GD20172@me> (raw)
In-Reply-To: <AANLkTimE6n2e6z1pUXQPmqX5GrdLVl2kp7bbPipDfhy2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 06:27 Wed 09 Jun , Hal Rosenstock wrote:
> Hi Sasha,
>
> On Wed, Jun 9, 2010 at 2:05 AM, Sasha Khapyorsky <sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org> wrote:
> > Hi Hal,
> >
> > On 08:40 Mon 07 Jun , Hal Rosenstock wrote:
> >>
> >> In order to better handle non responsive SMAs (when link is physically up
> >> but the SMA does not respond), a rate based mechanism for SMPs is added
> >> to better enable forward progress in a more timely fashion. So rather than
> >> wait for timeouts and outstanding wire SMPs to drop below some configured
> >> value, there is also a periodic rate for transaction based SMPs. These
> >> rate based SMPs are capped at a configured maximum value.
> >>
> >> Two new options are added for this:
> >> rate_based_smp_usecs indicates the number of microseconds between rate
> >> based SMPs.
> >> max_rate_based_smps indicates the maximum number of rate based SMPs
> >> supported. When this limit is reached, rate based SMPs are no longer
> >> sent (until the number of outstanding ones drops below this limit).
> >>
> >> The rate based SMP mechanism can be disabled by setting rate_based_smp_usecs
> >> to 0. This is equivalent to the (current) algorithm prior to this change.
> >>
> >> By default, this mechanism is disabled.
> >
> > I would strongly suggest to rework the terminology here to make things
> > clearer.
> >
> > Actually we don't have here any "rate based" SMPs,
>
> Doesn't the timeout value pace the second limit of SMPs ? If so, in my
> mind, that is rate based.
All those SMPs are equivalent in processing, etc., the only difference
is in MADs injection mechanism. So trying to differentiate MADs itself
seems confused for me.
> > but instead two mad
> > injection limits (regular and timedout) and timeout value (which BTW
> > likely should be a function of --timeout parameter). Isn't it?
>
> The separate timeout for this provides finer control over pacing the
> higher SMP limit rather than basing it on the transaction timeout. If
> it is a function of the transaction timeout as you propose above, is
> there admin control over it ? If there is, then there is another
> config param to express this anyhow.
No problem to have this configurable for finer control, but in case
when requested smps_on_wire_limit_low < smps_on_wire_limit_high we could
want to have some reasonable default value for the timeout.
> If there isn't, then what hard
> coded function do you think is appropriate ?
timeout * retries ?
Sasha
>
> -- Hal
>
> > Sasha
>
--
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:[~2010-06-09 12:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-07 12:40 [PATCHv2] opensm: Add a rate based mechanism for SMP transactions Hal Rosenstock
[not found] ` <20100607124057.GA2060-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2010-06-09 6:05 ` Sasha Khapyorsky
2010-06-09 10:27 ` Hal Rosenstock
[not found] ` <AANLkTimE6n2e6z1pUXQPmqX5GrdLVl2kp7bbPipDfhy2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-09 12:29 ` Sasha Khapyorsky [this message]
2010-06-09 13:02 ` Hal Rosenstock
[not found] ` <AANLkTin1X450bG2WvV7y8wanYSBH4JyNgNiCsj2iugL8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-09 14:05 ` Sasha Khapyorsky
2010-06-09 14:14 ` Hal Rosenstock
[not found] ` <AANLkTinOqJRYEev6Iz0EJyuAN_N8bP1OcSEFMprMkY4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-09 14:22 ` Sasha Khapyorsky
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=20100609122905.GD20172@me \
--to=sashak-smomgflxvozwk0htik3j/w@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 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.