Network Working Group C. Huitema
Request for Comments: 1715 INRIA
Category: Informational November 1994
The H Ratio for Address Assignment Efficiency
1. Efficiency of address assignment
A substantial part of the "IPng" debate was devoted to the choice of an address size. A recurring concept was that of "assignment efficiency", which most people involved in the discussion expressed as a the ratio of the effective number of systems in the network over the theoretical maximum. For example, the 32 bits IP addressing plan could in theory number over 7 billions of systems; as of today, we have about 3.5 millions of addresses reported in the DNS, which would translate in an efficiency of 0.05%. But this classic evaluation is misleading, as it does not take into account the number of hierarchical elements. IP addresses, for example, have at least three degrees of hierarchy: network, subnet and host. In order to remove these dependencies, I propose to use a logarithmic scale for the efficiency ratio:
Huitema [Page 1]
RFC 1715 H Ratio November 1994
log (number of objects)
H = -----------------------
available bits
The ratio H is not too dependent of the number of hierarchical levels. Suppose for example that we have the choice between two levels, encoded on 8 bits each, and one single level, encoded in 16 bits. We will obtain the same efficiency if we allocate in average 100 elements at each 8 bits level, or simply 10000 elements in the single 16 bits level.
2. Estimating reasonable values for the ratio H:
Indeed, we don't expect to achieve a ratio of 0.3 in practice, and the interesting question is to assert the values which can be reasonably expected. We can try to evaluate them from existing numbering plans. What is especially interesting is to consider the moment where the plans broke, i.e. when people were forced to add digits to phone number, or to add bits to computer addresses. I have a number of such figures handy, e.g.:
Huitema [Page 2]
RFC 1715 H Ratio November 1994
* Expending the size of the SITA 7 characters address. According to their documentation, they have about 64000 addressed points in their network, scattered in 1200 cities, 180 countries. An upper case character provides about 5 bits of addressing, which results in an efficiency of 0.14. This is an extreme case, as SITA uses fixed length tokens in its hierarchy.
3. Evaluating proposed address plans
Using a reverse computation, we get the following population counts in the network:
Huitema [Page 3]
RFC 1715 H Ratio November 1994 4. Security ConsiderationsSecurity issues are not discussed in this memo.
5. Author's Address
Christian Huitema INRIA, Sophia-Antipolis 2004 Route des Lucioles BP 109 F-06561 Valbonne Cedex France