Re: [Lsr] Enhancement on LSDB re-synchronization in Flooding Reduction

tony.li@tony.li Wed, 29 May 2019 05:53 UTC

Return-Path: <tony1athome@gmail.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A4B812008B for <lsr@ietfa.amsl.com>; Tue, 28 May 2019 22:53:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level:
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.198, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 DzXs27dukL_l for <lsr@ietfa.amsl.com>; Tue, 28 May 2019 22:53:22 -0700 (PDT)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A00C21200E5 for <lsr@ietf.org>; Tue, 28 May 2019 22:53:22 -0700 (PDT)
Received: by mail-pf1-x42a.google.com with SMTP id u17so874013pfn.7 for <lsr@ietf.org>; Tue, 28 May 2019 22:53:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=4kr/L6KERMxod3VvVdtmzkGIoukZ7l5s3g25uLUUEHA=; b=BC1wvFkneMBOjy+DDiqGu2IV8yQYjOWcGER2OFCuVyYj9o6IZg4dNsL1rBOjWYOILR IYl7jG5d7Vl+shYo/+7IRIHKjYAwdZC5jFGVaIEf/h17+Do8Nc6SE19iS+jIIMvVZcoy f5s5Avlswi4M5M0ikKEtbjStPvTAGuSuZtXUmQIe5cYkelth5wbDSQ6WiXAhWXXj0QhN dc7AR1aAOXcFcrULHyC6yrr6KjO2frpMO5nOilkYAAh1Hvig1PSKc+eQam53PdbzCM2I HSTmSK2UTR5ZHZmRMl/3I0cwyHNo8IoxYAvgII12bT8oEQnOZNEtJzkMb3EOvnWG4WvX jvTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=4kr/L6KERMxod3VvVdtmzkGIoukZ7l5s3g25uLUUEHA=; b=ZEICN8GcivdA70kvng89X4f+JGLbAcsgdtNZArYMYSww4pCXIHon1qjyfNu1khoceq Y0tBUfEwMl6VgIhc6CQs9n7is149xQfzX2+jydgowkpFpxU69ALKfBiWVHX9EteLUW3a /cY9WMTE+vlwMdReAXKXs4WVRaUMBjZU3dR+HgkJuoHdtx6h2NVBQCl8LcIFj5eBHnsF jf29HBBjIZ1yltmbwocyJoukp/ZOlXT5smc/5Uw8q0lK0TJxL1pt75/ZlitFmfkgxwSh LgNrzzAUymfVmvOGBf7/Cx9ax1ps5l4LlabDbihv5CatBQ54C134vElZRj7W+L7hV0uX dpeA==
X-Gm-Message-State: APjAAAVRwHNXcp9AnZCdXQDi2df0Syp9qHI4wjpYbqi40HSw5Bx09PTV yioGMQn8R0fFE/UOp2W9SEU=
X-Google-Smtp-Source: APXvYqzZmNrDeTOCFzPqDchWGsePlhAt/MVhcfmb+MtgYwZU5gSvIOZB4fKTZS8pnFRzgOg90WvdyA==
X-Received: by 2002:a63:c750:: with SMTP id v16mr135346022pgg.409.1559109197220; Tue, 28 May 2019 22:53:17 -0700 (PDT)
Received: from [192.168.1.5] (c-73-158-115-137.hsd1.ca.comcast.net. [73.158.115.137]) by smtp.gmail.com with ESMTPSA id i3sm10251979pfa.175.2019.05.28.22.53.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 May 2019 22:53:16 -0700 (PDT)
Sender: Tony Li <tony1athome@gmail.com>
From: tony.li@tony.li
Message-Id: <75C901EC-2D72-427A-90A3-2A493F5D63AE@tony.li>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B9C065F8-340A-4EC1-897B-C371C4F0112F"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
Date: Tue, 28 May 2019 22:53:15 -0700
In-Reply-To: <MN2PR13MB3470EE59960F465D7AAC21D4A31F0@MN2PR13MB3470.namprd13.prod.outlook.com>
Cc: "lsr@ietf.org" <lsr@ietf.org>
To: Huaimo Chen <hchen@futurewei.com>
References: <MN2PR13MB3470EE59960F465D7AAC21D4A31F0@MN2PR13MB3470.namprd13.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.8)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/EVidVPAClTvtYEmB72DUGEJxwPU>
Subject: Re: [Lsr] Enhancement on LSDB re-synchronization in Flooding Reduction
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 05:53:26 -0000

Hi Huaimo,


>     The current method: Whenever an existing link/adjacency L is added to the flooding topology (FT for short), a full LSDB re-synchronization is requested and executed over link L.


Please recall that this is a set of CSNPs in IS-IS and a Database Summary in OSPF.  Neither is particularly large or painful to deal with and is periodically transmitted (in good implementations) anyway. All this does is to ensure prompt convergence of any differences.  The only subsequent bandwidth and processing is to deal with actual database differences.

We are NOT sending the full database, just the differences.


> Even though the adjacency between two end nodes over link L is already there and their LSDBs are the same in most of situations, the full LSDB re-synchronization is executed, which consumes the power for processing IGP messages and the link bandwidth for transferring IGP messages. This may cause some issues if some links are added to the FT frequently.


Unless the topology is in some significant churn, we should expect the FT to be quite stable.  There is no good reason to change it.


>     Considering the cases where the LSDBs may be out of synchronization around the time period from a link on the current FT down to link L added to the FT for some reason such as a new FT computation. This period should be short in general.


A single link down is not likely to cause a database difference, as the FT is bi-connected and the data would transfer through the existing path.  More likely, we would end up with a race condition, where new data would circulate both via the long, old path and a new shorter path. This of course, will resolve itself.


>     Method A: Let one end node of link L send the other end node the LSP/LSAs that are changed during the time period.


This requires that all nodes remember what LSPs/LSAs have NOT been sent down all links during flooding.  While this is not impossible, the state retention is significant, on the order of # of LSP/LSA times the number of adjacencies.  This is very similar to the games that we have to play with update distribution in BGP.  It is a complexity that it would be very nice to avoid.


>     In general, the LSDBs are mostly synchronized among some nodes (i.e., the number of LSP/LSAs changed is mostly zero) when link L not on the FT is added to the FT. In this case, Method A almost does nothing, i.e., there is no link state with changes that needs the end node to send its adjacent node over link L.


The key word here is almost.  When this method might provide some benefit, there would necessarily be work to be done.  If there is an error, we would end up with database synchronization issues.  

The database synchronization mechanisms are very robust, simple and light weight.


>     Method B: Combine the current method with Method A. If the number of LSP/LSAs that are changed is small, then use Method A; otherwise, use the current method.


If we use the database synchronization, then there is no need to try to remember deltas. They will automatically work themselves out.

Tony