Skip to main content

5. Resource Sharing

Working Group 2 Members

NameOrganization
David Clark (Chair)MIT
Guy AlmesRice
Bob BradenUSC-ISI
Scott BrimCornell
Jon CrowcroftUniversity College London
Deborah EstrinUSC
Steve GoldsteinMitre
Phill GrossNRI
Bill JonesNASA/Ames
Dan NessettNMFECC
Ari OllikainenRIACS
Mike St. JohnsDCA
Tony VillasenorNASA HQ

5.1. Introduction​

This working group was asked to consider the question of mechanism necessary to insure "fair" sharing of resources, in particular bandwidth.

The group proposed, as a starting position, that to permit sharing of resources, such as networks or links, among agencies (for example), the following questions must be answered.

  • What sorts of service classes will be required? Which are possible?
  • How must the users of the resources be categorized?
  • What sort of accounting for the resources are required?
  • What levels of assurance are required?
  • How global is the impact of various sorts of service classes?
  • What management tools are required to control multi-agency policy mechanisms?

Two ideas are central to the discussion: service class and category.

5.2. Service Class​

The idea of service class is that in order to provide a controlled sharing of a resource, it is necessary to define how the sharing will be measured. The measurement represents a way of specifying a service class.

In the workshop, most service classes related to policy concerns were defined in terms of relative bandwidth. The following examples were often proposed:

  • A link is shared by two (or more) service classes, each of which gets a guaranteed fraction of the link capacity under overload.
  • A link is shared by two (or more) service classes, some of which may not interfere with others. That is, they are excluded from the resource if demand is excessive. An example of a service policy requirement not directly related to bandwidth is mutual aid: two agencies that agree to carry the other's traffic if the resources of the one is down. Half of the mechanism necessary to support this is easy: one could define a service class for traffic belonging to the other agency, and define the service constraint for that class. The hard part of the mechanism is to define how the switch is to know that the other resource is down, so that the usage by that class should be permitted.

In the discussion of service classes, the following comments arose:

  • Outside the arena of policy control, there are much broader requirements for service classes, in order to support new sorts of applications. For example, some applications require control of delay. This broader problem is usually called the "Type of Service" or TOS problem (also called quality of service or QOS in ISO). In this respect, the mechanism required of the switch for specifying and measuring the services classes is just a subset of that required for support of multiple classes of service to support applications.
  • Some (non-policy) examples of service classes are very difficult to support, e.g., those for real-time speech, or variable rate encoders (that can adjust to changing bandwidth allocation, but must KNOW what rate they are being offered).
  • We believe it is not difficult to provide commitment of resources to simple service classes. For example, a gateway could be constructed that would take packets in two service classes, and ensure that under overload each class received equal access to a link. The problems in doing this are to control the overhead in the gateway, which would have an impact on high-speed networks, and to understand the global impact of such guarantees (see below).
  • The definition of service classes must be understood globally.

5.3. User Categories​

In order to ensure that some user receives some service, it is necessary to identify the packets associated with that user. This is a very hard problem, perhaps harder than supporting reasonable service classes.

Current IP packets do not have user names in them, just source and destination Internet addresses. But a single machine might support users with different privileges, or a user wanting to use different privileges at different times.

In the discussion of user categories, the following points came up:

  • To support the sorts of requirements that were offered as examples (e.g., put all NASA packets in service class X), it will be necessary to have some explicit tag in the packet to indicate the packet category. This is a new IP level mechanism.
  • The level of "user granularity" is not clear. Would one tag for all of NASA be sufficient, for example?
  • It might be necessary for a packet to carry more than one tag, to permit a user with multiple privileges to use them at the same time. Perhaps tags could be approximate, and could resolve in different manners in different parts of the net.
  • The level of trust needed for the tag is unclear.
  • If a tag is abused, the use must be traced back to an accountable entity, which ought to be a human.
  • A very hard problem is multicast: one packet going down several paths that might require different user privileges.

5.4. Additional Discussion​

The following comments were made about the other points in the list above.

5.4.1. Accounting for usage:​

A clear requirement was that the usage of resources by different user categories be accounted. However, the details of the requirement were not clear. It does not seem too hard to provide a simple measure of total bytes or packets used by each class. As noted above, the hard part is defining the classes, and inserting the class information into the packet.

If a more dynamic accounting for usage is required, then a mechanism can probably be defined to account for usage by any pre-defined measure, but arbitrary measures will be real hard.

5.4.2. Levels of assurance:​

There seem to be two obvious levels of assurance as to enforcement of service classes and user categories.

  • Separation of traffic into classes, and enforcing and accounting for the usage of each class, will be performed properly so long as the switch elements belonging to each agency operate properly.
  • Proper separation and accounting must occur even if the switches of one agency are mis-programmed or malicious. The latter would be required (probably) in a network operating in hostile circumstances; it corresponds to mechanisms to prevent denial of service. It is a level of assurance that is hard to achieve.

The former level of assurance is much easier. It corresponds roughly to the operation of the Internet today. If one set of gateways is not operating properly, there may be bad global effects that the other gateways cannot prevent. The problem is cured, not by robust dynamic algorithms, but by detection and correction (e.g., by humans) of the problem.

For many circumstances, e.g., conformance to OMB regulations, the weaker form of assurance is probably sufficient. But DARPA, for example, expressed an interest in as robust an assurance as possible.

5.4.3. Global effects:​

The problem of global effects of policy is a very serious issue, the impact of which does not appear to be sufficiently appreciated.

Certain resource constraints, most obviously non-interference (a service class that is excluded when a resource is overloaded), cannot be implemented except in the context of a global routing algorithm that knows about the constraint.

The problem is the following. At the moment, the Internet supports the idea that for any destination address, there is one route out of a switch. If we now support two service classes going to that destination, then each will be sent by the same route, given the current routing algorithm. If one of these service classes is now blocked from a congested resource, there is no mechanism to reroute that class to another resource. The result is that the service class is totally disabled.

In other words, today if a gateway makes a local decision to discriminate against certain users, those users perceive a global disruption of their service.

The problem of propagating and responding to local controls is not impossible. While this section stresses the need to understand the problem, we believe that solutions exist. It will be necessary, however, to contemplate a major adjustment to the current philosophy of Internet routing. In particular, most of the promising approaches are based on some form of source routing.

Above it was asserted that it was not difficult to build a gateway that would make simple resource guarantees. The difficulty is propagating the knowledge of that local guarantee. There are some guarantees that could be enforced in today's Internet without the necessity of global knowledge. For example, if a gateway provided equal sharing of a link under overload to each of two classes, then the global impact would be that of a link whose capacity changed by 50%. A fluctuation of this magnitude could not be globally distinguished from other current forms of congestion. So there are some local controls that can be applied safely in today's Internet, and others (such as non-interference) that can only be contemplated in the context of a global architecture.

5.5. Conclusions​

The problem of making a local modification to a gateway to enforce a bandwidth usage limit to a identified category of users seemed reasonable.

Associating a user category with a packet is very hard. The actual requirements are not clear (are one or several categories required, what is the level of assurance that the specified category is legitimate, and so on). In addition, the mechanism is not obvious. This matter is addressed in the report of working group 1.

The problem of level of assurance is also very hard, again because the actual requirement is not clear.

Accounting for usage is probably not too hard.

The hardest problem is redefining the routing algorithms of the Internet to correctly propagate and respond to the impact of local policy controls.

There are several hard and interesting research questions:

  • How do service guarantees compose?
  • Is it possible to build multi-region systems that are resistant to attack by malicious third-party regions?
  • How could user categories be managed? Are they multi-valued, hierarchical or flat?
  • How can fault isolation and service assurance be performed?
  • What is the relation between statistical resource allocation and possible guarantees of access?

To avoid solving too general a problem, several questions should be asked of the agencies.

  • What level of assurance is required?
  • What sort of user categories will be required?

5.6. Recommendations​

The group proposed a number of experiments and changes that could be undertaken at once, to better understand the problems of policy routing and resource control, and to provide operational facilities toward these goals.

These goals are organized in three categories, things that could be done at once using existing tools, projects with a short time frame, to provide better capabilities and understanding quickly, and finally, projects that would require longer to complete.

5.6.1. Instant projects​

Statspy

Although source and destination addresses are not a precise indicator of service class, they do provide much useful information. The so-called statspy tool has been used in the past to collect a matrix of traffic sorted by source/destination address. This information could be collected for shared links today to provide a first cut at accounting for the resource.

Route filtering

Route filtering provides a way to instruct a gateway to believe only part of an incoming routing packet, or to change parts of that incoming data, e.g., the cost metric of a proposed path. This capability, available in most commercial gateways and in the gated software for Unix, provides a way to control which destinations are reached by which paths. It cannot separate service classes, but can be used for very rough divisions of traffic based on destination address.

5.6.2. Short-term experiments​

These are experiments that could be undertaken at once, with the expectation that they would yield results in the short term. They are not thought to contain high-risk research questions. They might provide some increase in operational capabilities in one to two years.

Simple resource guarantee

A gateway could be programmed to sort incoming packets into two service classes (based on some simple if unrealistic characteristic of the packet, such as addresses or TOS flags), and then divide the use of a link fairly between these classes. That is, in underloaded conditions, each could operate without constraint, but in overload each class would have a fair share of the link.

This would be a first demonstration of allocation of resources to service classes, and would provide a practical way to share a link.

Observe tagged packets

Above, it was noted that the statspy program could be used to count packets based on source and destination addresses. One could define a simple IP option, which carried a user identification, and then use the same statspy to count these packets. A simple use of this option would be to tag the packet with an indicator of which agency had "sponsored" the packet.

Putting a new IP option into a packet is not hard; some systems like Unix 4.3 BSD provide the hooks to do this today. A simple and general way to find the proper value of the option field would be to implement a very simple form of "Policy Server", which could be a user process on a Unix system. One would send a packet to the server with the source and destination addresses, the name of the sponsoring agency, and other credentials. In return, one would get the suitable IP option, which would just be inserted into the packet.

This would provide a more accurate accounting of shared resources, and a first demonstration of the concept of the policy server.

Fast encryption of the policy information

In order to ensure that policy routes, authentications and so on are not forged, it will be necessary to seal them in some way. The obvious technology is encryption. A demonstration is needed of a sealing technique that runs at tolerable speeds. This would permit the introduction of a high level of trust into the accounting.

Demonstration of "soft state" in gateway

Several propositions for management of resources in gateways require that the gateway remember some aspect of the packet sequences passing through it. The idea of "soft state" has been proposed to capture the idea of cached information in the gateway which can be reconstituted if lost without terminating the higher level connection.

A first project is to program a gateway to show that this sort of state can be managed effectively, with acceptable overhead. The information stored in the state could initially be rather simple, for example the resource guarantees mentioned above, or logging of packet tags, or enforcement of source/destination access control.

Demonstration of policy routing with Loose Source Route

Once we have demonstrated the tagging of packets, we have all the pieces of a first demonstration of policy routing. A Policy Server module can be programmed to take the source/destination addresses, sponsor and so on, and receive in return a Loose Source Route IP option. This could be placed in the outgoing packet to achieve controlled routing of the packet.

5.6.3. Longer-term experiments​

The following are experiments that have a longer term focus. They deal with harder problems, will take longer, and yield an increased functionality. They represent steps that can be undertaken now, and should be if increased functionality is to be achieved in the next few years.

Define and support Policy Source Route option

Above we described a simple demonstration based on the IP Loose Source Route. While this represents a useful first demonstration, the LSR is not suited for real policy routing, because it binds the route to specific gateways, which is too concrete, and because it has no fields to carry policy information.

What is needed is a new IP option to define a Policy Source Route, a more abstract form of source route containing policy information. There is general agreement on the need for this class of mechanism and the general form it would take. A detailed design is now needed.

Tools for Synthesis of PSR

The Policy source route described above would be generated using information exchanged by the various Policy Servers and Policy Gateways. Algorithms for this have been proposed; a concrete design should now be undertaken.

Define protocols for control interaction

To provide the information for the routing algorithm, it will be necessary for policy gateways, policy servers and hosts to exchange information. Protocols for these exchanges must be designed.

Management Tools for Policy Controls

Current experience teaches us that we must develop suitable management tools for a mechanism at the time that we develop the mechanism itself. The problems of policy control are complex, and can be expected to lead to complex management problems. We must begin the design of a management architecture for policy mechanisms.

Analysis of composability of local policies

We assume that an administrator of a region will express policies reflecting the local concerns of that region. These various local policies must be composed to provide an end to end service. It is necessary to ensure that the various local policies do indeed combine to permit a reasonable global service. It would be nice to have some formal understanding of what sorts of local policies can be composed, and some tools for checking that the actual proposed local policies are reasonable.

Architecture for signatures and sealing

To ensure the needed level of assurance, an overall strategy must be devised to define the trust that holds between the different components of the system, and the mechanism needed to insure the integrity of Policy Routes and related messages.