[Paper Review] ATP: a Datacenter Approximate Transmission Protocol.
ATP is a novel datacenter network protocol that enables approximate applications to exploit lossy networks with controlled packet loss, using loss-based rate control to maximize bandwidth utilization while ensuring fair sharing and reducing runtime by up to 74.6% compared to TCP-based solutions and improving accuracy by up to 94% over UDP.
Many datacenter applications such as machine learning and streaming systems do not need the complete set of data to perform their computation. Current approximate applications in datacenters run on a reliable network layer like TCP. To improve performance, they either let sender select a subset of data and transmit them to the receiver or transmit all the data and let receiver drop some of them. These approaches are network oblivious and unnecessarily transmit more data, affecting both application runtime and network bandwidth usage. On the other hand, running approximate application on a lossy network with UDP cannot guarantee the accuracy of application computation. We propose to run approximate applications on a lossy network and to allow packet loss in a controlled manner. Specifically, we designed a new network protocol called Approximate Transmission Protocol, or ATP, for datacenter approximate applications. ATP opportunistically exploits available network bandwidth as much as possible, while performing a loss-based rate control algorithm to avoid bandwidth waste and re-transmission. It also ensures bandwidth fair sharing across flows and improves accurate applications' performance by leaving more switch buffer space to accurate flows. We evaluated ATP with both simulation and real implementation using two macro-benchmarks and two real applications, Apache Kafka and Flink. Our evaluation results show that ATP reduces application runtime by 13.9% to 74.6% compared to a TCP-based solution that drops packets at sender, and it improves accuracy by up to 94.0% compared to UDP.
Motivation & Objective
- To address the inefficiency of current approximate applications that either drop data at the sender or transmit all data over reliable protocols like TCP.
- To eliminate network obliviousness in approximate data transmission by designing a protocol that dynamically adapts to network conditions.
- To improve performance for approximate applications by enabling controlled packet loss in a way that maintains application accuracy and reduces network overhead.
- To ensure fair bandwidth sharing between approximate and accurate flows by minimizing buffer contention in switches.
- To outperform both TCP-based solutions (with sender-side dropping) and UDP-based approaches in terms of runtime and accuracy for approximate workloads.
Proposed method
- Designing ATP as a lossy transport protocol that allows controlled, opportunistic packet loss to exploit available bandwidth.
- Implementing a loss-based rate control algorithm to adjust transmission rate based on observed packet loss, avoiding retransmissions and bandwidth waste.
- Integrating fairness mechanisms to ensure that approximate flows do not monopolize switch buffers, preserving headroom for accurate flows.
- Using a feedback loop that monitors loss events and adjusts sending rate to maintain high utilization without congestion.
- Deploying ATP in both simulation and real-world environments using real datacenter workloads like Apache Kafka and Flink.
- Evaluating ATP against TCP (with sender-side dropping) and UDP to isolate performance and accuracy trade-offs.
Experimental results
Research questions
- RQ1Can a lossy transport protocol improve the runtime of approximate datacenter applications compared to TCP with sender-side data dropping?
- RQ2How does ATP’s loss-based rate control compare to traditional congestion control in terms of bandwidth utilization and retransmission avoidance?
- RQ3To what extent does ATP improve application accuracy compared to UDP, which lacks any control over packet loss?
- RQ4Does ATP fairly share network resources with accurate applications, particularly in buffer-constrained environments?
- RQ5What is the performance gain of ATP across diverse workloads such as streaming and machine learning pipelines?
Key findings
- ATP reduces application runtime by 13.9% to 74.6% compared to a TCP-based solution that drops packets at the sender.
- ATP improves application accuracy by up to 94.0% compared to UDP, which lacks any control over packet loss.
- ATP achieves higher bandwidth utilization by exploiting available capacity through controlled loss, avoiding retransmissions and reducing network congestion.
- ATP ensures fair sharing of switch buffer space, improving performance for accurate applications by reserving buffer capacity.
- The protocol demonstrates consistent performance gains across both macro-benchmarks and real applications like Apache Kafka and Flink.
- The loss-based rate control mechanism effectively balances throughput and loss, maintaining high performance without excessive retransmissions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.