Re: [sfc] questions of "load balancing considerations" in the draft-quinn-sfc-arch-05

"Ken Gray (kegray)" <kegray@cisco.com> Thu, 29 May 2014 14:41 UTC

Return-Path: <kegray@cisco.com>
X-Original-To: sfc@ietfa.amsl.com
Delivered-To: sfc@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A6AE81A0A22 for <sfc@ietfa.amsl.com>; Thu, 29 May 2014 07:41:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level:
X-Spam-Status: No, score=-15.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VDy-qsEw_iZI for <sfc@ietfa.amsl.com>; Thu, 29 May 2014 07:41:20 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 12FDF1A0979 for <sfc@ietf.org>; Thu, 29 May 2014 07:40:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7948; q=dns/txt; s=iport; t=1401374447; x=1402584047; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=tDak0X+St9zRpIZZr1fDtHCfSY0AdzUlDix9m0QzzyM=; b=TsKy1MeKeS21AwmrZqyPzFjQoVdso6+xddpXwUz/pkrbny80+QjocWRj G4u2XlKyykScUPRUcchY+eHA66pdBgV903IoqjUo7Dk7EZ5oSC/hI417b RoWDMsXG2znJPL+oEDxsOdsW7j6vfid6IRjCTjSRUHl0NtmBiusaOMKo4 A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ai8FAFNGh1OtJA2N/2dsb2JhbABZgweBKsI2AYELFnSCJQEBAQQ6NwgQAgEIEQMBAQEfCQcyFAkIAgQBDQUbiCfXfBeJM4ROAQFPB4RAAQONV4weh2uLPoF4gUCBdjk
X-IronPort-AV: E=Sophos;i="4.98,934,1392163200"; d="scan'208";a="328832021"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-2.cisco.com with ESMTP; 29 May 2014 14:40:46 +0000
Received: from xhc-rcd-x03.cisco.com (xhc-rcd-x03.cisco.com [173.37.183.77]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id s4TEekRT030551 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 29 May 2014 14:40:46 GMT
Received: from xmb-aln-x02.cisco.com ([169.254.5.121]) by xhc-rcd-x03.cisco.com ([173.37.183.77]) with mapi id 14.03.0123.003; Thu, 29 May 2014 09:40:46 -0500
From: "Ken Gray (kegray)" <kegray@cisco.com>
To: Eric Gray <eric.gray@ericsson.com>, Linda Dunbar <linda.dunbar@huawei.com>, "Paul Quinn (paulq)" <paulq@cisco.com>, "Joel M. Halpern" <jmh@joelhalpern.com>
Thread-Topic: [sfc] questions of "load balancing considerations" in the draft-quinn-sfc-arch-05
Thread-Index: AQHPerstNYLhn/ifQS+CjPHej+3iV5tWg/PggAEJnTCAACWuAA==
Date: Thu, 29 May 2014 14:40:45 +0000
Message-ID: <CFACBEC7.2E6CF%kegray@cisco.com>
References: <CFABB759.2DEF3%kegray@cisco.com> <4A95BA014132FF49AE685FAB4B9F17F645D2762A@dfweml701-chm.china.huawei.com> <48E1A67CB9CA044EADFEAB87D814BFF632AD0288@eusaamb107.ericsson.se>
In-Reply-To: <48E1A67CB9CA044EADFEAB87D814BFF632AD0288@eusaamb107.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.21.73.121]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <45C6F3EFD847D94AAC019DF875F7B344@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/sfc/9byhRZtDI2T3C9HvDkA_MdzqSdA
Cc: "sfc@ietf.org" <sfc@ietf.org>
Subject: Re: [sfc] questions of "load balancing considerations" in the draft-quinn-sfc-arch-05
X-BeenThere: sfc@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Network Service Chaining <sfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sfc>, <mailto:sfc-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sfc/>
List-Post: <mailto:sfc@ietf.org>
List-Help: <mailto:sfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sfc>, <mailto:sfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 May 2014 14:41:22 -0000

Yep, can see how it is a bit too "thick".  I'm okay with your suggested
simplification.

On 5/29/14 10:25 AM, "Eric Gray" <eric.gray@ericsson.com> wrote:

>Linda,
>
>	A few points:
>1) probably better not to use MS Word (assuming that is what you used) to
>add 
>comments to your mail (not sure many people will be able to read them);
>best
>to simply include your comment(s) directly.
>2) being careful about providing text to ensure that the right context is
>included
>can help to understand your point.
>3) your comments appear (as Ken pointed out in a separate response) not
>to be
>     based on what any of us said; in fact, it looks like what you really
>mean is "based
>     on my understanding of what you have said" as a way to make a
>separate (but
>     related) point.
>
>In your first point, a more complete context would be included if you
>quoted this:
>
>"The load distribution decision will be localized (in general, although
>there might 
>   be macro policy controlling that - which is out of scope for the sake
>of a simple 
>   example).  In this case, the control entity will push to the sf1
>nodes, a table of
>   sorts: sf2 with a series of next hops, and if needed some weighted or
>other 
>   metrics (these could also be decided locally by some policy, but sf1
>would need 
>   to be aware of expand/contract triggers and actions).  sf1 would use
>local logic -- 
>   hash, state table, etc. -- to distribute the chained packets to sf2."
>
>This is the entire paragraph, after the first two sentences.
>
>I believe the issue with this text is that the authors have improperly
>parenthesized 
>text, making the meaning of this paragraph self-contradictory and rather
>opaque
>on first reading it.
>
>In fact, grammatically speaking the entire paragraph is a mess - and that
>does not
>help in understanding it.
>
>The way I have puzzled it out, the text "[in] this case, the control
>entity will push
>to the sf1 nodes, a table of [some sort: e.g.  - ] sf2 with a series of
>next hops, and 
>[(if needed)] some weighted or other metrics" applies to the text in
>parentheses 
>in the preceding sentence (i.e. - "in general, although there might be
>[a] macro 
>policy controlling that - ...").  In other words, "this case" refers to
>the case where 
>a macro policy is used to control the "local decision" process.
>
>As you can see from the way I have hacked up the sentences in my effort
>to make
>sense of them, and the amount of restructuring I think the text requires,
>it is my 
>opinion that the text needs a major rework.
>
>For one thing, the complex example given actually doesn't help and should
>not be
>included.
>
>Assuming I have the meaning correct, I would replace the quoted text
>above with:
>
>"In the example shown in Figure 5, the load distribution decision for SF2
>is localized 
>  at SF1 (though the decision may be affected by a macro policy provided
>in some
> form by the control entity)."
>
>The rest of the previous text only adds confusion as a result of
>over-stating the
>example.
>
>As a matter of personal preference, I would also use the word "embedded"
>as
>the better-known spelling of the word "imbedded" used in the first
>sentence
>(and possibly elsewhere in the draft).
>
>I agree with Ken that your second suggested change is incorrect.
>
>--
>Eric
>  
>
>
>From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Linda Dunbar
>Sent: Wednesday, May 28, 2014 5:50 PM
>To: Ken Gray (kegray); Paul Quinn (paulq); Joel M. Halpern
>Cc: sfc@ietf.org
>Subject: Re: [sfc] questions of "load balancing considerations" in the
>draft-quinn-sfc-arch-05
>
>Joel, Eric, and Ken,
>
>Thank you very much for the explanation.
>
>Based on what you said, the description on how "control entity  push to
>the sf1 nodes ." should be removed from the text, specifically:
>
>"In this
>   case, the control entity will push to the sf1 nodes, a table of
>   sorts:  sf2 with a series of next hops, and if needed some weighted or
>   other metrics (these could also be decided locally by some policy,
>   but sf1 would need to be aware of expand/contract triggers and
>   actions)." 
>
>
>Should also change the sentence after the Figure 5 to
>
>"Either through an imbedded action in sf1 and sf3, the SFF nodes to which
>the multiple instances of SF2 or SF4 are attached, or through external
>   control, the service functions sf2 and sf4 are elastically expanded
>   and contracted dynamically."
>
>
>Linda
>From: Ken Gray (kegray) [mailto:kegray@cisco.com]
>Sent: Wednesday, May 28, 2014 4:24 PM
>To: Linda Dunbar; Paul Quinn (paulq); Joel M. Halpern
>Cc: sfc@ietf.org
>Subject: Re: [sfc] questions of "load balancing considerations" in the
>draft-quinn-sfc-arch-05
>
>+1 to Joel . the picture would be ugly at best.  We attempted a generic
>HA/LB slide to make a point and even it was ugly .such are the
>limitations of ASCII art.
>
>In line .
>
>From: Linda Dunbar <linda.dunbar@huawei.com>
>Date: Wednesday, May 28, 2014 3:34 PM
>To: "Paul Quinn (paulq)" <paulq@cisco.com>, "Joel M. Halpern"
><jmh@joelhalpern.com>
>Cc: "sfc@ietf.org" <sfc@ietf.org>
>Subject: [sfc] questions of "load balancing considerations" in the
>draft-quinn-sfc-arch-05
>
>Paul and Joel, 
> 
>Does the Load Balancing Figure 5 (of draft-quinn-sfc-arch-05) assume that
>SF1 is responsible for balancing traffic among the 3 instances of SF2,
>and SF3 is responsible for balancing traffic among the 3 instances of SF4?
>
><keg> Document text below the picture says "Either through an imbedded
>action in sf1 and sf3, or through external
>control, the service functions sf2 and sf4 are elastically expanded and
>contracted dynamically."
> 
>Isn't it a single point of failure?
>
><keg> Document text immediately subsequent to that picture and paragraph
>illustrates HA scenarios.
> 
>Some service functions are Stateful, i.e. they may require packets from
>same flows to traverse the same service function instance. For the Load
>Balancing scheme described by Figure 5, do you assume that SF1 and SF3
>will be responsible for making sure that same flows go through the same
>service function instance?
>
><keg> Again, the aforementioned text deliberately allows this
>responsibility to be either imbedded in the elasticity-causing function
>or to be controlled externally or centrally.  We don't get into the
>mechanics as these can vary.  While stateful/bidirectional does add an
>additional burden, it can be accommodated without an explosion of
>discrete chains.  For example, it could be handled "at allocation time"
>if elasticity is managed via a separate entity and the individual
>allocations reflected through service chain control in the initial
>metadata bound to at the classification point in either direction.  OR,
>if the devices are working as a paired system (single vendor or
>ecosystem) with integrated elasticity, they could pass metadata between
>them when sf1 or sf3 does the initial dynamic allocation (affecting local
>forwarding on it's partner).  That's probably not an exhaustive list of
>ways to solve the problem.  8^)
>
><keg> The point of this section was that elasticity and HA should not
>cause an inordinate explosion of discrete chains without recommending a
>particular solution.  That is,  you shouldn't create unnecessary
>complexity where it doesn't need to exist.
> 
>For the stateful service functions, if a flow is switched from
>SF-Instance-X to SF-Instance-Y, the SF-Instance-Y needs to synchronize
>the states from SF-Instance-X. Who is responsible for those states
>maintenance for the Load Balancing described in Figure 5?
>
><keg> None of those entities exist in Figure 5.  Can you re-phrase your
>question from the figure?
> 
>Linda
>