arXiv:2609.09746cs.ARSep 2026

Manuscript Offprint

arXiv:2609.09746

Minimal Deadlock-Free Routing for Degree-Six Triangular-Lattice Meshes and Tori with Two Forbidden Turns

Zibo Diao, Rongxi Sun

Abstract

Degree-six triangular-lattice interconnection networks offer substantial minimal-path diversity, but their additional directions complicate deadlock-free routing under wormhole flow control. We study a finite hexagon-shaped mesh and its periodic torus quotient in a common six-direction coordinate system. For the finite mesh, we construct a minimal partially adaptive routing relation that uses one virtual channel and forbids only two directed turns. For the torus, we prove that every source–destination pair has a unique closest lattice lift, but that the same two-turn physical routing relation still has a cyclic one-VC resource CDG for every n≥3n \geq 3. We eliminate this residual periodic dependency by combining two virtual channels with Hamiltonian coordinates and group-specific datelines. Each same-group segment crosses its dateline at most once, which permits a global rank on VC-labelled channel resources. We prove minimal all-pairs connectivity for both physical routing relations and acyclicity of the complete resource CDG for the proposed one-VC mesh and two-VC torus constructions. For a single static bidirectional link failure known before a routing epoch, we further rotate the turn rule toward the failed orientation and replace a failed hop by a same-group two-hop triangle bypass. This restricted extension preserves all-pairs connectivity and the original VC counts, with at most one additional hop relative to the healthy shortest-path distance.

1 Introduction

Scalable many-core and accelerator systems increasingly rely on structured interconnection networks in place of global buses and ad hoc point-to-point wiring (Benini & Micheli, 2002; Dally & Towles, 2004). Routing in such networks must balance short paths, adaptivity under nonuniform traffic, and freedom from protocol deadlock. Under wormhole flow control, correctness depends not only on the existence of a path for each source–destination pair, but also on whether the union of all permitted paths creates cyclic resource dependencies (Dally & Seitz, 1987).

Most classical routing theory is developed for orthogonal meshes and kk-ary nn-cubes. The turn model removes selected direction changes to break channel-dependency cycles while preserving partial adaptivity (Glass & Ni, 1994). Virtual channels provide a complementary mechanism by splitting a physical channel into independently allocated resource classes (Dally, 1992; Dally & Aoki, 1993). A degree-six triangular lattice has different elementary cycles and shortest-path sectors, and its periodic quotient additionally contains non-contractible channel cycles. These differences require routing rules and correctness arguments tailored to the topology.

This paper gives a unified treatment of a finite degree-six mesh and its periodic torus. Our contributions are:

  • We formalize both topologies in one six-direction integer coordinate system, characterize lattice geodesics by adjacent-direction sectors, and prove that every torus source–destination pair has a unique closest lattice lift.

  • We construct a one-VC mesh routing relation that forbids only d0→d5d_0 \to d_5 and d2→d3d_2 \to d_3 while preserving minimal all-pairs connectivity and partial adaptivity, and prove complete-CDG acyclicity using a linear potential.

*These authors contributed equally to this work.

  • For the corresponding torus physical routing relation, we show that one VC still leaves a directed Hamiltonian resource cycle for n≥3n \geq 3. We then cut the cyclic dependency order with two VCs and Hamiltonian datelines and prove complete resource-CDG acyclicity by a global rank function.
  • We give a theoretical extension for one static, globally known bidirectional link failure. An orientation-specific rotation of the turn rule and a controlled two-hop triangle bypass preserve all-pairs connectivity, add at most one hop relative to a healthy shortest route, and retain the one-VC mesh and two-VC torus deadlock guarantees.
  • We implement the proposed topologies and routing relations in gem5/Garnet, validate the routing relations with an independent CDG checker, and evaluate routing performance, restricted-sector pressure, torus dateline VC behavior, and scaling.

The main text specifies the routing relations and states the formal results. Complete proofs are deferred to the appendix, and Sections 5–6 describe the implementation and experimental results.