The basic goal of Quality of Service (QoS) is to provide service differentiation between IP packets in the network. This service differentiation is noticeable during periods of network congestion (i.e. in case of contention for resources) and results in different levels of network performance.
Currently, three service classes are offered that can be used for traffic transiting the GÉANT network:
If available, both Best Effort and Less than Best Effort services are available to peer networks. The Premium IP service, however, is only available after a reservation has been made.
The implementation of QoS in the GÉANT network is based on the Differentiated Services (DiffServ) model as defined by the Internet Engineering Task Force (IETF). This implies that each packet is marked with a DiffServ CodePoint (DSCP) in its header. The DSCP value is stored in the first 6 bits of the Type of Service (ToS) field that is part of the standard IP header. The DCSP values are associated with a certain forwarding treatment, also called Per Hop Behaviors (PHB). By configuring PHBs in each router of the network an edge-to-edge service can be provisioned.
The DSCP/ToS values used in GÉANT to classify the traffic of the different QoS classes are shown in the table below. In addition to the three service classes offered to transiting traffic there is a DWS (IP commodity service) and a Network Control class, which are traffic classes used internally to the GÉANT network.
|
Service |
DSCP value |
ToS value |
Juniper alias |
ToS (hex) |
DSCP-ToS binary |
|
Premium IP |
46 |
184 |
ef |
B8 |
101110 - 101110xx |
|
LBE |
8 |
32 |
cs1 |
20 |
001000 - 001000xx |
|
DWS |
32 |
128 |
cs4 |
80 |
100000 - 100000xx |
|
Network control 1 |
48 |
192 |
cs6 |
C0 |
110000 - 110000xx |
|
Network control 2 |
56 |
224 |
cs7 |
E0 |
111000 - 111000xx |
The table below shows how the packets from a research network arriving on GÉANT with a given DSCP value (incoming DSCP value) will be retagged (new value - rewritten) by the GÉANT routers.
| Service | Incoming DSCP value | New DSCP value |
| Authorised Premium IP | 46 | 46/drop 1 |
| Un-authorised Premium IP | 46 | 0/5 2 |
| DWS | 32 | 0 |
| LBE | 8 | 8 |
| Network Control | 48/56 | 48 |
| Best Effort | other values | Unchanged |
1 The Authorised Premium IP packets are evaluated against a policer (according to what has been negotiated). If the packets are in-profile, they are accepted and the tagging is kept unchanged. If they are out-of-profile, they are dropped.
2 The packets coming in on a Juniper M160 router will be retagged with the DSCP value 0, while those coming in on a Juniper M40 router will be retagged with the DSCP value 5 (PREC rewritten, three last bits of the DSCP field kept unchanged).
The QoS traceroute tool is useful to debug problems related to marking of packets. More information on this tool can be found via the link in left-hand menu. Also, bear in mind the marking capabilities may differ for some types of routers.
At the ingress interface, i.e. the interface where the traffic from an NREN enters the GÉANT network, two actions are performed. First packets are classified, i.e. put into a certain queue depending on their service class. Best effort and LBE traffic is classified by means of the DSCP value. Premium IP traffic is classified by means of a packet filter according to the source/destination address and optionally the DSCP value of the packet. Furthermore, the Premium IP traffic is policed such that it will not exceed the agreed traffic profile. Excess Premium IP traffic is discarded.
Within the backbone and at the egress interface of GÉANT classifying is done solely based on the DSCP value. No policing is performed at these interfaces.
Shaping is not performed in the GÉANT network in order to avoid shaping delay. End users and/or NRENs may, however, perform shaping actions if necessary.
The different queues (four per interface) are served by a Weighted Round Robin (WRR) scheduler. A weight, representing a percentage of the total capacity, is assigned to each queue. The queue for best effort traffic is assigned 90%, the LBE queue 5% and a queue for network control traffic is assigned 5%. The Premium IP traffic has absolute priority over all other queues. Rate limiting (i.e. policing) at the ingress prevents other traffic classes from being starved by Premium IP traffic.