Re: Question regarding the IEEE floating point format used in RFC 363 0

"Naidu, Venkata" <Venkata.Naidu@MARCONI.COM> Thu, 29 July 2004 14:17 UTC

Received: from cherry.ease.lsoft.com (cherry.ease.lsoft.com [209.119.0.109]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA14161 for <ospf-archive@LISTS.IETF.ORG>; Thu, 29 Jul 2004 10:17:18 -0400 (EDT)
Received: from vms.dc.lsoft.com (209.119.0.2) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <18.00E2D7D7@cherry.ease.lsoft.com>; Thu, 29 Jul 2004 10:17:19 -0400
Received: from PEACH.EASE.LSOFT.COM by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 28137526 for OSPF@PEACH.EASE.LSOFT.COM; Thu, 29 Jul 2004 10:17:18 -0400
Received: from 169.144.68.6 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0i) with TCP; Thu, 29 Jul 2004 10:17:18 -0400
Received: from mailman.pit.comms.marconi.com (mailman.pit.comms.marconi.com [169.144.2.12]) by mailgate.pit.comms.marconi.com (8.12.10+Sun/8.12.10) with ESMTP id i6TEHHvL016489 for <OSPF@PEACH.EASE.LSOFT.COM>; Thu, 29 Jul 2004 10:17:17 -0400 (EDT)
Received: from uspitsmsgrtr01.pit.comms.marconi.com (uspitsmsgrtr01.pit.comms.marconi.com [169.144.2.221]) by mailman.pit.comms.marconi.com (8.9.3/8.9.3) with ESMTP id KAA26241 for <OSPF@PEACH.EASE.LSOFT.COM>; Thu, 29 Jul 2004 10:17:16 -0400 (EDT)
Received: by uspitsmsgrtr01.pit.comms.marconi.com with Internet Mail Service (5.5.2657.72) id <38MXQXCM>; Thu, 29 Jul 2004 10:17:16 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain; charset="iso-8859-1"
Message-ID: <5551AD75D2C0BC459A85A2CEFAE4F800012FCC@usvissfp01.win.marconi.com>
Date: Thu, 29 Jul 2004 10:17:15 -0400
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: "Naidu, Venkata" <Venkata.Naidu@MARCONI.COM>
Subject: Re: Question regarding the IEEE floating point format used in RFC 363 0
To: OSPF@PEACH.EASE.LSOFT.COM
Precedence: list

Jens,

-> Hi everybody,
->
-> I have some questions on the IEEE floating point format. The
-> format contains
-> a mantissa of 23 Bits. As I understood the floating point format is
-> calculated by using the 23 Bits beginning with the most
-> significant Bit of a
-> value together with an appropriate exponent. All values
-> which can be stored
-> within the 23 Bits (0x7FFFFF->) will be precise, larger
-> values may lead to
-> rounding errors. Let me show you an example for unreserved
-> bandwidth of what
-> I mean:
->
-> Gigabit Ethernet Interface -> 1000000000 Bits/s -> 125000000
-> Bytes/s ->
-> 0x7735940 Bytes/s this value fits into the 23 Bit long mantissa.
->
-> On this interface a 1 MBit/s LSP is established:
->
-> 1 MBit/s -> 1000000 Bits/s -> 125000 Bytes/s -> 0x1E848 Bytes/s
->
-> After establishing the LSP the unreserved bandwidth would be:
->
-> Unreserved Bandwidth -> 124875000 Bytes/s -> 0x77170F8
-> Bytes/s we would need
-> a mantissa of 24 Bits to represent this value correct.
-> Because we only have
-> 23 Bits available the value stored in the floating point
-> format would be:
->
-> 0x77170F0 Bytes/s -> 124874992 Bytes/s
->
-> This value would be passed to all other OSPF-TE routers in
-> the network and
-> would lead to a wrong picture of the bandwidth available.
->
-> Does anybody know if during the standardization process this
-> fact was taken
-> into concern? And how large the bandwidth changes were
-> estimated to be, am I
-> thinking to small ;-)?
->
-> The second problem with the IEEE floating point format is
-> the maximum size
-> of the interface. Future networks will contain not just 100
-> MBit and Gigabit
-> interfaces but also be 10 or 100 Gigabit interfaces. Even 10 Gigabit
-> interfaces cannot be used correctly with the current format. Example:
->
-> 10 Gigabit interface -> 10000000000 Bits/s -> 1250000000 Bytes/s ->
-> 0x4A817C80 Bytes/s this leads to 24 Bits being needed to
-> represent this
-> value. A neighbor would see the following unreserved bandwidth:
->
-> 0x4A817C00 Bytes/s -> 1249999872 Bytes/s -> 9999998976 Bits/s
->
-> This problem is the same as shown above and leads to errors
-> during bandwidth
-> calculation.
->
-> Why weren't the values stored in unsigned long with the
-> units Kilobits/s if
-> I remember correct this kind of encoding is used in some of
-> the MPLS TE
-> MIBs.
->
-> Is there currently any work done on this issue?

  Yes, there were some drafts proposed to solve this, for example:
  http://www.watersprings.org/pub/id/draft-ma-ospf-isis-te-00.txt
  But, this draft is proposed after the IGP TEs are standardized.

  I don't think the granularity and accuracy of the bandwidth
  is an important issue. Because, the dynamics of network changes
  and router re-optimizations (for example, average sampling
  over a period of time) don't depict the exact amount of
  bandwidth of a link somewhere in the network, any way.

  Yes, increasing and space to represent future high-speed
  links is an issue to consider.

Venkata.