[Coin] Compute on the Forwarding Node and Semantic Routing
Adrian Farrel <adrian@olddog.co.uk> Fri, 04 February 2022 11:36 UTC
Return-Path: <adrian@olddog.co.uk>
X-Original-To: coin@ietfa.amsl.com
Delivered-To: coin@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 49D903A08DC
for <coin@ietfa.amsl.com>; Fri, 4 Feb 2022 03:36:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001,
RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 4uuKXOvRcWDL for <coin@ietfa.amsl.com>;
Fri, 4 Feb 2022 03:36:55 -0800 (PST)
Received: from mta8.iomartmail.com (mta8.iomartmail.com [62.128.193.158])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id BFBB43A08D5
for <coin@irtf.org>; Fri, 4 Feb 2022 03:36:53 -0800 (PST)
Received: from vs4.iomartmail.com (vs4.iomartmail.com [10.12.10.122])
by mta8.iomartmail.com (8.14.7/8.14.7) with ESMTP id 214Baono023110
for <coin@irtf.org>; Fri, 4 Feb 2022 11:36:50 GMT
Received: from vs4.iomartmail.com (unknown [127.0.0.1])
by IMSVA (Postfix) with ESMTP id 34F7146050
for <coin@irtf.org>; Fri, 4 Feb 2022 11:36:50 +0000 (GMT)
Received: from vs4.iomartmail.com (unknown [127.0.0.1])
by IMSVA (Postfix) with ESMTP id 32EA446043
for <coin@irtf.org>; Fri, 4 Feb 2022 11:36:50 +0000 (GMT)
Received: from asmtp3.iomartmail.com (unknown [10.12.10.224])
by vs4.iomartmail.com (Postfix) with ESMTPS
for <coin@irtf.org>; Fri, 4 Feb 2022 11:36:50 +0000 (GMT)
Received: from LAPTOPK7AS653V ([85.255.233.149]) (authenticated bits=0)
by asmtp3.iomartmail.com (8.14.7/8.14.7) with ESMTP id 214Bamox002727
(version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
for <coin@irtf.org>; Fri, 4 Feb 2022 11:36:49 GMT
Reply-To: <adrian@olddog.co.uk>
From: "Adrian Farrel" <adrian@olddog.co.uk>
To: <coin@irtf.org>
Date: Fri, 4 Feb 2022 11:36:48 -0000
Organization: Old Dog Consulting
Message-ID: <0c2e01d819bb$7fa18460$7ee48d20$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdgYUZRquVYvl0aCTlOm/Qnp3gczOQ==
Content-Language: en-gb
X-Originating-IP: 85.255.233.149
X-Thinkmail-Auth: adrian@olddog.co.uk
X-TM-AS-GCONF: 00
X-TM-AS-Product-Ver: IMSVA-9.1.0.2090-8.6.0.1018-26694.007
X-TM-AS-Result: No--9.465-10.0-31-10
X-imss-scan-details: No--9.465-10.0-31-10
X-TMASE-Version: IMSVA-9.1.0.2090-8.6.1018-26694.007
X-TMASE-Result: 10--9.465100-10.000000
X-TMASE-MatchedRID: XafQxseY2BrNd25vZzko7fZn1sw1ItHxUpIuIJvOEk7oN8DSoota+SzC
absmpSDKNEWxillimf+dqCCSnIX6zj0A4XbR3uLfPbhB/I/n35G+F//Mn3a2w+dQPw86uR128NB
MdiM0xvNEYu148jUCvIucwSE+eOjHlGl2QRhUY/nc+EHoN3gzl1dsbGTm3zYnCyVYW2NM5WYOOp
htq8qIWYd2W3QiGp9TGwC9/s+e1oBQBGTXhXVuchssbIr4LLKe2FA7wK9mP9dYC5LPd7BvbRznE
FeOxeNUU6QRnhHpxtw0+ernH+QTIvjEQMMqyZoJAJIdE3gUsGutfY6YPaw3YS196sn93sBviYLn
9jioGiFy0hBMT/5+LOR+MiSV/ez6biHCZsc8BCydVNZaI2n6/6UB+KILVUD9smSieAeObYwWYyA
90IwajmqLr9OiBJ7/jeCRFh4x0z736GblkZtA0dfeP+V/VXwstD/Lx+LfvEu2HpC95B+yo22CTX
zrvjujyMtCuGZfqc9OCbpD5pFT+dY/9ku28/ogutvHF25zoU/rwADV7fYz7LxgMf9QE2ebj9iTi
bAjEgeTqJxm+0qo+VvIP3+2MOBQWerPAR2FTGj9CtRM0nKOKS8or/7xcxJEHOpcC6LprQ2xETKb
iFNqHl2S4/OPlzNa/2kcAImCo4LLwOA0O3nZg6VR3BrhvUgIZuIkqHI0nbsW6M2A15L1QEzFWLA
GbjggbXRjJgWvj8vNduHMdE7b8F73O5mzw3GYGfTCsR61MuFpWLGvOMNoU4dKhiUQIHDMtr5qJH
A+0Xp7viBjoflv4hPctiCbsw1xvS5FZtolGKWeAiCmPx4NwLTrdaH1ZWqCii7lXaIcF/Ww7M6dy
uYKg46HM5rqDwqtfL7DpmAWFISQbPSF48NWnxxPMDo2hcU0R+Vu6UufLzADp06jNefbTQ==
X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0
Archived-At: <https://mailarchive.ietf.org/arch/msg/coin/JSfwtIvOMGIZ3RfYY8zAAmiP4eA>
Subject: [Coin] Compute on the Forwarding Node and Semantic Routing
X-BeenThere: coin@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "COIN: Computing in the Network" <coin.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/coin>,
<mailto:coin-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/coin/>
List-Post: <mailto:coin@irtf.org>
List-Help: <mailto:coin-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/coin>,
<mailto:coin-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Feb 2022 11:36:59 -0000
Finally (honestly ;-) I get to my last thread on Semantic Routing. This concerns the concept of compute on the forwarding node. Again (sorry to keep repeating this) we are talking about the IP-layer forwarding node that has the job of forwarding a packet to the next hop on the path from one "network component" to the next, or to the final destination. It is not tasked with determining the next network component to see the packet, nor with performing the functions of the network component. Such forwarding nodes may perform semantic routing, as described in the previous threads. In making the forwarding decisions, the forwarding nodes may use algorithms to build the forwarding tables, and/or they may use algorithms that are more sophisticated than keyed lookups to determine the next forwarding hop for a given packet. The previous thread on programmability and SDN deals with how the forwarding table may be installed from a controller, and how the forwarding nodes may be instructed to extract lookup keys from the packets. This thread is about the algorithms used on the forwarding nodes since those algorithms use "programs" and "CPU". Algorithms that construct forwarding tables may be installed at "build time". This may mean that they are burnt into silicon, or they may be pre-installed software. Historically, that is how routers have worked. These algorithms may also be updated through software updates (often requiring that the node is restarted, or at east has a "lumpy moment" when the switchover to the new software is made). All modern routers and whitebox routers work this way. Possibly the algorithms to construct forwarding tables are not so interesting to us in this context. They could be highly dynamic, they could use ML/AI, they could use a lot of performance data gathered from the network. But they don't operate on a per-packet basis, and they are not in the forwarding path for the packets (even though they impinge on those paths). The "compute in the network" is there (it is there today in deployed networks!), but it is not performing computation on the packets or their content. An interesting existing example of this is the "IGP Flexible Algorithm" work (https://datatracker.ietf.org/doc/draft-ietf-lsr-flex-algo/). So we should turn out attention to algorithms that process the information stored in the packets and determine how to forward them. These algorithms would, I think, qualify for the description "compute in the network." Jon C mentioned in an earlier email the work done to experiment with putting processing instructions in packets so that it could be actioned along the path, but that may be too radical. The more likely overlap between Semantic Routing and this type of compute in the network is: - packets carry markers and information that can be accessed by transit nodes - transit nodes are "programmed" with a range of algorithms that they can use to determine the next hop for a packet they are forwarding (such programming could be "in advance" such as build time, or could be more dynamic such as through SDN) - when a packet arrives at a node it uses the default algorithm or picks one based on information in the packet - the chosen algorithm is run on the packet (specifically the Semantic Routing information) and probably on the current network state information, and produces a decision of the next hop on the forwarding path Again, some of this is already finding its way into the engineering side of things: witness the use of a Segment Routing SID to identify which forwarding table to use (i.e., which IGP flex-algo was used to construct the forwarding table) on a per packet basis. But that example is not really per-packet compute in the network because the compute is the semi-offline construction of the forwarding table, not an active decision on how to forward each packet. As described in the "challenges" work, one significant concern with this approach is that it may lead to different network nodes performing different algorithms that lead to forwarding loops or data sinks. Clearly the coordination of network programming and the debugging of active networks becomes quite important. Some people view the stability risks of an SDN approach to programming this type of compute in the network as being so high that, no matter how exciting the possibilities are, there is no point in playing with it until the coordination and debug issues can be resolved. These people think that such compute should be more stable, "standardised" (at least as far as objective functions), and pre-installed in network nodes. This is, in my opinion, the biggest overlap between Semantic Routing and COIN. It is definitely NOT the case that all Semantic Routing approaches would use compute in the network. But it is certainly possible that this form of forwarding decision-making could use compute in the network. [Unless you want to count NOP (0x90 for people of my generation) as a program, in which case everything is compute in the network :-) ] Cheers, Adrian
- [Coin] Compute on the Forwarding Node and Semanti… Adrian Farrel
- Re: [Coin] Compute on the Forwarding Node and Sem… Marie-Jose Montpetit
- Re: [Coin] Compute on the Forwarding Node and Sem… Adrian Farrel