<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<?rfc strict="yes" ?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes" ?>
<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>
<rfc 
	category="info" 
	docName="draft-kuhn-aqm-eval-guidelines-00"
	ipr="trust200902">
  <!-- category values: std, bcp, info, exp, and historic
     ipr values: full3667, noModification3667, noDerivatives3667
     you can add the attributes updates="NNNN" and obsoletes="NNNN" 
     they will automatically be output with "(if approved)" -->

  <!-- ***** FRONT MATTER ***** -->

  <front>
    <!-- The abbreviated title is used in the page header - it is only necessary if the 
         full title is longer than 39 characters -->

    <title abbrev="AQM Evaluation Guidelines">AQM Evaluation Guidelines</title>

    <author role="editor" fullname="Nicolas Kuhn" initials="N." surname="Kuhn">
      <organization>Telecom Bretagne</organization>
      <address>
        <postal>
          <street>2 rue de la Chataigneraie</street>
          <city>Cesson-Sevigne</city>
          <region></region>
          <code>35510</code>
          <country>France</country>
        </postal>
        <phone>+33 2 99 12 70 46</phone>
        <email>nicolas.kuhn@telecom-bretagne.eu</email>
      </address>
    </author>

    <author role="editor" fullname="Preethi Natarajan" initials="P." surname="Natarajan">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <street>510 McCarthy Blvd</street>
          <city>Milpitas</city>
          <region>California</region>
          <code></code>
          <country>United States</country>
        </postal>
        <phone></phone>
        <email>prenatar@cisco.com</email>
      </address>
    </author>

    <author fullname="David Ros" initials="D." surname="Ros">
      <organization>Simula Research Laboratory</organization>
      <address>
        <postal>
          <street></street>
          <city></city>
          <region></region>
          <code></code>
          <country></country>
        </postal>
        <phone></phone>
        <email>dros@simula.no</email>
      </address>
    </author>

    <author fullname="Naeem Khademi" initials="N." surname="Khademi">
      <organization>University of Oslo</organization>
      <address>
        <postal>
          <street>Department of Informatics, PO Box 1080 Blindern</street>
          <city>N-0316 Oslo</city>
          <region></region>
          <code></code>
          <country>Norway</country>
        </postal>
        <phone>+47 2285 24 93</phone>
        <email>naeemk@ifi.uio.no</email>
      </address>
    </author>

    <date month="February" year="2014" />

    <!-- If the month and year are both specified and are the current ones, xml2rfc will fill 
         in the current day for you. If only the current year is specified, xml2rfc will fill 
	 in the current day and month for you. If the year is not the current one, it is 
	 necessary to specify at least a month (xml2rfc assumes day="1" if not specified for the 
	 purpose of calculating the expiry date).  With drafts it is normally sufficient to 
	 specify just the year. -->

    <!-- Meta-data Declarations -->

    <area>Transport</area>

    <workgroup>Internet Engineering Task Force</workgroup>

    <!-- WG name at the upperleft corner of the doc,
         IETF is fine for individual submissions.  
	 If this element is not present, the default is "Network Working Group",
         which is used by the RFC Editor as a nod to the history of the IETF. -->

    <keyword>template</keyword>

    <!-- Keywords will be incorporated into HTML output
         files in a meta tag but they have no effect on text or nroff
         output. If you submit your draft to the RFC Editor, the
         keywords will be used for the search engine. -->

    <abstract>
    <t>Unmanaged large buffers in today's networks have given rise to a slew of performance issues. These performance issues can be addressed by some form of Active Queue Management (AQM), optionally in combination with a packet scheduling scheme such as fair queuing. The IETF AQM working group was recently formed to standardize AQM schemes that are robust, easily implemented, and successfully deployed in today's networks. This document describes various criteria for performing precautionary evaluations of AQM proposals. This document also helps in ascertaining whether any given AQM proposal should be taken up for standardization by the AQM WG.</t>
    </abstract>
  </front>

  <middle>

	<section anchor="sec:introduction" title="Introduction">
	<t>Active Queue Management (AQM) addresses the concerns arising from using unnecessarily large and unmanaged buffers in order to improve network and application performance. Several AQM algorithms have been proposed in the past years, most notable being Random Early Detection (RED), BLUE, and Proportional Integral controller (PI). In general, these algorithms actively interact with Transmission Control Protocol (TCP) and other transport protocol that deploys a congestion control scheme to manage the amount of data they keep in the network. While the available buffer space in the routers and switches is sufficiently enough to accommodate the short-term buffering requirements, this has the effect of reducing mean buffer occupancy, and therefore both end-to-end delay and jitter. Some of these algorithms, notably RED, have also been widely implemented on network devices. However, we haven't realized the benefits of RED AQM scheme since it is reported to be usually turned off. The main reason of this reluctance to use RED is that its parameters' sensitiveness to the operating conditions in the network and the difficulty of tuning them to realize some benefits in today's deployment.</t>

<t>In order to meet mostly throughput-based SLA requirements and to avoid packet drops, many network providers resort to increasing the available buffer space. This increase is also referred to as Bufferbloat <xref target="BB2012"></xref>. Deploying large unmanaged buffers on the Internet lead to the increase in end-to-end delay, resulting in poor performance for latency sensitive applications such as real-time multimedia (e.g., voice, video, gaming, etc.). The degree to which this affects modern networking equipment, especially consumer-grade equipment, produces problems even with commonly used web services. Active queue management is thus essential to control queuing delay and decrease network latency.</t>
	<t>The AQM working group was recently formed within the TSV area to address the problems with large unmanaged buffers in the Internet. Specifically, the AQM WG is tasked with standardizing AQM schemes that not only address concerns with such buffers, but also are robust under wide variety of operating conditions. In order to ascertain whether the WG should undertake standardizing an AQM proposal, the WG requires guidelines for evaluating AQM proposals. This document provides the necessary guidelines.</t>
		
	<section anchor="subsec:intro_guidelines" title="Guidelines for AQM designers">
	<t>One of the key objectives behind formulating the guidelines is to help ascertain whether a specific AQM is not only better than drop-tail but also safe to deploy. Thus, the evaluation of AQM performance can be divided into two categories: (1) the guidelines to quantify AQM schemes' performance in terms of latency reduction, goodput maximization and the trade-off between the two and (2) the guidelines for safe deployment, including self adaptation, stability analysis, fairness, design/implementation complexity and robustness to different operating conditions.</t>
	<t>This memo recognizes that an AQM scheme MAY NOT be suitable for all possible network environments relevant to the IETF such as home networks, data centers, enterprise edge etc. Therefore, this document considers two different categories of evaluation scenarios: (1) generic scenarios that any AQM proposal SHOULD be evaluated against, and (2) evaluation scenarios specific to a network environment. Irrespective of whether or not an AQM is standardized by the WG, we recommend the relevant scenarios and metrics discussed in this document to be considered. Since a specific AQM scheme MAY NOT be applicable to all network environments, the specific evaluation scenarios enable to establish the environments where the AQM is applicable. These guidelines do not present every possible scenario and cannot cover every possible aspect of a particular algorithm.  In addition, it is worth noting that the proposed criteria are not bound to a particular evaluation toolset. </t>
	<t>This document details how an AQM designer can rate the feasibility of their proposal in different types of network devices, given the various architecture possibilities (switches, routers, firewalls, hosts, drivers, etc.) where an AQM may be implemented. To this end, these guidelines state that an AQM's resource requirements SHOULD be measured, considering which parts of the AQM run in real-time on the data versus the components than run at higher levels or larger time-scales.</t>
	</section>

	<section anchor="subsec:intro_tradeoff" title="Reducing the latency and maximizing the goodput">
	<t>The trade-off between reducing the latency and maximizing the goodput is intrinsically linked to each AQM scheme and is a central key to evaluating its performance. This trade-off MUST be considered in various scenarios to ensure the safety of an AQM deployment. Whenever possible, solutions should aim at both maximizing goodput and minimizing latency. This document proposes guidelines that enable the reader to quantify (1) reduction of latency and (2) maximization of goodput and (3) the trade-off between the two.</t>
	<t>The tester SHOULD discuss the performance of its proposal in terms of performance and deployment in comparison with those of drop-tail: basically, these guidelines provide the tools to understand the cost (in terms of deployment) versus the potential gain in performance of the introduction of the proposed scheme.</t>
	</section>

	<section anchor="subsec:intro_orga" title="Organization of the document">
	<t>This memo is organized as follows:</t>
	<t><list style="symbols">
	<t><xref target="sec:metrics"></xref> defines the set of metrics that SHOULD be measured to better evaluate the performance of an AQM scheme. All of them SHOULD be considered regardless the topology, the traffic and the goal.</t>
	<t><xref target="sec:eval"></xref> presents a set of scenarios that COULD be considered to evaluate the performance of an AQM scheme. One AQM algorithm may not perform well for all network environments: this section helps in determining environments where a specific AQM scheme is applicable. The AQM performance for the whole set of scenarios MAY not be evaluated, but for each selected scenario, the metrics presented in <xref target="sec:metrics"></xref> MUST be considered.</t>
	<t><xref target="sec:deploy"></xref> details deployment issues that MUST be discussed, such as stability, implementation cost, implementation feasibility, control knobs, etc.</t>
	<t><xref target="sec:comp_aqm"></xref> presents how these guidelines can be used to fairly compare various AQM schemes.</t>
	</list></t>
	</section>

	<section anchor="subsec:intro_requi" title="Requirements Language">
	<t>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 <xref target="RFC2119">RFC 2119</xref>.</t>
	</section>
	
	</section>
	
	<section anchor="sec:metrics" title="Metrics of interest">	

	<t>End-to-end delay is the result of propagation delay, serialization delay, service delay in a switch, and queuing delay, summed over the network elements in the path. Among those, only the queuing delay is variable for a certain network path. AQM or scheduling algorithms may reduce this delay by providing signals to the sender on the emergence of congestion, but any impact on the goodput must be carefully considered. This section presents the metrics that MUST be used to better quantify (1) the reduction of latency, (2) maximization of goodput and (3) the trade-off between the two. These metrics MUST be considered to better assess the performance of an AQM scheme.</t>
	
	<section anchor="subsec:metrics_queue" title="Queue-related metrics">
	<t>The queue-related metrics enable a better understanding of the AQM behavior under tests and the impact of its internal parameters. This section provides details on (1) the metrics that SHOULD be evaluated and (2) how to represent them.</t>
	<t>The metrics presented are the link utilization, the queuing delay and the queue size in order to quantify the trade-off between goodput and delay. Considering the fact that AQM schemes may drop packets, the AQM tester SHOULD look carefully at the drops that the scheme provokes.</t>
	
	<section anchor="subsubsec:metrics_queue_link_util" title="Link utilization">
	<t>The definition of the link utilization is given in the section 2.3.5 of <xref target="RFC5136">RFC5136</xref>: "the utilization now represents the fraction of the capacity that is being used and is a value between zero (meaning nothing is used) and one (meaning the link is fully saturated)."</t>
	<t>The link utilization is a metric that MUST be measured at the output of the sending device and illustrates the link between queuing delay and packet-dropping rates, which are key elements to understand the internal behavior of the algorithm. The goodput metric for end-to-end performance evaluation will be discussed in <xref target="subsubsec:metrics_e2e_goodput"></xref>.</t>
	<t>The guidelines advise that the tester SHOULD determine the minimum, average and maximum measurements of the link utilization and the coefficient of variation for the average value as well.</t>  
	</section>	

	<section anchor="subsubsec:metrics_queue_delay_size" title="Queuing delay and queue size">
	<t>The queuing delay is the time a packet waits in a queue until it can be transmitted to the lower layers. The queue size is the number of bytes which are occupying the queue.</t>
	<t>Both queue size and queuing delay are needed because of fluctuating link speeds. Moreover, AQM algorithm may be based on the length of the queue (such as RED) or the queuing delay (such as CoDel or PIE).</t>
	<t>The guidelines advice that the tester SHOULD determine the minimum, average and maximum measurements of these metrics and the coefficient of variation for the average values as well.</t>  
	</section>	

	<section anchor="subsubsec:metrics_queue_loss" title="Packet loss">
	<t>Losses can occur for various reasons. The losses under considerations in this section are the losses that crop up in the queue where AQM schemes take place.</t>
	<t>Two classes of loss can be distinguished:</t>
	<t><list style="symbols">
	<t>AQM-induced losses: voluntary drops that are provoked by the AQM scheme;</t>
	<t>buffer overflow: losses that occur when the buffer is full (so called "tail drop").</t>
	</list></t>

	<t>For each of these cases, these guidelines advise one measure of:</t>	
	<t><list style="symbols">
	<t>the long-term packet loss probability;</t>
	<t>the time interval between consecutive losses: for this metric, the distribution and average value SHOULD be measured.</t>
	</list></t>
	</section>

	</section>
	
	<section anchor="subsec:metrics_e2e" title="End-to-end Metrics">
	<t>The impact of the introduction of AQM schemes on the end-to-end performance MUST be evaluated: this section presents the metrics that enable to evaluate the benefits provided by the tested AQM.</t>
	<t>The metrics presented are the latency, the goodput, the packet loss synchronization, the Quality of Experience (QoE) related metrics and the fairness. The objective of these metrics is to quantify how much the introduction of an AQM:</t>
	<t><list style="symbols">
	<t>reduces the latency;</t>
	<t>impacts on the goodput;</t>
	<t>impacts on the fairness between the flows.</t>
	</list></t>
	
	<section anchor="subsubsec:metrics_e2e_complet_time" title="Flow Completion time">
	<t>The flow completion time is an important performance metric for the end user. Considering the fact that an AQM scheme may drop packets, the flow completion time is directly linked to its algorithm and this is all the more true when the flows are short.</t>
	<t>An AQM evaluation SHOULD measure the distribution of the flow completion time.</t>
	</section>

	<section anchor="subsubsec:metrics_e2e_synch_loss" title="Packet loss">
	<t>The packet losses, that crop up in the queue where AQM schemes take place, impact on the end-to-end performance at the receiver's side. This metric may be already included in <xref target="subsubsec:metrics_queue_loss"></xref>, however its end-to-end aspect may ease the understanding of each proposal.</t>
	<t>The tester MUST evaluate, at the receiver:</t>
	<t><list style="symbols">
	<t>the long term packet loss probability;</t>
	<t>the packet loss inter-arrival time;</t>  
	<t>the packet loss pattern.</t>  
	</list></t>
        <t>The guidelines advice that the tester SHOULD determine the minimum, average and maximum measurements of these metrics and the coefficient of variation for the average value as well.</t> 
	</section>
	
	<section anchor="subsubsec:metrics_e2e_goodput" title="Goodput">
	<!-- Preethi: (Goodput?) NK:  The goodput let the tester have a "transport layer" view of the performance. I believe goodput is more "application layer" which can be assessed with the jitter and latency. We could change all the "throughput" by "goodput" if you prefer. Preethi: As you mention, godoput is a good metric to infer application performance and also transport performance. Higher goodput values indiciate not just low drops, but also how well ECN is working with the AQM scheme. So am changing to goodput below. Thanks. -->  
        <t>The goodput may be already included with latency measurements, but measuring the goodput enable an end-to-end appreciation of how well the AQM improves transport and application performance. The measured end-to-end goodput is inversely proportional to the AQM scheme's packet drops -- the smaller the packet drops, fewer packets need retransmission, minimizing AQM's impact on transport and application performance. Additionally, AQM scheme may resort to Explicit Congestion Notification (ECN) marking as an initial means to control delay. Again, marking packets instead of dropping them reduces number of packet retransmissions and increases goodput. Overall, end-to-end goodput values help evaluate the AQM scheme's effectiveness in minimizing packet drops that impact application performance and estimate how well the AQM scheme works with ECN. </t>
        <t>If scheduling comes into play, a measure of how individual queues are serviced may be necessary: the scheduling introduced on top of the AQM may starve some flows and boost others. The utilization of the link does not cover this, as the utilization would be the same, whereas the goodput let the tester see if some flows are starved or not.</t>
        <t>The guidelines advice that the tester SHOULD determine the minimum, average and maximum measurements of the goodput and the coefficient of variation for the average value as well.</t> 
	</section>

	<section anchor="subsubsec:metrics_e2e_latency" title="Latency and jitter">
	<t>The end-to-end latency differs from the queuing delay: it is linked to the network topology and the paths characteristics. Moreover, the jitter strongly depends on the traffic and the topology as well. The introduction of an AQM scheme would impact on these metrics and the end-to-end evaluation of performance MUST consider them for a better understanding.</t>
	<t>The guidelines advice that the tester SHOULD determine the minimum, average and maximum measurements for these metrics  and the coefficient of variation for their average values as well.</t> 
	</section>

	<section anchor="subsubsec:metrics_e2e_qoe" title="QoE metrics">
	<t>An AQM evaluation study COULD measure the quality of experience of end users for selected applications which are sensitive to latency, such as video-streaming or VoIP. For these specific applications, one SHOULD estimate the average Mean Opinion Score (MOS). Many AQM proposals attempt to reduce the latency and these QoE metrics can provide strong arguments for the developments of various AQM solutions.</t>
	<t>The evaluation of QoE SHOULD consider the end-to-end latency and jitter detailed in <xref target ="subsubsec:metrics_e2e_latency"></xref>.</t>
	</section>
	</section>
    
	<section anchor="subsec:metrics_tradeoff" title="Discussion on the trade-off between latency and goodput">
	<t>The metrics presented in this section MUST be considered, in order to discuss and quantify the trade-off between latency and medium utilization wherever present. </t>	
	<t>This trade-off can also be illustrated with figures following the recommendations of the section IV-B of <xref target="TCPEVAL2008"></xref>. For each scenarios, the output SHOULD be four graphs:</t>
	<t><list style="symbols">
	<t>Queue related trade-off: queuing delay vs. link utilization: the x-axis shows the average queuing delay and the y-axis the average link utilization;</t>
	<t>Queue related trade-off: drop rate vs. queuing delay: the x-axis shows the queuing delay and the y-axis the drop rate;</t>
	<t>End-to-end trade-off: end-to-end delay vs. goodput: the x-axis shows the average end-to-end delay and the y-axis the average goodput;</t>
	<t>End-to-end trade-off: drop rate vs. end-to-end delay: the x-axis shows the end-to-end delay and the y-axis the drop rate.</t>
	</list></t>
	<t>Concerning the drop rate, the AQM tester can distinguish two classes of drops, AQM-induced losses and buffer overflow, resulting in two graphs for the 'drop rate vs. queuing delay' graph. Each of this pair of graphs provide part of a better understanding (1) of the delay/goodput/drop-rate trade-off for a given congestion control mechanism, and (2) of how the goodput and average queue size vary as a function of the traffic load.</t> 
	</section>
	</section>
    
	<section anchor="sec:eval" title="Evaluation scenarios">
	
	<t>This section presents the set of scenarios that COULD be considered to evaluate the performance of AQM scheme: some scenarios MUST be considered, whereas others MAY NOT. One AQM algorithm may not work in all networking environments: this section helps in determining environments where an AQM proposal is applicable. The performance for the whole set of scenarios MAY not be evaluated, but for each selected scenario, the metrics presented in <xref target="sec:metrics"></xref> MUST be considered. Each following subsections can be seen as a potential working area for the tested AQM algorithm. The output of these guidelines would be a list of competencies for each AQM, which will let the AQM WG have clear criteria to compare the AQMs.</t>
	<t>While presenting the performance of an AQM algorithm for the selected scenarios, the tester MUST provide any parameter that had to be set beforehand. Moreover, the values for these parameters MUST be explained and justified as detailed in <xref target="subsec:deploy_param_sensitivity"></xref>.</t>
	<t>The tester SHOULD compare its proposal's performance and deployment with those of drop-tail: basically, these guidelines provide the tools to understand the cost (in terms of deployment) versus the potential gain in performance of the introduction of the proposed scheme.</t>
	<t>This section is organized as follows:</t>
	<t><list style="symbols">
	<t> <xref target="subsec:eval_topo_nota"></xref> presents the topology which is common to all the scenarios.</t>
	<t> <xref target="subsec:eval_generic"></xref> presents the scenarios that MUST be considered in the evaluation of one AQM proposal. This section will refer to <xref target="subsec:eval_topo_nota"></xref> in order to detail the content of each scenario.</t>
	<t> <xref target="subsec:eval_context"></xref> explains scenarios that MAY be exploited to determine the potential working area of an AQM proposal in specific contexts, by referring to <xref target="subsec:eval_topo_nota"></xref> to detail the topology considered.</t>
	</list></t>

	<section anchor="subsec:eval_topo_nota" title="Topology and notations">
	<t>This section presents the topology that can be used for each of the following scenario and corresponding notations.</t>
	<figure anchor="fig:topology" title="Topology and notations">
		<artwork>
    +--------------+                                +--------------+
    |senders A|    |                                |  |receivers B|
    |---------+    |                                |  +-----------|
    |              |                                |              |
    |--------------|                                |--------------|
    |traffic class1|RTTA1.1,                RTTR1.1,|traffic class1|
    |--------------|CA1.1                      CR1.1|--------------|
    | SEN.Flow1.1 +---------+            +-----------+ REC.Flow1.1 |
    |        +     |        |            |          |        +     |
    |        +     |RTTA1.X,|            |  RTTR1.X,|        +     |
    |        +     |CA1.X   |            |     CR1.X|        +     |
    | SEN.Flow1.X +-----+   |            |  +--------+ REC.Flow1.X |
    |--------------|    |   |            |  |       |--------------|
    |    +         |  +-+---+---+     +--+--+---+   |        +     |
    |    |         |  |Central L|     |Central R|   |        |     |
    |    |         |  |---------|RTTLR|---------|   |        |     |
    |    |         |  | AQM     |CLR  |         |   |        |     |
    |    |         |  | BuffSize+-----+         |   |        |     |
    |    +         |  | (Bsize) |     |         |   |        +     |
    |--------------|  +-----+--++     ++-+------+   |--------------|
    |traffic classN|RTTAN.1,|  |       | |  RTTRN.1,|traffic classN|
    |--------------|CAN.1   |  |       | |     CRN.1|--------------|
    | SEN.FlowN.1 +---------+  |       | +-----------+ REC.FlowN.1 |
    |        +     |           |       |            |        +     |
    |        +     |RTTAN.Y,   |       |    RTTRN.Y,|        +     |
    |        +     |CAN.Y      |       |       CRN.Y|        +     |
    | SEN.FlowN.Y +------------+       +-------------+ REC.FlowN.Y |
    +--------------+                                +--------------+
		</artwork>
	</figure>

	<t><xref target="fig:topology"></xref> is a generic topology where:</t>
	<t><list style="symbols">
	<t>various class of traffic can be introduced;</t>
	<t>each class of traffic can consider a various number of flows;</t>
	<t>each link is characterized by a unique couple (RTT,capacity);</t>
	<t>Flows are generated between A and B, sharing a bottleneck (nodes L and R);</t>
	<t>RTTAB.C (resp. CAB.C) is the RTT (resp. capacity) for a flow of traffic class B, with the ID of C, from node A to L;</t>
	<t>The links are supposed to be symmetric, but notations can  be adapted if it is not the case.</t>
	</list></t>

	<t>The size of the buffers MUST be carefully, set considering the bandwith-delay product.</t>

	</section>
	
	<section anchor="subsec:eval_generic" title="Generic scenarios">
	<t>The following scenarios are generic and MUST be considered whatever the context is.</t>

	<section anchor="subsubsec:eval_generic_traff_profil" title="Traffic Profiles">
	<t>Network and end devices need to be configured with reasonable amount of buffers in order to absorb transient bursts. In some situations, network providers configure devices with large buffers to avoid packet drops and increase goodput. Transmission Control Protocol (TCP) fills up these unmanaged buffers until the TCP sender receives a signal (packet drop) to cut down the sending rate. The larger the buffer, the higher the buffer occupancy, and therefore the queuing delay. On the other hand, an efficient AQM scheme sends out early congestion signals to TCP senders so that the queuing delay is brought under control.</t>
	<t>Not all applications run over the same flavor of TCP. Variety of senders generate different traffic profiles at the networking device. For example, there could be senders that either do not respond to congestion signals (aka unresponsive flows) or do not cut down their sending rate as expected (aka aggressive flows). An AQM scheme should ensure queuing delay is under control irrespective of these traffic profiles.</t>	
	<t>This document will evaluate an AQM proposal based on the metrics presented in <xref target="sec:metrics"></xref> irrespective of traffic profiles involved -- different senders (TCP variants, unresponsive, aggressive), traffic mix with different applications, etc. Additionally, the AQM scheme MUST NOT require operator tuning to work with varying traffic profiles.</t>
	
	<section anchor="subsubsubsec:eval_generic_traff_profil_topo" title="Topology Description">
    	<t>The topology is presented in <xref target="fig:topology"></xref>. For this scenario, the capacities of the links MUST be set to 10Mbps and the RTTs to 100ms.</t>
    	</section>

    	<section anchor="subsubsubsec:eval_generic_traff_profil_single_TCP" title="  TCP-friendly Sender">
    	<t> This scenario helps evaluate how AQM scheme adapts to a TCP-friendly transport sender. Single TCP New Reno flow between sender A and receiver B, that transfers a large file for a period of 50s. Other TCP friendly congestion control schemes such as TCP-friendly rate control <xref target="RFC5348"> </xref> etc MAY also be considered. </t>
	<t> For each TCP-friendly transport considered, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. We expect that an AQM proposal exhibit similar behavior for all the TCP-friendly transports considered. </t>
    	</section>

    	<section anchor="subsubsubsec:eval_generic_traff_profil_aggress" title="Aggressive Transport Sender">
    	<t>This scenario helps evaluate how AQM scheme adapts to a transport sender whose sending rate is more aggressive than a single TCP-friendly sender. Single TCP Cubic flow between sender A and receiver B, that transfers a large file for a period of 50s. Other  congestion control schemes such as (ref) MAY also be considered in-order to help understand how the AQM scheme adapts to that particular aggressive transport. </t>
	<t>For each flavor of aggressive transport, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t>
    	</section>

   	<section anchor="subsubsubsec:eval_generic_traff_profil_unresp" title="Unresponsive Transport Sender">
   	<t>This scenario helps evaluate how AQM scheme adapts to a transport sender who is not responsive to congestion signals (ECN marks and/or packet drops) from the AQM scheme.  In order to create a test environment that results in queue build up, we consider unresponsive flow(s) whose sending rate is greater than the bottleneck link capacity between nodes L and R. Note that faulty transport implementations on end hosts and/or faulty network elements en-route that "hide" congestion signals in packet headers <xref target="I-D.ietf-aqm-recommendation"></xref> may also lead to a similar situation, such that the AQM scheme needs to adapt to unresponsive traffic. </t> 
   	<t> This scenario consists of UDP flow(s) with an aggregate rate of 12Mbps between sender A and receiver B, that transfers a large file for a period of 50s. Graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t>
    	</section>
    	
   	<section anchor="subsubsubsec:eval_generic_traff_profil_mix" title="Traffic Mix">
	<t>This scenario helps evaluate how AQM scheme adapts to a traffic mix consisting of different applications such as FTP, web, voice, video traffic. These testing cases presented in this subsection have been inspired by the table 2 of <xref target="DOCSIS2013"></xref>:</t>
 	<t><list style="symbols">
	<t>Bulk TCP transfer: (continuous file transmission, or repeating 5MB file transmission);</t>
	<t>Realistic HTTP web traffic (repeated download of 700kB);</t>
	<t>VoIP, Gaming (each of them 87kbps UDP stream);</t>
	<t>Constant bit rate UDP traffic (1Mbps UDP flow).</t>
	</list></t>	
 	<t><xref target="fig:traffic_mix"></xref> present the various cases for the traffic that MUST be generated between sender A and receiver B.</t>
	<figure anchor="fig:traffic_mix" title="Traffic Mix scenarios">
		<artwork>
	 			+----+-------------------+--------+
	 			|Case| Number of traffic |Comments|
	 			+    +----+----+----+----+        +
	 			|    |VoIP|Webs|CBR |FTP | on FTP |
	 			+----+----+----+----+----+--------+
	 			| A  |  1 |  1 |  0 |  0 |        |
			 	|    |    |    |    |    |        |
	 			| B  |  1 |  1 |  0 |  1 | cont.  |
	 			|    |    |    |    |    |        |
	 			| C  |  1 |  1 |  0 |  5 | repeat |
	 			|    |    |    |    |    |  (5MB) |
	 			| D  |  1 |  1 |  1 |  5 | repeat |
	 			|    |    |    |    |    |  (5Mb) |
	 			+----+----+----+----+-------------+
		</artwork>
	</figure>
  
	<t>For each of these scenarios, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. In addition, other metrics such as end-to-end latency, jitter, flow completion time, QoE MUST be generated.</t> 
	</section>
	
	</section>

	<section anchor="subsubsec:eval_generic_subrtt" title="Burst absorption">
	<t>Packet arrivals can be bursty due to various reasons. Dropping one or more packets from a burst may result in performance penalties for the corresponding flows since the dropped packets have to be retransmitted. Performance penalties may turn into unmet SLAs and be disincentives to AQM adoption. Therefore, an AQM scheme SHOULD be designed to accommodate transient bursts. AQM mechanisms do not present the same tolerance to bursts of packets arriving in the buffer: this tolerance MUST be quantified.</t>
	<t>Note that accommodating bursts translates to higher queue length and queuing delay. Naturally, it is important that the AQM scheme brings bursty traffic under control quickly. On the other hand, spiking packet drops inorder to bring packet bursts quickly under control could result in multiple drops per flow and severely impact transport and application performance. Therefore, an AQM scheme SHOULD bring bursts under control by balancing both aspects -- (1) queuing delay spikes are minimized and (2) performance penalties for ongoing flows in terms of packet drops are minimized.</t>
	<t>AQM maintain short queues to allow the remaining space in the queue for bursts of packets. The tolerance to burst of packets depends on the number of packets in the queue, which is directly linked to the AQM policy. Moreover, one AQM scheme may implement a feature controlling the maximum size of accepted bursts, which may be set by the number of packets in the buffer, or the currently estimated queuing delay. Also, the impact of the buffer size on the burst allowance MAY be evaluated, detailed in <xref target="subsubsec:eval_context_buff_size"></xref>.</t>

	<section anchor="subsubsubsec:eval_generic_subrtt_topo" title="Topology Description">
    	<t>The topology is presented in <xref target="fig:topology"></xref>. For this scenario, the capacities of the links MUST be set to 10Mbps and the RTTs to 100ms.</t>
    	</section>

	<section anchor="subsubsec:eval_generic_subrtt_generic_burst" title="Generic bursty traffic">	
	<t>The following traffic should be considered from sender A to receiver B:</t>	
	<t><list style="symbols">
	<t>One Constant bit rate UDP traffic: 1Mbps UDP flow;</t>
	<t>One TCP transfer: repeating 5MB file transmission;</t>
	<t>Burst of packets: size of the burst from 5 to MAX_BUFFER_SIZE packets.</t>
	</list></t>

	<t>For each of these scenarios, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. In addition, other metrics such as end-to-end latency, jitter, flow completion time, QoE MUST be generated. Moreover, the tester MUST provide the flow completion time, detailed in <xref target="subsubsec:metrics_e2e_complet_time"></xref>, for each burst size considered.</t>

	</section>

	<section anchor="subsubsubsec:eval_generic_subrtt_traffic" title="Realistic bursty traffic">	
	<t>The following bursty traffic SHOULD be considered:</t>
	<t><list style="symbols">
	<t>IW10: TCP transfer with initial congestion window set to 10 (repeating 5MB file transmission);</t>
	<t>Bursty video frames (H.264/AVC) (60fps);</t>
	<t>HTTP web traffic (repeated download of 700kB);</t>
	<t>Constant bit rate UDP traffic (1Mbps UDP flow).</t>
	</list></t>
 	<t><xref target="fig:burst_traffic"></xref> present the various cases for the traffic that MUST be generated between sender A and receiver B.</t>
	<figure anchor="fig:burst_traffic" title="Bursty traffic scenarios">
		<artwork>
			+--------------------------------+
			|Case| Number of traffic         |
			|    +-----+----+----+-----------+
			|    |Video|Webs| CBR| FTP (IW10)|
			+----|-----|----|----|-----------|
			| A  |  0  |  1 |  1 |     0     |
			|----|-----|----|----|-----------|
			| B  |  0  |  1 |  1 |     1     |
			|----|-----|----|----|-----------|
			| C  |  1  |  1 |  1 |     0     |
			+----|-----|----|----|-----------|
			| D  |  1  |  1 |  1 |     0     |
			+----|-----|----|----|-----------|
			| E  |  1  |  1 |  1 |     1     |
			+----+-----+----+----+-----------+
		</artwork>
	</figure>

	<t>For each of these scenarios, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. In addition, other metrics such as end-to-end latency, jitter, flow completion time, QoE MUST be generated.</t>
	</section>
	
	</section>
	
	<section anchor="subsubsec:eval_generic_rtt_sensitivity" title="Inter-RTT and intra-protocol fairness">
	<t>TCP dynamics are a driving force for AQM design. It is therefore important to evaluate against a set of RTT (e.g., from 5 ms to 200 ms). Also, asymmetry in terms of RTT between various paths SHOULD be considered so that the fairness between the flows can be discussed as one may react faster to congestion than another. The impact of the scheduling and the AQM introduced on this lack of fairness SHOULD be evaluated.</t>
	<t>Moreover, introducing an AQM and/or scheduling schemes may result in the absence of fairness between the flows, even when the RTTs are identical. This potential lack of fairness SHOULD be evaluated.</t>
	<t>The topology that SHOUD be exploited is the one of <xref target="fig:topology"></xref>:</t>
	<t><list style="symbols">
	<t>to evaluate the inter-RTT fairness, for each run, two flows (Flow1.1 and Flow1.2) SHOULD be introduced and the set of RTT SHOULD be: RTTA1.1 in [5ms;100ms] and RTTA1.2 in [100ms;200ms].</t>
	<t>to evaluate the impact of the RTT value on the AQM performance and the intra-protocol fairness, for each run, two flows (Flow1.1 and Flow1.2) SHOULD be introduced and the set of RTT SHOULD be: RTTA1.1 in [5ms;200ms] and RTTA1.2 in [5ms;200ms], with (RTTA1.1)=(RTTA1.2).</t>
	</list></t>
	<t>These flows MUST have the same congestion control algorithm.</t>
	<t>The output that MUST be measured is the ratio between the average goodput values of the two flows (<xref target="subsubsec:metrics_e2e_goodput"></xref>) and the packet drop rate for each flow (<xref target ="subsubsec:metrics_e2e_synch_loss"></xref>).</t>
	
	</section>

	<section anchor="subsubsec:eval_generic_fluc_net" title="Fluctuating network conditions">
	<t>Network devices experience varying operating conditions depending on factors such as time of day, deployment scenario etc. For example:</t>
	<t><list style="symbols">
        <t>Traffic and congestion levels are higher during peak hours than off-peak hours.</t>
        <t>A queue's draining rate could vary depending on other queues. A low load on high priority queue implies higher draining rate for lower priority queues.</t>
        </list></t>
	<t>If the target context is a stable environment, the tester MUST illustrate their stability over time.</t> 
	<t>In context where the network conditions can vary over time, an AQM scheme MUST be robust enough to control network latencies under fluctuating network conditions, without the need for operator tuning of AQM parameters. This document will evaluate AQM proposals under varying congestion levels and varying draining rates. </t>
	
	<section anchor="subsubsubsec:eval_generic_fluc_net_topo" title="Topology Description">
    	<t>The topology is presented in <xref target="fig:topology"></xref>. For this scenario, the capacities of the links MUST be set to 10Mbps and the RTTs to 100ms.</t>
    	</section>
    
	<section anchor="subsubsubsec:eval_generic_fluc_net_mild" title="Mild Congestion">
	<t> This scenario helps evaluate how an AQM scheme adapts to a light load of incoming traffic resulting in mild congestion -- packet drop rates less than 1%. The scenario consists of 4-5 TCP New Reno flows between sender A and receiver B. All TCP flows start at random times during the initial second. Each TCP flow transfers a large file for a period of 50s. </t>  
	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t> 
	</section>
	
	<section anchor="subsubsubsec:eval_generic_fluc_net_medium" title="Medium Congestion">
	<t> This scenario helps evaluate how an AQM scheme adapts to incoming traffic resulting in medium congestion -- packet drop rates between 1%-3%. The scenario consists of 10-20 TCP New Reno flows between sender A and receiver B. All TCP flows start at random times during the initial second. Each TCP flow transfers a large file for a period of 50s. </t>  
	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t> 
	</section>
	
	<section anchor="subsubsubsec:eval_generic_fluc_net_heavy" title="Heavy Congestion">
	<t> This scenario helps evaluate how an AQM scheme adapts to incoming traffic resulting in heavy congestion -- packet drop rates between 5%-10%. The scenario consists of 30-40 TCP New Reno flows between sender A and receiver B. All TCP flows start at random times during the initial second. Each TCP flow transfers a large file for a period of 50s. </t>  
	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t> 
	</section>
	
	<section anchor="subsubsubsec:eval_generic_fluc_net_vary_dr_rate" title="Varying Available Bandwidth">
	<t> This scenario helps evaluate how an AQM scheme adapts to varying available bandwidth on the outgoing link. To simulate varying draining rates, the bottleneck bandwidth between nodes 'Central L' and Central R' vary over the course of the experiment as follows -- 100Mbps during 0-50s, 10Mbps during 50-100s, 100Mbps during 100-150s. The scenario consists of 50 TCP New Reno flows between sender A and receiver B. All TCP flows start at random times during the initial second. Each TCP flow transfers a large file for a period of 150s. In order to better assess the impact of draining rates on the AQM behavior, the tester MUST compare its performance with those of tail-drop.</t>  
	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. Moreover, one graph MUST be generated for each of the three phases previously detailed.</t> 
	</section>
		
	</section>

	</section>

	<section anchor="subsec:eval_context" title="Diverse Network Environments">
	<t>This section presents scenarios with are related to specific network environments. These classical network environments which COULD be considered to evaluate the performance of the AQM under tests.</t>	
	<t>Each subsection presents a generic scenario and a use case. The scenarios are classified according to a relation between the delay (high, medium or low) and the capacity (high, medium, low). One scenario details as well that the impact of the sizes of the buffers should be evaluated. The guidelines selected those which are of interest for the evaluation of the performance of AQM proposals. On top of these abstracted scenario, these guidelines present use cases for each selected scenario, by proposing a carefully dimensioned topology.</t> 

	<section anchor="subsubsec:eval_context_wifi" title="Medium bandwidth, medium delay: Wi-Fi">	
	<t>This scenario is introduced to carefully evaluate AQM proposals in a generic context, where the link between the delay and the bandwidth is not specific and assess how AQM proposals can control latency in this context.</t>
	<t>We refer to <xref target="fig:topology"></xref> to detail the topology:</t>
 	<t><list style="symbols">
	<t>Sender A to Central L: capacity=100Mbps, RTT=10ms;</t>
	<t>Central L to Central R: capacity=20Mbps, RTT=10ms;</t>
	<t>Central R to Receiver B: capacity=100Mbps, RTT=10ms;</t>
	<t>The tester MAY include a packet loss rate of 1 to 3% on the Wi-Fi link (between Central L and Central R).</t>
	</list></t>	

	<t>The traffic that MUST generated between the sender A and the receiver B is:</t>
 	<t><list style="symbols">
	<t>Five repeating TCP transfers: repeating 5MB file transmission;</t>
	<t>One continuous TCP transfer: continuous file transmission;</t>
	<t>Four HTTP web traffic (repeated download of 700kB);</t>
	</list></t>	
	
	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t> 
	</section>
	
	<section anchor="subsubsec:eval_context_rural" title="Low bandwidth, high delay: Rural broadband networks and satellite links">
	<t>In the context of low bandwith and high delay, the burst absorption capacity of an AQM is seriously challenged. Indeed, due to the important bandwith-delay product, the sending buffer should be large, resulting in potentially large congestion windows and large bursts arrivals to the gateways. The tolerance to large incoming bursts is a key feature of an AQM introduced in this context: this is the reason why this challenging context is detailed in these guidelines.</t>

	<t>We refer to <xref target="fig:topology"></xref> to detail the topology:</t>
 	<t><list style="symbols">
	<t>Sender A to Central L: capacity=10Mbps, RTT=10ms;</t>
	<t>Central L to Central R: capacity=1Mbps, RTT=200ms;</t>
	<t>Central R to Receiver B: capacity=10Mbps, RTT=10ms;</t>
	</list></t>

	<t>The traffic that MUST generated between the sender A and the receiver B is:</t>
 	<t><list style="symbols">
	<t>Five repeating TCP transfers: repeating 5MB file transmission;</t>
	<t>One continuous TCP transfer: continuous file transmission;</t>
	<t>Four HTTP web traffic (repeated download of 700kB);</t>
	</list></t>	

	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t> 
	</section>
	
	<section anchor="subsubsec:eval_context_data_center" title="High bandwidth, low delay: data centers">
	<t>In the context of high bandwith and low delay, the specific characteristics require updated thresholds, which determine the behavior of an AQM. As a result, the auto-tuning of an AQM is seriously challenged. This is the reason why this challenging context is detailed in these guidelines.</t>
	
	<t>We refer to <xref target="fig:topology"></xref> to detail the topology:</t>
 	<t><list style="symbols">
	<t>Sender A to Central L: capacity=1Gbps, RTT=0.1ms;</t>
	<t>Central L to Central R: capacity=1Gbps, RTT=0.1ms;</t>
	<t>Central R to Receiver B: capacity=1Gbps, RTT=0.1ms;</t>
	</list></t>

	<!-- Preethi: The topology may have to be revisited to include Gbps rates and microsecond RTTs. We can revise it as needed in later revisions as well. -->
	<!-- NK: ACK -->
	<t>The traffic that MUST generated between the sender A and the receiver B is:</t>
 	<t><list style="symbols">
	<t>Four repeating TCP transfers: repeating 5MB file transmission;</t>
	</list></t>	
	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. </t> 

	</section>
	
	<section anchor="subsubsec:eval_context_buff_size" title="Low and high buffers">	
	<t>The size of the buffers impacts on AQMs performance, whether its algorithm is based on the queue length or the queueing delay. The tester MAY consider cases where the buffer is low (i.e. 1/10 BDP) and when the buffer is large (i.e. 10 BDP).</t>
	
	<t>We refer to <xref target="fig:topology"></xref> to detail the topology:</t>
 	<t><list style="symbols">
	<t>Sender A to Central L: capacity=100Mbps, RTT=10ms;</t>
	<t>Central L to Central R: capacity=20Mbps, RTT=10ms;</t>
	<t>Central R to Receiver B: capacity=100Mbps, RTT=10ms;</t>
	</list></t>	

	<t>The traffic that MUST generated between the sender A and the receiver B is:</t>
 	<t><list style="symbols">
	<t>Five repeating TCP transfers: repeating 5MB file transmission;</t>
	<t>One continuous TCP transfer: continuous file transmission;</t>
	<t>Four HTTP web traffic (repeated download of 700kB);</t>
	</list></t>	
	
	<t> For this scenario, the graphs described in <xref target="subsec:metrics_tradeoff"></xref> MUST be generated. Moreover, these guidelines advise to plot the characteristics of the queue (such as queue length or queuing delay) as explained in <xref target="subsubsec:metrics_queue_delay_size"></xref>.</t>	
	</section>
	
	</section>
	</section>

	<section anchor="sec:deploy" title="Deployment">
	<t>This section details deployment issues that MUST be discussed, such as stability, implementation cost, implementation feasibility, control knobs, etc.</t>

	<section anchor="subsec:deploy_control_knobs" title="Operator control knobs and auto-tuning">
	<t>One of the biggest hurdles for RED deployment was/is its parameter sensitivity to operating conditions -- how difficult it is to tune important RED parameters for a deployment in order to get maximum benefit from the RED implementation. Fluctuating congestion levels and network conditions add to the complexity. Incorrect parameter values lead to poor performance. Naturally, various network operators felt it unwise to turn on the AQM (RED) implementation.</t>
	<t>Any AQM scheme is likely to have parameters whose values affect the AQM's control law and behavior. Exposing all these parameters as control knobs to a network operator (or user) can easily result in an unsafe AQM deployment. Unexpected AQM behavior ensues when parameter values are not set properly. A minimal number of control knobs minimizes the number of ways a, possible naive, user can break the AQM system. Fewer control knobs make the AQM scheme more user-friendly and easier to deploy and debug.</t>
	<t>We recommend that an AQM scheme SHOULD minimize the control knobs exposed for operator tuning. An AQM scheme SHOULD expose only those knobs that control the "larger" AQM behavior such as queue delay threshold, queue length threshold, etc.</t>
        <t>Additionally, an AQM scheme's safety is directly related to its stability under varying operating conditions such as varying traffic profiles and fluctuating network conditions, as described in <xref target="subsubsec:eval_generic_fluc_net"></xref> and in <xref target="subsubsec:eval_generic_traff_profil"></xref>. Operating conditions vary often and hence it is necessary that the AQM MUST remain stable under these conditions without the need for additional external tuning. If AQM parameters require tuning under these conditions, then the AQM MUST self-adapt necessary parameter values by employing auto-tuning techniques.</t>
	</section>

	<section anchor="subsec:deploy_param_sensitivity" title="Parameter sensitivity and stability analysis">

       <t>An AQM scheme's control law is the primary means by which the AQM controls queuing delay. Hence understanding the AQM control law is critical to understanding AQM behavior. The AQM's control law may include several input parameters whose values affect the AQM output behavior and stability. Additionally, AQM schemes may auto-tune parameter values in-order to maintain stability under different network conditions (such as different  congestion levels, draining rates or network environments). The stability of these auto-tuning techniques is also important to understand.</t>
        <t> AQM proposals SHOULD provide background material showing control theoretic analysis of the AQM control law and the input parameter space within which the control law operates as expected. For parameters that are auto-tuned, the material SHOULD include stability analysis of the auto-tuning mechanism(s) as well. Such analysis helps the WG understand AQM control law better and the network conditions/deployments under which the AQM is stable. </t>
        <t>The impact of every externally tuned parameter MUST be discussed. As an example, if an AQM proposal needs various external tuning to work on different network environments presented in <xref target="sec:eval"></xref>, these external modifications MUST be clear for deployment issues. Also, the frequency at which some parameters are re-configured MUST be evaluated, as it may impact the capacity of the AQM to absorb incoming bursts of packets. </t>
	</section>

	<section anchor="subsec:deploy_impl_cost" title="Implementation cost">
	<t>An AQM's successful deployment is directly related to its ease of implementation. Network platforms may need hardware or software implementations of the AQM. Depending on a platform's capabilities and limitations, the platform may or may not be able to implement some or all parts of the AQM logic.</t>
	<t>AQM proposals SHOULD provide pseudo-code for the complete AQM scheme, highlighting generic implementation-specific aspects of the scheme such as "drop-tail" vs. "drop-head", inputs from platform (current queueing delay, queue length), computations involved, need for timers etc. This helps identify costs associated with implementing the AQM on a particular hardware or software platform. Also, it helps WG understand what kind of platforms can easily support the AQM and which cannot.</t>
	<t>AQM proposals SHOULD highlight parts of AQM logic that are platform dependent and discuss if and how AQM behavior could be impacted by the platform. For example, a queue-delay based AQM scheme requires current queuing delay as input from the platform. If the platform already maintains this value, then it is trivial to implement the AQM logic on the platform. On the other hand, if the platform provides indirect means to estimate queuing delay (ex: timestamps, deque rate etc.), then the AQM behavior is sensitive to how good the queuing delay estimate turns out on that platform. Highlighting the AQM's sensitivity to queuing delay estimate helps implementers identify optimal means of implementing the AQM on a platform.</t>
	</section>

	<section anchor="subsec:deploy_int_sche" title="Interaction with packet scheduling">
	<t>On top of the introduction of an AQM scheme, a router may schedule the transmission of packets in a specific manner by introducing a scheduling scheme. This algorithm may create sub-queues and integrate an AQM scheme on each of these sub-queues. Another scheduling policy may modify the way packets are sequenced, modifying the timestamp of each packet.</t>
	<t>Both schedulers and AQMs can be introduced when packet are either enqued or dequed. If both schedulers and AQM are implemented when packet are enqued, their interaction should not be a major issue. However, if one is introduced when packets are enqued and the others when they are dequed, there may be destructive interactions.</t>
	<t>The scheduling and the AQM schemes conjointly impact on the end-to-end performance. During the evaluation process of an AQM proposal, the tester MUST discuss the feasibility to add scheduling on top of its algorithm. This discussion MAY detail if AQM is placed while packets are enqued and dequed.</t>
	</section>

	<section anchor="subsec:deploy_ecn" title="ECN behavior">
	<t>Apart from packet drops, Explicit Congestion Notification (ECN) is an alternative means to signal data senders about network congestion. A network device explicitly marks specific bit(s) in packet headers to convey congestion information to data senders. A data sender implementing ECN treats the marked packet as if it were a packet drop and reacts the same way as it would to a packet drop. Note that ECN minimizes performance penalties, since packets do not have to be retransmitted.</t>
	<t>An AQM scheme SHOULD support ECN and SHOULD leverage ECN as an initial means to control queuing delay before resorting to packet drops. An AQM scheme SHOULD self-adapt and remain stable even with faulty and/or unresponsive ECN implementations en-route. </t>
	</section>
	
	<section anchor="subsec:deploy_packet_size" title="Packet sizes and congestion notification">
	<t> An AQM scheme may be considering packet sizes while generating congestion signals.  <xref target="I-D.ietf-tsvwg-byte-pkt-congest"></xref> discusses the motivations behind the same. For example, control packets such as DNS requests/responses, TCP SYNs/ACKs are small, and their loss can severely impact application performance. An AQM scheme may therefore be biased towards small packets by dropping them with smaller probability compared to larger packets. However, such an AQM scheme is unfair to data senders generating larger packets. Data senders, malicious or otherwise, are motivated to take advantage of the AQM scheme by transmitting smaller packets, and could result in unsafe deployments and unhealthy transport and/or application designs. </t>
	<t> An AQM scheme SHOULD adhere to recommendations outlined in <xref target="I-D.ietf-tsvwg-byte-pkt-congest"></xref>, and SHOULD NOT provide undue advantage to flows with smaller packets. </t> 	
	</section>
	
	</section>

	<section anchor="sec:comp_aqm" title="Comparing AQMs">
	<t> This memo recognizes that the guidelines mentioned above may be used for comparing AQMs. This memo recommends that AQM schemes MUST be compared against both performance  (<xref target="sec:eval"></xref>) and deployment (<xref target="sec:deploy"></xref>) categories. In addition, this section details how best to achieve a fair comparison of AQM schemes by avoiding certain pitfalls. </t>
	
	<section anchor="subsec:comp_aqm_perf" title="Performance comparison">
	<t>AQM schemes MUST be compared against all the generic scenarios discussed in <xref target="subsec:eval_generic"></xref>. AQM schemes MAY be compared for specific network environments such as data center, home networks etc. For a particular network environment, AQM schemes MUST be compared against all the scenarios listed for that network environment <xref target="subsec:eval_context"></xref>.  For each evaluation scenario, the schemes MUST be compared against the metrics discussed under that scenario. Moreover, if an AQM scheme's parameter(s) were externally tuned for optimization or other purposes, these values MUST be disclosed. </t>
	<t> Note that AQM schemes belong to different varieties such as queue-length based scheme (ex: RED) or queue-delay based scheme (ex: CoDel, PIE). Also, AQM schemes expose different control knobs associated with different semantics. For example, while both PIE and CoDel are queue-delay based schemes and each expose a knob to control the queueing delay -- PIE's "queueing delay reference" vs. CoDel's "queueing delay target", the two schemes' knobs have different semantics resulting in different control points. Such differences in AQM schemes can be easily overlooked while making comparisons. </t>
	<t> This document recommends the following procedures for a fair performance comparison of two AQM schemes: </t>
	<t> <list style="numbers">
	<t> Comparable control parameters and comparable input values: Carefully identify the set of parameters that control similar behavior between the two AQM schemes and ensure these parameters have comparable input values. For example, while comparing how well a queue-length based AQM X controls queueing delay vs. queue-delay based AQM Y, identify the two schemes' parameters that control queue delay and ensure that their input values are comparable. Similarly, to compare two AQMs on how well they accommodate bursts, identify burst-related control parameters and ensure they are configured with similar values. </t>
	<t> Compare over a range of input configurations: There could be situations when the set of control parameters that affect a specific behavior have different semantics between the two AQM schemes. As mentioned above, PIE's knob to control queue delay has different semantics from CoDel's. In such situations, the schemes MUST be compared over a range of input configurations. For example, compare PIE vs. CoDel over the range of delay input configurations -- 5ms, 10ms, 15ms etc. </t> 
	</list> </t>
	</section>
	
	<section anchor="subsec:comp_aqm_deploy" title="Deployment comparison">
	<t>AQMs MUST be compared against the deployment criteria discussed in <xref target="sec:deploy"></xref>.</t> 
	</section>

	</section>

	<section anchor="sec:acknowledgements" title="Acknowledgements">
	<t>This work has been partially supported by the European Community under its Seventh Framework Programme through the Reducing Internet Transport Latency (RITE) project (ICT-317700).</t>
	</section>

	<section anchor="sec:contributors" title="Contributors">
	<t> Many thanks to Gorry Fairhurst, Amadou B. Bagayoko, Chamil Kulatunga Michael Welzl, Fred Baker, Rong Pan and David Collier-Brown for detailed and wise feedback on this document.</t>
	</section>

	<section anchor="sec:IANA" title="IANA Considerations">
	<t>This memo includes no request to IANA.</t>
	</section>

	<section anchor="sec:ecurity" title="Security Considerations">
	<t>All drafts are required to have a security considerations section. <!--See <xref target="RFC3552">RFC 3552</xref> for a guide.--></t>
	</section>
	</middle>

	<!--  *****BACK MATTER ***** -->
	<back>
	<!-- References split into informative and normative -->
	<!-- There are 2 ways to insert reference entries from the citation libraries:
	1. define an ENTITY at the top, and use "ampersand character"RFC2629; here (as shown)
	2. simply use a PI "less than character"?rfc include="reference.RFC.2119.xml"?> here
	(for I-Ds: include="reference.I-D.narten-iana-considerations-rfc2434bis.xml")

	Both are cited textually in the same manner: by using xref elements.
	If you use the PI option, xml2rfc will, by default, try to find included files in the same
	directory as the including file. You can also define the XML_LIBRARY environment variable
	with a value containing a set of directories to search.  These can be either in the local
	filing system or remote ones accessed by http (http://domain/dir/... ).-->

	<references title="Normative References">
	
	<?rfc include="reference.I-D.ietf-aqm-recommendation.xml"?>
	<?rfc include="reference.I-D.ietf-tsvwg-byte-pkt-congest.xml"?> 
   
	<reference anchor="RFC2119">
	<front>
	<title>Key words for use in RFCs to Indicate Requirement Levels</title>
	<author initials="S" surname="Bradner">
	<organization></organization>
	</author>
	<date year="1997" />
	</front>
	<seriesInfo name="RFC" value="2119" />
	</reference>

	<reference anchor="RFC5136">
	<front>
	<title>Defining Network Capacity</title>
	<author initials="P" surname="Chimento">
	<organization>JHU Applied Physics Lab</organization>
	</author>
	<author initials="J" surname="Ishac">
	<organization>NASA Glenn Research Center</organization>
	</author>
	<date year="2008" />
	</front>
	<seriesInfo name="RFC" value="5136" />
	</reference>

	</references>

	<references title="Informative References">
	
	<?rfc include="reference.RFC.5348.xml"?>
		
		
	<reference anchor="TCPEVAL2008">
	<front>
	<title>Towards a common TCP evaluation suite</title>
	<author initials="L" surname="Andrew"> 
	</author>
	<author initials="C" surname="Marcondes"> 
	</author>
	<author initials="S" surname="Floyd"> 
	</author>
	<author initials="L" surname="Dunn"> 
	</author>
	<author initials="R" surname="Guillier"> 
	</author>
	<author initials="W" surname="Gang"> 
	</author>
	<author initials="L" surname="Eggert"> 
	</author>
	<author initials="S" surname="Ha"> 
	</author>
	<author initials="I" surname="Rhee"> 
	</author>
	<date year="2008" />
	</front>
	<seriesInfo name="PFLDnet" value="6th" />
	</reference>
	
	<reference anchor="BB2012">
	<front>
	<title>BufferBloat: what's wrong with the internet?</title>
	<author initials="" surname="CACM Staff"> 
	</author>
	<date year="2008" />
	</front>
	<seriesInfo name="Commun. ACM" value="vol. 55" />
	</reference>
	
	<reference anchor="DOCSIS2013">
	<front>
	<title>Active Queue Management Algorithms for DOCSIS 3.0</title>
	<author initials="G" surname="White"> 
	</author>
	<author initials="D" surname="Rice"> 
	</author>
	<date year="2013" />
	</front>
	<seriesInfo name="Technical repport - Cable Television Laboratories" value="" />
	</reference>
	
	
	</references>

	<section anchor="app-additional" title="Additional Stuff">
	<t>This becomes an Appendix.</t>
	</section>

<!-- Change Log
v00 2006-03-15  EBD   Initial version
v01 2006-04-03  EBD   Moved PI location back to position 1 -
                      v3.1 of XMLmind is better with them at this location.
v02 2007-03-07  AH    removed extraneous nested_list attribute,
                      other minor corrections
v03 2007-03-09  EBD   Added comments on null IANA sections and fixed heading capitalization.
                      Modified comments around figure to reflect non-implementation of
                      figure indent control.  Put in reference using anchor="DOMINATION".
                      Fixed up the date specification comments to reflect current truth.
v04 2007-03-09 AH     Major changes: shortened discussion of PIs,
                      added discussion of rfc include.
v05 2007-03-10 EBD    Added preamble to C program example to tell about ABNF and alternative 
                      images. Removed meta-characters from comments (causes problems).  -->
	</back>
</rfc>
