ALTO Working Group | Q. Wu |
Internet-Draft | Huawei |
Intended status: Standards Track | Y. Yang |
Expires: June 1, 2019 | Yale University |
Y. Lee | |
D. Dhody | |
Huawei | |
S. Randriamasy | |
Nokia Bell Labs | |
November 28, 2018 |
ALTO Performance Cost Metrics
draft-ietf-alto-performance-metrics-06
Cost Metric is a basic concept in Application-Layer Traffic Optimization (ALTO). It is used in both the Cost Map Service and the Endpoint Cost Service.
Different applications may benefit from different Cost Metrics. For example, a Resource Consumer may prefer Resource Providers that offer a low delay delivery to the Resource Consumer. However, the base ALTO protocol has documented only one single cost metric, i.e., the generic "routingcost" metric (Sec. 14.2 of ALTO base specification [RFC7285]).
This document proposes a set of Cost Metrics, derived and aggregated from routing protocols with different granularity and scope, such as BGP-LS, OSPF-TE and ISIS-TE, or from end-to-end traffic management tools. It currently documents Network Performance Cost Metrics reporting on network delay, jitter, packet loss, hop count, and bandwidth. These metrics may be exposed by an ALTO Server to allow applications to determine "where" to connect based on network performance criteria. Additional Cost Metrics involving ISP specific considerations or other network technologies may be documented in further versions of this draft.
Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119].
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on June 1, 2019.
Copyright (c) 2018 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
Cost Metric is a basic concept in Application-Layer Traffic Optimization (ALTO). It is used in both the Cost Map Service and the Endpoint Cost Service. In particular, applications may benefit from knowing network performance measured on several Cost Metrics. For example, a more delay-sensitive application may focus on latency, and a more bandwidth-sensitive application may focus on available bandwidth.
This document introduces a set of new cost metrics, listed in Table 1, to support the aforementioned applications and allow them to determine "where" to connect based on network performance criteria. Hence, this document extends the base ALTO protocol [RFC7285], which defines only a single cost metric, i.e., the generic "routingcost" metric (Sec. 14.2 of ALTO base specification [RFC7285]).
+----------+--------------+----------------------------------------+ |Namespace | Property | Reference | +----------+--------------+----------------------------------------+ | | owdelay | See Section 3,[RFC2679] Section 3.6 | | | rtt | See Section 4,[RFC2681] Section 2.6 | | | pdv | See Section 5,[RFC3393] Section 2.6 | | | hopcount | See Section 6,[RFC7285] | | | pktloss | See Section 7,[RFC7680] Section 2.6 | | | throughput | See Section x, [RFC6349] Section 3.3 | | | maxresbw | See Section 8.1,[RFC5305] Section 3.5 | | | residbw | See Section 8.2,[RFC7810] Section 4.5 | +----------+--------------+----------------------------------------+ Table 1.
The purpose of this draft is to list the metrics likely to be exposed to ALTO Clients, including those already specified in other standardization groups and as such it does not claim novelty on all the specified metrics. Some metrics may have values produced by standard measurement methods such as those specified in IPPM, some may be ISP dependent such as those registered in ISIS or OSPF-TE. In this case, this document will refer to the relevant specifications.
+--------+ +--------+ +--------+ | Client | | Client | | Client | +----^---+ +---^----+ +---^----+ | | | +-----------|-----------+ NBI |ALTO protocol | | +--+-----+ retrieval +---------+ | ALTO |<----------------| Routing | | Server | and aggregation| | | |<-------------+ | Protocol| +--------+ | +---------+ | | +---------+ | |Management ---| | | Tool | +---------+ Figure 1.End-to-End Path Cost Metrics Exposing
An ALTO server may provide a subset of the cost metrics described in this document. These cost metrics can be retrieved and aggregated from routing protocols or other traffic measurement management tools (See Figure 1). Note that these cost metrics are optional and not all them need to be exposed to applications. For example, those that are subject to privacy concerns should not be provided to unauthorized ALTO clients.
When an ALTO server supports a cost metric defined in this document, it MUST announce this metric in its IRD.
Additionally, future versions of this document may define network metric values that stem from both measurements and provider policies such as many metrics related to end-to-end path bandwidth.
As for the reliability and trust in the exposed metric values, applications SHOULD rapidly give up using ALTO-based guidance if they feel the exposed information does not preserve their performance level or even degrades it.
Following the ALTO base protocol, this document uses JSON to specify the value type of each defined metric. See [RFC4627] for JSON data type specification.
An ALTO server needs data sources to compute the cost metrics described in this document. This document does not define the exact data sources. For example, the ALTO server may use log servers or the OAM system as its data source [RFC7971]. In particular, the cost metrics defined in this document can be computed using routing systems as the data sources. Mechanisms defined in [RFC2681], [RFC3393], [RFC7679], [RFC7680], [RFC3630], [RFC3784], [RFC7471], [RFC7810], [RFC7752] and [I-D.ietf-idr-te-pm-bgp] that allow an ALTO Server to retrieve and derive the necessary information to compute the metrics that we describe in this document.
One challenge lies in the data sources originating the ALTO metric values. The very important purpose of ALTO is to guide application traffic with provider network centric information that may be exposed to ALTO Clients in the form of network performance metric values. Not all of these metrics have values produced by standardized measurement methods or routing protocols. Some of them involve provider-centric policy considerations. Some of them may describe wireless or cellular networks. To reliably guide users and applications while preserving provider privacy, ALTO performance metric values may also add abstraction to measurements or provide unitless performance scores.
The metric values exposed by an ALTO server may result from additional processing on measurements from data sources to compute exposed metrics. This may involve data processing tasks such as aggregating the results across multiple systems, removing outliers, and creating additional statistics. There are two challenges on the computation of ALTO performance metrics.
Performance metrics often depend on configuration parameters. For example, the value of packet loss rate depends on the measurement interval and varies over time. To handle this issue, an ALTO server may collect data on time periods covering the previous and current time or only collect data on present time. The ALTO server may further aggregate these data to provide an abstract and unified view that can be more useful to applications. To make the ALTO client better understand how to use these performance data, the ALTO server may provide the client with the validity period of the exposed metric values.
Applications value information relating to bandwidth availability whereas bandwidth related metrics can often be only measured at the link level. This document specifies a set of link-level bandwidth related values that may be exposed as such by an ALTO server. The server may also expose other metrics derived from their aggregation and having different levels of endpoint granularity, e.g., link endpoints or session endpoints. The metric specifications may also expose the utilized aggregation laws.
This section introduces generic ALTO network performance metrics such as one way delay,round trip delay,hop count,packet loss,throughput derived and aggregated from routing protocols or from end to end traffic management tools.
Example 1: Delay value on source-destination endpoint pairs POST /endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type": {"cost-mode" : "numerical", "cost-metric" : "owdelay"}, "endpoints" : { "srcs": [ "ipv4:192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } }
HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta" :{ "cost-type": {"cost-mode" : "numerical", "cost-metric" : "owdelay" } }, "endpoint-cost-map" : { "ipv4:192.0.2.2": { "ipv4:192.0.2.89" : 10, "ipv4:198.51.100.34" : 20, "ipv6:2000::1:2345:6789:abcd" : 30, } } }
Example 2: Round Trip Delay value on source-destination endpoint pairs POST /endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type": {"cost-mode" : "numerical", "cost-metric" : "rtt"}, "endpoints" : { "srcs": [ "ipv4:192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } }
HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta" :{ "cost-type": {"cost-mode" : "numerical", "cost-metric" : "rtt" } }, "endpoint-cost-map" : { "ipv4:192.0.2.2": { "ipv4:192.0.2.89" : 4, "ipv4:198.51.100.34" : 3, "ipv6:2000::1:2345:6789:abcd" : 2, } } }
Example 3: PDV value on source-destination endpoint pairs POST /endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type": {"cost-mode" : "numerical", "cost-metric" : "pdv"}, "endpoints" : { "srcs": [ "ipv4:192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } } HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta": { "cost type": { "cost-mode": "numerical", "cost-metric":"delayjitter" } }, "endpoint-cost-map": { "ipv4:192.0.2.2": { "ipv4:192.0.2.89" : 0 "ipv4:198.51.100.34" : 1 "ipv6:2000::1:2345:6789:abcd" : 5 } } }
The metric hopcount is mentioned in [RFC7285] section 9.2.3 as an example. This section further clarifies its properties.
Example 4: hopcount value on source-destination endpoint pairs POST /endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type": {"cost-mode" : "numerical", "cost-metric" : "hopcount"}, "endpoints" : { "srcs": [ "ipv4:192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } }
HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta": { "cost type": { "cost-mode": "numerical", "cost-metric":"hopcount"} } }, "endpoint-cost-map": { "ipv4:192.0.2.2": { "ipv4:192.0.2.89" : 5, "ipv4:198.51.100.34": 3, "ipv6:2000::1:2345:6789:abcd" : 2, } } }
Example 5: pktloss value on source-destination endpoint pairs POST /endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type": {"cost-mode" : "numerical", "cost-metric" : "pktloss"}, "endpoints" : { "srcs": [ "ipv4:192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } }
HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta": { "cost type": { "cost-mode": "numerical", "cost-metric":"pktloss"} } }, "endpoint-cost-map": { "ipv4:192.0.2.2": { "ipv4:192.0.2.89" : 0, "ipv4:198.51.100.34": 0, "ipv6:2000::1:2345:6789:abcd" : 0, } } }
Example 5: throughtput value on source-destination endpoint pairs POST /endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type": {"cost-mode" : "numerical", "cost-metric" : "throughput"}, "endpoints" : { "srcs": [ "ipv4:192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } } }
HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta": { "cost type": { "cost-mode": "numerical", "cost-metric":"throughput"} } }, "endpoint-cost-map": { "ipv4:192.0.2.2": { "ipv4:192.0.2.89" : 25.6, "ipv4:198.51.100.34": 12.8, "ipv6:2000::1:2345:6789:abcd" : 42.8, } } }
This section introduces ALTO network performance metrics that may be aggregated from network metrics measured on links and specified in other documents. In particular, the bandwidth related metrics specified in this section are only available through link level measurements. For some of these metrics, the ALTO Server may further expose aggregated values while specifying the aggregation laws.
Example 6: maxresbw value on source-destination endpoint pairs POST/ endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type" { "cost-mode": "numerical", "cost-metric": "maxresbw"}, "endpoints": { "srcs": [ "ipv4 : 192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } }
HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta": { "cost-type": { "cost-mode": "numerical", "cost-metric": "maxresbw" } }, " endpoint-cost-map": { "ipv4:192.0.2.2" { "ipv4:192.0.2.89" : 0, "ipv4:198.51.100.34": 2000, "ipv6:2000::1:2345:6789:abcd": 5000, } } }
Example 7: residbw value on source-destination endpoint pairs POST/ endpointcost/lookup HTTP/1.1 Host: alto.example.com Content-Length: TBA Content-Type: application/alto-endpointcostparams+json Accept: application/alto-endpointcost+json,application/alto-error+json { "cost-type": { "cost-mode": "numerical", "cost-metric": "residubw"}, "endpoints": { "srcs": [ "ipv4 : 192.0.2.2" ], "dsts": [ "ipv4:192.0.2.89", "ipv4:198.51.100.34", "ipv6:2000::1:2345:6789:abcd" ] } }
HTTP/1.1 200 OK Content-Length: TBA Content-Type: application/alto-endpointcost+json { "meta": { "cost-type" { "cost-mode": "numerical", "cost-metric": "residbw" } }, "endpoint-cost-map" { "ipv4:192.0.2.2" { "ipv4:192.0.2.89" : 0, "ipv4:198.51.100.34": 2000, "ipv6:2000::1:2345:6789:abcd": 5000, } } }
The properties defined in this document present no security considerations beyond those in Section 15 of the base ALTO specification [RFC7285].
However concerns addressed in Sections "15.1 Authenticity and Integrity of ALTO Information", "15.2 Potential Undesirable Guidance from Authenticated ALTO Information" and "15.3 Confidentiality of ALTO Information" remain of utmost importance. Indeed, TE performance is a highly sensitive ISP information, therefore, sharing TE metric values in numerical mode requires full mutual confidence between the entities managing the ALTO Server and Client. Numerical TE performance information will most likely be distributed by ALTO Servers to Clients under strict and formal mutual trust agreements. On the other hand, ALTO Clients must be cognizant on the risks attached to such information that they would have acquired outside formal conditions of mutual trust.
IANA has created and now maintains the "ALTO Cost Metric Registry", listed in Section 14.2, Table 3 of [RFC7285]. This registry is located at <http://www.iana.org/assignments/alto-protocol/alto-protocol.xhtml#cost-metrics>. This document requests to add the following entries to “ALTO Cost Meric Registry”.
+----------+------------+----------------------------------------------+ |Namespace | Property | Reference | +----------+------------+----------------------------------------------+ | | owdelay | [thisdraft] Section 3,[RFC2679] Section 3.6 | | | rtt | [thisdraft] Section 4,[RFC2681],Section 2.6 | | | pdv | [thisdraft] Section 5,[RFC3393],Section 2.6 | | | hopcount | [thisdraft] Section 6,[RFC7285] | | | pktloss | [thisdraft] Section 7,[RFC7680],Section 2.6 | | | throughput | [thisdraft],[RFC6349],Section3.3 | | | maxresbw | [thisdraft] Section 8.1,[RFC5305],Section 3.5| | | residbw | [thisdraft] Section 8.2,[RFC7810],Section 4.5| +----------+------------+----------------------------------------------+
The authors of this document would also like to thank Brian Trammell,Haizhou Du,Kai Gao,Lili Liu, Li, Geng, Danny Alex Lachos Perez for the review and comments.
[RFC6390] | Clark, A. and B. Claise, "Framework for Performance Metric Development", RFC 6390, July 2011. |
[RFC7971] | Stiemerling, M., Kiesel, S., Scharf, M., Seidel, H. and S. Previdi, "Application-Layer Traffic Optimization (ALTO) Deployment Considerations", RFC 7971, DOI 10.17487/RFC7971, October 2016. |