Skip to main content
QUICK REVIEW

[Paper Review] Forwarding Packets Greedily

Joan Boyar, Lene M. Favrholdt|arXiv (Cornell University)|Mar 6, 2026
Optimization and Search ProblemsComputer Science0 citations
TL;DR

This paper studies online packet forwarding on a line network and shows that a Greedy policy based on total remaining work achieves a competitive ratio of 2 - 1/2^{k-1} for packets of length 1 or 2, with matching lower bounds and a general 4/3 randomized lower bound.

ABSTRACT

We consider the problem of forwarding packets arriving online with their destinations in a line network. In each time step, each router can forward one packet along the edge to its right. Each packet that is forwarded arrives at the next router one time step later. Packets are forwarded until they reach their destination. The flow time of a packet is the difference between its release time and the time of its arrival at its destination. The goal is to minimize the maximum flow time. This problem was introduced by Antoniadis et al.~in 2014. They propose a collection of natural algorithms and prove for one, and claim for others, that none of them are $O(1)$-competitive. It was posed as an open problem whether such an algorithm exists. We make the first progress on answering this question. We consider the special case where each packet needs to be forwarded by exactly one or two routers. We show that a greedy algorithm, which was not previously considered for this problem, achieves a competitive ratio of exactly $2-2^{1-k}$, where $k$ is the number of active routers in the network. We also give a general lower bound of $4/3$, even for randomized algorithms.

Motivation & Objective

  • Motivate and formalize online packet forwarding on a line with the goal of minimizing maximum flow time.
  • Investigate natural policies and establish competitive ratios for the Greedy approach.
  • Explore lower bounds for both deterministic and randomized online algorithms in this setting.
  • Provide tight results for the special case where packets need at most two hops.
  • Conjecture potential constant competitiveness and discuss implications for longer packets.

Proposed method

  • Define a line network with k active routers and packets of length 1 or 2.
  • Introduce the Greedy policy that forwards at each router the waiting packet with the highest priority, where priority is time in system plus remaining processing length.
  • Analyze Greedy by deriving a lower bound on its competitive ratio using adversarial input sequences for any k, showing at least 2 - 1/2^{k-1}.
  • Prove an upper bound by relating Greedy’s progress to Opt through Delta values and alive packet counts, yielding (2 - 1/2^{k-1})-competitiveness.
  • Present a matching lower bound construction for Greedy, establishing tightness of the ratio.

Experimental results

Research questions

  • RQ1Can online Greedy forwarding achieve O(1) competitive ratio for line networks with packets of length at most 2?
  • RQ2What is the exact competitive ratio of Greedy as a function of the number of active routers k?
  • RQ3Do randomized online algorithms beat the deterministic lower bound of 4/3 for this problem?
  • RQ4Is the (2 - 1/2^{k-1})-competitive bound tight for all k, and can it be extended to longer packets?
  • RQ5What are the fundamental trade-offs between prioritizing earliest release time versus remaining distance in this model?

Key findings

  • Greedy is exactly 2 - 1/2^{k-1}-competitive for k routers when packet lengths are 1 or 2.
  • A matching lower bound shows Greedy cannot do better than 2 - 1/2^{k-1} in this setting.
  • Any randomized algorithm has a lower bound of 4/3-competitive even for k = 2 routers.
  • The analysis uses a Delta-based framework comparing alive packet counts between Greedy and Opt across routers.
  • For k = 2, Greedy’s 3/2 lower bound is extended to the general 2 - 1/2^{k-1} bound for any k.
  • Greedy’s competitiveness remains open as a conjecture to possibly be constant (even 2) for longer packets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.