[Lsr] Re: draft-prz-lsr-hierarchical-snps - Partitioning
Tony Przygienda <tonysietf@gmail.com> Thu, 04 December 2025 15:50 UTC
Return-Path: <tonysietf@gmail.com>
X-Original-To: lsr@mail2.ietf.org
Delivered-To: lsr@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id E34C6956DBA5 for <lsr@mail2.ietf.org>; Thu, 4 Dec 2025 07:50:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w5Zfw4KcD67J for <lsr@mail2.ietf.org>; Thu, 4 Dec 2025 07:50:29 -0800 (PST)
Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 2C6C5956DB8A for <lsr@ietf.org>; Thu, 4 Dec 2025 07:50:29 -0800 (PST)
Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-88678d7ed65so10621316d6.1 for <lsr@ietf.org>; Thu, 04 Dec 2025 07:50:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764863429; x=1765468229; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nb+NpJUujUIbD16Lxs4EFlSZMROqmm6Myp8dF7oFgYA=; b=bnIAaS7WGoxz5xPRHynIeyNbWdBr1ALxQ9DZG9jDq0ySsGSBVSytMgu8UMp3YnCl89 ROjfBCXRYGWSlQo0wjeEw3NVzlaFPxh6h3ynkP7eUMPUwZqk0boM17IviUQo2fwBQRHy h0l85o38vNDcsyCmyJ1PEYjR7Ed1Dl8OvS3axldF8yGUrddHi4slNyBmHsqh3gCRWdPd 4WLSnxj+DJ/dtMf8iyQ1PXITk6q7/yFpQEGoLxetyRmim0tjlPnr6gIAJ0qrcXNgmekp Rnk5A7kZInaHrCNIjmpoKce6w1WcL3dpIab83AbLacZlvreBco8E7dbo1HPOd154MKo+ 3fGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764863429; x=1765468229; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nb+NpJUujUIbD16Lxs4EFlSZMROqmm6Myp8dF7oFgYA=; b=OqHrzSATxINYSvnfCD7osBEKdQXosFSVB0MNc1B0GtgKdoGTbc1suDj4FwyqCM829u BPToT786q6hXYnBoqneJBXrzYdg/vyQEIGOvdKsSnn+gYGnWHRG/AZMqvSa8sh2oAnxU 26FN+B2bbduuLQj+S515b5+N5etz3I5j50EcoKTg/OwUB+r7UarEdNCaHYLeACYOwk9R oyNl4a0wktmdgkNjkeWf8oTYZ4fg0TKOpRq/UxF9lybxGWs75EW4EG2jFdueLErkiljS 13eExSSA8pZjFhsYx4O7cnz26WgihohbhwsQfYIujA1RSB6v+T0P9nENKIB7rqjXuWFK 9gyg==
X-Forwarded-Encrypted: i=1; AJvYcCUic/GuEIHW80eCiHISarcAgU+OyFXarPLiqb/QQ9giLdGaRcxELAAFbBOCkUgf7pFnDvM=@ietf.org
X-Gm-Message-State: AOJu0Yy0ucWcq2CkxL64CvCH4ySdDv+P6kpRBy7hs5efWGc7RVoPv5X6 4i9J/buvjEJUSrKJ0xQkd1NO+AFLJr+aDq0Mdq8OQpqtJ7zBt2O7zj+Sp43VznrruNLWJapC7fu DpNnWEEBdvIgDKyqDfsh9mpn1O9k4Q9c=
X-Gm-Gg: ASbGncvb6D0V3XB9YYvBGV/orG8qF1MAwCMPYoaysgjmMoNfAndxq/YhNTwQ0mgs2J2 JkPIYsygf2AY33Oybj9jLn5a73T15Ecplin4aefMllWcVe8OJ5hNEMjQVo/s76WjQBoA19YhGTn RF1croFE/JD9gWSSn7dxXBeiGnOdQo7lKD4PSeiwx5apiS4+YEuSRzMLTc+t+1k609wt5QV8Bz+ 0DpBOTkP1NSo+cjMPcQ+uiXjzUqWFAdCtwjEwnToF6+j2GCSW9OFtkF0NcQYPHz3WiBBIWrd7h/ 2UyZAw==
X-Google-Smtp-Source: AGHT+IE3/nrfLg7mSCLJX7PSGIqfoSHHSOe32OsdayMqaFkNXHQDi6h36fe70Qq0vH4PQoYJfUaQiNDT75B1J5AfWss=
X-Received: by 2002:a05:6214:ac9:b0:7e3:cc6e:3c89 with SMTP id 6a1803df08f44-888248b7d62mr59587236d6.56.1764863428434; Thu, 04 Dec 2025 07:50:28 -0800 (PST)
MIME-Version: 1.0
References: <MR1P264MB435456852347E4C1E31CF1DCF0D5A@MR1P264MB4354.FRAP264.PROD.OUTLOOK.COM>
In-Reply-To: <MR1P264MB435456852347E4C1E31CF1DCF0D5A@MR1P264MB4354.FRAP264.PROD.OUTLOOK.COM>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Thu, 04 Dec 2025 16:49:52 +0100
X-Gm-Features: AWmQ_blJZViPltGaaXqtljWrfvSAU6axsBD_gbrh8-GriVR39weM2aJgPmsQ89U
Message-ID: <CA+wi2hODUTVQWDUD_fbYG9TdKzqhjSFuNXjpd2guwHH9R1absw@mail.gmail.com>
To: bruno.decraene@orange.com
Content-Type: multipart/alternative; boundary="000000000000ba9fa806452249d0"
Message-ID-Hash: CPO6IZBS4NIFD2OKTJPY4TIY5SKMXHT6
X-Message-ID-Hash: CPO6IZBS4NIFD2OKTJPY4TIY5SKMXHT6
X-MailFrom: tonysietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-lsr.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "draft-prz-lsr-hierarchical-snps@ietf.org" <draft-prz-lsr-hierarchical-snps@ietf.org>, lsr <lsr@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Lsr] Re: draft-prz-lsr-hierarchical-snps - Partitioning
List-Id: Link State Routing Working Group <lsr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/B5N0Ymf8JByGJWP9z-6m_8hFNQg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Owner: <mailto:lsr-owner@ietf.org>
List-Post: <mailto:lsr@ietf.org>
List-Subscribe: <mailto:lsr-join@ietf.org>
List-Unsubscribe: <mailto:lsr-leave@ietf.org>
Bruno, sorry it took so long ;-) I was taking a couple days off and additionally running lots of simulations etc so it is kind of evolving my thinking with the experience coming in ;-) I came off the concept of any "level hierarchy" of hashes completely by now having implemented a good amount of stuff and playing with it. It looks much more that keeping a simple stats about 'what changed recently' and 'what did this node disagreed on recently' allows for dynamic change of "hashing depth" (which is better than rigid levels) that will lead to lower amount of ping-ponging. So yes, what you suggest would be one approach but it looks like the draft will go into the direction of "fluid ranges" in next version rather than trying to somehow synchronize partition schemes. I'm updating the draft as we speak so expect something maybe next week. -- tony On Fri, Nov 21, 2025 at 2:32 PM <bruno.decraene@orange.com> wrote: > Hi Tony, Tony, > > > > As a follow up of your presentation @ IETF 124 [1], you mentioned that the > hard part is the partitioning. > > > > Although there are tradeoffs, I was wondering whether we could use a > configured (or hardcoded for simplicity) partitioning schema which would > therefore be consistent on all nodes in the flooding zone. > > > > For example, assuming: > > - System ID size: 7 octets > - 1500 bytes PDU size > > - Hash: 4 octets à 256 hashes consume 1024 octets hence fits in one PDU > > > > > > We could use a 7 levels HSNP hierarchy. > > - Level 6 covers 256 /8 systems ID : 00/8 up to FF/8 with a single > HSNP. > - 256 hashes, each one covering systems ID XX/8 > - Level 5 covers 256^2 /16 systems ID : 0000/16 up to FFFF/8 with 256 > HSNPs (from 0000/16 to 00FF/16) > - HSNP XX covers XX/8. One of its hash ( YY) covers XXYY/16 > - Level 4 covers 256^3 /24 systems ID : 000000/16 up to FFFFFF/16 with > 65536 HSNPs (from 000000/16 to 0000FF/16) > - … > > > > With an example: > > Top level (level 6) HSNP advertises full range of System ID > > - Start System ID: 0000.0000.0000.00 > - End System ID: FFFF.FFFF.FFFF.FF > - HSNP Level: 6 > - 256 hashes, covering all 255 level 5 > - 0000.0000.0000.00 – 00FF.FFFF.FFFF.FF > - 0100.0000.0000– 01FF.FFFF.FFFF.FF > - … > - FF00.0000.0000– FFFF.FFFF.FFFF.FF > > > > Each level 5 HSNP advertises a 1/256th of the full range of System ID. > > E.g. for the first one (00) > > - Start System ID: 0000.0000.0000.00 > - End System ID: 00FF.FFFF.FFFF.FF > - HSNP Level: 5 > - 256 hashes, covering all 255 HSNP level 4 > - 0000.0000.0000.00 – 0000.FFFF.FFFF.FF > - 0001.0000.0000– 0001.FFFF.FFFF.FF > - … > - 00FF.0000.0000– 00FF.FFFF.FFFF.FF > > > > > > Obviously, the number of HSNPs required seems huge/intractable. > > However, the point is that they are mostly never sent as: > > - The level 6 HSNP typically mostly contains null hashes (unless > Systems ID are randomly picked). Each null hash indicates the absence of > system ID in its /8 range. Hence all the lower levels HSNP do not need to > be sent nor computed. > - A level N-1 HSNP only needs to be send if there is an inconsistent > hash with the neighbor. > - In the best case, LSDB are in sync and hence level 5 to level 0 > do not need to be sent. > - In general, LSDB are mostly in sync and only a few fragments are > missing. Hence only the few HSNP in levels 5, 4, 3, 2, 1 needs to be sent > using “Recursive “ping pong”” > - At worst, the LSDB (or one of its partitions, at any level) is > completely out of sync. In this case, forget about HSNP/CSNP and flood all > fragments of this partition since fragments needs to be flooded anyway. > Possibly a field in the HSNP could be added to indicate the number of > fragments in this range, to better evaluate the tradeoff. > > > > Regards, > > --Bruno > > For the references (as non-trivial) > > [1] > https://datatracker.ietf.org/meeting/124/materials/slides-124-lsr-hsnp-updated-a-bit-00 > > [2] https://datatracker.ietf.org/doc/draft-prz-lsr-hierarchical-snps/ > > ____________________________________________________________________________________________________________ > Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc > pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler > a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, > Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. > > This message and its attachments may contain confidential or privileged information that may be protected by law; > they should not be distributed, used or copied without authorisation. > If you have received this email in error, please notify the sender and delete this message and its attachments. > As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. > Thank you. > > _______________________________________________ > Lsr mailing list -- lsr@ietf.org > To unsubscribe send an email to lsr-leave@ietf.org >
- [Lsr] draft-prz-lsr-hierarchical-snps - Partition… bruno.decraene
- [Lsr] Re: draft-prz-lsr-hierarchical-snps - Parti… Tony Przygienda