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

Lucy yong <lucy.yong@huawei.com> Thu, 29 May 2014 14:31 UTC

Return-Path: <lucy.yong@huawei.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 905B91A014D for <sfc@ietfa.amsl.com>; Thu, 29 May 2014 07:31:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.852
X-Spam-Level:
X-Spam-Status: No, score=-4.852 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] 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 ePammDVrj7cT for <sfc@ietfa.amsl.com>; Thu, 29 May 2014 07:31:10 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 613841A0960 for <sfc@ietf.org>; Thu, 29 May 2014 07:31:09 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BER26226; Thu, 29 May 2014 14:31:04 +0000 (GMT)
Received: from LHREML402-HUB.china.huawei.com (10.201.5.241) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 29 May 2014 15:30:23 +0100
Received: from DFWEML706-CHM.china.huawei.com (10.193.5.225) by lhreml402-hub.china.huawei.com (10.201.5.241) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 29 May 2014 15:30:54 +0100
Received: from DFWEML701-CHM.china.huawei.com ([169.254.1.64]) by dfweml706-chm.china.huawei.com ([169.254.8.4]) with mapi id 14.03.0158.001; Thu, 29 May 2014 07:30:47 -0700
From: Lucy yong <lucy.yong@huawei.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, Linda Dunbar <linda.dunbar@huawei.com>, "Paul Quinn (paulq)" <paulq@cisco.com>
Thread-Topic: [sfc] questions of "load balancing considerations" in the draft-quinn-sfc-arch-05
Thread-Index: AQHPerstZMdFIdMJS0m2VpHCVd0MmJtW/V8AgACLj2CAAIMegP//i2jQgAB7bQD//4sd8A==
Date: Thu, 29 May 2014 14:30:47 +0000
Message-ID: <2691CE0099834E4A9C5044EEC662BB9D453899AC@dfweml701-chm.china.huawei.com>
References: <CFABB759.2DEF3%kegray@cisco.com> <4A95BA014132FF49AE685FAB4B9F17F645D2762A@dfweml701-chm.china.huawei.com> <2691CE0099834E4A9C5044EEC662BB9D453898BF@dfweml701-chm.china.huawei.com> <53873D0B.3040307@joelhalpern.com> <2691CE0099834E4A9C5044EEC662BB9D45389936@dfweml701-chm.china.huawei.com> <538742C6.3020303@joelhalpern.com>
In-Reply-To: <538742C6.3020303@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.138.124]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/sfc/tHkj4hw6gcDxnbFVJsnuIkr0ldU
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:31:15 -0000

Joel,

Thanks.

Regarding transparency, it may be good to state that a LB may be transparently to a SFC or a SFC path. The former implies multiple SFC Paths; the latter is the single SFC path (of course a single SFC).

Lucy


-----Original Message-----
From: Joel M. Halpern [mailto:jmh@joelhalpern.com] 
Sent: Thursday, May 29, 2014 9:23 AM
To: Lucy yong; Linda Dunbar; Paul Quinn (paulq)
Cc: sfc@ietf.org
Subject: Re: [sfc] questions of "load balancing considerations" in the draft-quinn-sfc-arch-05

It looks like that text should be adjusted as you say.
Yours,
Joel

On 5/29/14, 10:04 AM, Lucy yong wrote:
> Hi Joel,
>
> I did not create that sentence. It is from current doc. please check.
> IMO: it is a single SFC, but may be treated as one SFC path or multiple SFC paths depending on the solutions. Yes, the architecture should allow both.
>
> Thanks,
> Lucy
>
> -----Original Message-----
> From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Joel M. Halpern
> Sent: Thursday, May 29, 2014 8:59 AM
> To: Lucy yong; 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
>
> I do not know what you are trying to tell the reader by the "but with multiple paths" proposed text in your suggested replacement text.  The diagram is trying to show, and the text describes using a single service
> path.   You can also achieve the same effect with multiple paths.  Both
> approaches are currently supported by the architecture.
>
> Yours,
> Joel
>
> On 5/29/14, 9:37 AM, Lucy yong wrote:
>> I agree with Linda's point.  The architecture should not direct to a 
>> particular solution.
>>
>> Suggest replacing the paragraph  " Either through an imbedded action 
>> in
>> sf1 and sf3, or through externalcontrol, the service functions sf2 
>> and
>> sf4 are elastically expandedand contracted dynamically.  This would 
>> be represented as one chain:s1->s2->s3->s4->s5,..."
>>
>> with the following paragraph after figure 5.
>>
>> Above figure would be represented as one chain: s1->s2->s3->s4->s5, 
>> but with multiple paths (not as a number of chains equal to the 
>> factorial combination of potential end-to-end paths). The service 
>> functions sf2 and sf4 may be elastically expandedand contracted 
>> dynamically. The load distribution decision toward sf2 and sf4 may be 
>> localized or be pushed from control entity into SFC network 
>> components or nodes. For example, s1, sff, or service node.
>>
>> Lucy
>>
>> *From:*sfc [mailto:sfc-bounces@ietf.org] *On Behalf Of *Linda Dunbar
>> *Sent:* Wednesday, May 28, 2014 4: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:[L1] <#_msocom_1> 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 <mailto: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 
>> <mailto:linda.dunbar@huawei.com>>
>> *Date: *Wednesday, May 28, 2014 3:34 PM
>> *To: *"Paul Quinn (paulq)" <paulq@cisco.com 
>> <mailto:paulq@cisco.com>>, "Joel M. Halpern" <jmh@joelhalpern.com 
>> <mailto:jmh@joelhalpern.com>>
>> *Cc: *"sfc@ietf.org <mailto:sfc@ietf.org>" <sfc@ietf.org 
>> <mailto: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
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> Require pushing policies to SF1 on how to load balance multiple 
>> instances of SF2.
>>
>> SF1 may not have the capability to balance among multiple instances 
>> of
>> SF2
>>
>
> _______________________________________________
> sfc mailing list
> sfc@ietf.org
> https://www.ietf.org/mailman/listinfo/sfc
>