# How Long It Takes for an Ordinary Node with an Ordinary ID to Output?

**Authors:** Laurent Feuilloley

arXiv: 1704.05739 · 2017-11-22

## TL;DR

This paper investigates the average running time of individual nodes in distributed algorithms, comparing it with traditional worst-case measures, and explores how these complexities relate under various models and problem classes.

## Contribution

It introduces the concept of node-averaged and ID-averaged time-complexity, showing their relationships with classical complexity and randomized algorithms in distributed computing.

## Key findings

- Exponential gap between node-averaged and worst-case time for leader election.
- Node-averaged and worst-case complexities are similar for LCL problems on sparse graphs.
- ID-averaged complexity aligns with the expected randomized algorithm complexity.

## Abstract

In the context of distributed synchronous computing, processors perform in rounds, and the time-complexity of a distributed algorithm is classically defined as the number of rounds before all computing nodes have output. Hence, this complexity measure captures the running time of the slowest node(s). In this paper, we are interested in the running time of the ordinary nodes, to be compared with the running time of the slowest nodes. The node-averaged time-complexity of a distributed algorithm on a given instance is defined as the average, taken over every node of the instance, of the number of rounds before that node output. We compare the node-averaged time-complexity with the classical one in the standard LOCAL model for distributed network computing. We show that there can be an exponential gap between the node-averaged time-complexity and the classical time-complexity, as witnessed by, e.g., leader election. Our first main result is a positive one, stating that, in fact, the two time-complexities behave the same for a large class of problems on very sparse graphs. In particular, we show that, for LCL problems on cycles, the node-averaged time complexity is of the same order of magnitude as the slowest node time-complexity.   In addition, in the LOCAL model, the time-complexity is computed as a worst case over all possible identity assignments to the nodes of the network. In this paper, we also investigate the ID-averaged time-complexity, when the number of rounds is averaged over all possible identity assignments. Our second main result is that the ID-averaged time-complexity is essentially the same as the expected time-complexity of randomized algorithms (where the expectation is taken over all possible random bits used by the nodes, and the number of rounds is measured for the worst-case identity assignment).   Finally, we study the node-averaged ID-averaged time-complexity.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1704.05739/full.md

## Figures

2 figures with captions in the complete paper: https://tomesphere.com/paper/1704.05739/full.md

## References

27 references — full list in the complete paper: https://tomesphere.com/paper/1704.05739/full.md

---
Source: https://tomesphere.com/paper/1704.05739