nanog mailing list archives

Re: Flow based architecture in data centers(more specifically Telco Clouds)


From: Glen Kent <glen.kent () gmail com>
Date: Wed, 12 Feb 2020 20:48:00 +0530

Hi,

On Mon, Feb 10, 2020 at 3:22 PM Saku Ytti <saku () ytti fi> wrote:

On Sun, 9 Feb 2020 at 23:09, Rod Beck <rod.beck () unitedcablecompany com>
wrote:

I am curious about the distinction about the flow versus non-flow
architecture for data centers and I am also fascinated by the separate
issue of WAN architecture for these

Based on the context of the OP's question, he is talking about
architecture where some components, potentially network devices, are
flow-aware, instead of doing LPM lookup per packet, they are doing LPM
lookup per flow.


This was exactly my question.


This comes up every few years in various formats, because with
flow-lookup you have one expensive LPM lookup per flow and multiple
cheap LEM lookups. However the LEM table size is unbounded and easily
abusable leading to a set of very complex problems.

There are of course a lot of variation what OP might mean. Network
might be for example entirely LEM lookup with extremely small table,
by using stack of MPLS labels, zero LPM lookups. This architecture
could be made so that when server needs to send something say video to
a client, it asks orchestration for permission, telling I need to send
x GB to DADDR K with rate at least Z and no more than Y, orchestration
could then tell the server to start sending at time T0 and impose MPLS
label stack of [l1, l2, l3, l4, l5]

Orchestration would know exactly which links traffic traverses, how
long will it be utilised and how much free capacity there is. Network
would be extremely dumb, no IP lookups ever, only thousands of MPLS
labels in FIB, so entirely on-chip lookups of trivial cost.


My question was rather simple.

Many cloud operators use Open Vswitch (OVS) based dataplanes wherein each
packet results in a new flow in the system. The first packet does a lookup
in the slow path which causes the fast path (either OVS-DPDK or a smartNIC
or VPP-like paradigm or something entirely different) to be programmed. All
subsequent packets hit the fast path and reach the VM (which is hosting the
VNF). The advantage of this scheme is that the operator knows the exact
flows existing in their data center and can run some sort of analytics on
that. This obviously becomes harder once you start aggregating the flows or
with mega flows, but you hopefully get the drift.

The other architecture is based on LPM and LEM lookups.

BTW, when i spoke about the Telco Cloud i had meant pure software based
routing. NO hardware. No baremetals and physical network functions. I had
pure VNFs in my mind,

I see that Mellanox (smartNIC) is also programmed using flows. Hence is it
fair to say that most of the current telco cloud architectures are built
around OVS style flow based network devices?

Glen


--
  ++ytti


Current thread: