Re: draft-wang-6man-flow-label-reflection

Steven Blake <slblake@petri-meat.com> Fri, 14 November 2014 21:46 UTC

Return-Path: <slblake@petri-meat.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F14211A0053 for <ipv6@ietfa.amsl.com>; Fri, 14 Nov 2014 13:46:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 TdjiH7V2u4lE for <ipv6@ietfa.amsl.com>; Fri, 14 Nov 2014 13:46:08 -0800 (PST)
Received: from elom.tchmachines.com (elom.tchmachines.com [208.76.80.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C57D31A00DE for <ipv6@ietf.org>; Fri, 14 Nov 2014 13:46:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=petri-meat.com; s=default; h=Content-Transfer-Encoding:Mime-Version:Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID; bh=EF6bHscsm+3iHaedaFSzyOjYJ508Xy/HGDc3kROzC6M=; b=HkN0/ya/bVc0jT2AVJkcYnk4dFtJDV/uyxnOLL0QvyNOsJjTXuiaUCA4CwU8E592SjODXJf3USddRV2TcYdjQ9LlpTUiP5skMJs2xcfS2MqBbVnRZYVzQn2GtCX2e4k3;
Received: from cpe-098-027-048-172.nc.res.rr.com ([98.27.48.172]:53689 helo=[192.168.144.57]) by elom.tchmachines.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84) (envelope-from <slblake@petri-meat.com>) id 1XpOgq-0006Ga-Fk; Fri, 14 Nov 2014 16:46:00 -0500
Message-ID: <1416001566.23266.12.camel@tachyon.blake>
Subject: Re: draft-wang-6man-flow-label-reflection
From: Steven Blake <slblake@petri-meat.com>
To: Jeroen Massar <jeroen@massar.ch>
Date: Fri, 14 Nov 2014 16:46:06 -0500
In-Reply-To: <54667518.8040107@massar.ch>
References: <5465C0AC.10801@massar.ch> <5D36713D8A4E7348A7E10DF7437A4B923AF75421@nkgeml512-mbx.china.huawei.com> <54664B07.3040308@bogus.com> <54665178.2060905@gmail.com> <54666DB7.6090802@massar.ch> <1415999896.23266.5.camel@tachyon.blake> <54667518.8040107@massar.ch>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.6.4 (3.6.4-3.fc18)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - elom.tchmachines.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - petri-meat.com
X-Get-Message-Sender-Via: elom.tchmachines.com: authenticated_id: slblake+petri-meat.com/only user confirmed/virtual account not confirmed
Archived-At: http://mailarchive.ietf.org/arch/msg/ipv6/7ZKnMSPzIzbUr4HkzmBDhUAtrdQ
Cc: 6man WG <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Nov 2014 21:46:11 -0000

On Fri, 2014-11-14 at 22:33 +0100, Jeroen Massar wrote:
> On 2014-11-14 22:18, Steven Blake wrote:
> > On Fri, 2014-11-14 at 22:01 +0100, Jeroen Massar wrote:
> > 
> >> The primary use of the Flow Label seems to be Load Balancing, but load
> >> balancing does not work as doing that based on src/flow-label or just
> >> flow-label breaks ICMPv6 PTBs.
> >>
> >> As such, the primary use case of Flow Labels is broken. Thus making that
> >> field useless.
> > 
> > Using address(es) + flow label as a load-balancing hash key is just as
> > (un)broken as using address(es) + port(s) with respect to ICMPv6 PTBs.
> > But it does have the virtue of being transport protocol-independent and
> > at a fixed header offset.
> 
> There is little hash difference between:
> 
> HASH(src + dst)
> 
> and:
> 
> HASH(src + dst + random-number-chosen-by-dest-that-is-always-0)
> 
> Thus please, where is this Flow Label useful for?

In the use case we are discussing, dst is constant (the anycast
address).  So the choice is between src-only or src + flow label as the
source of entropy.  Maybe that is irrelevant for the "stateless load
balancer sitting in front of a farm of web-servers" use case, but there
are other uses for load balancing, including ones where it is useful to
split the load to/from a single host.  And hopefully IPv6 will outlive
our current web architecture and the dominance of TCP/UDP.


Regards,

// Steve