scispace - formally typeset
Open AccessJournal ArticleDOI

An Algorithmic Toolbox for Network Calculus

TLDR
This paper presents a class containing the piecewise affine functions which are ultimately pseudo-periodic and can be finitely described, which enables us to propose some algorithms for each of the network calculus operations.
Abstract
Network calculus offers powerful tools to analyze the performances in communication networks, in particular to obtain deterministic bounds. This theory is based on a strong mathematical ground, notably by the use of (min,+) algebra. However, the algorithmic aspects of this theory have not been much addressed yet. This paper is an attempt to provide some efficient algorithms implementing network calculus operations for some classical functions. Some functions which are often used are the piecewise affine functions which ultimately have a constant growth. As a first step towards algorithmic design, we present a class containing these functions and closed under the main network calculus operations (min, max, +, -, convolution, subadditive closure, deconvolution): the piecewise affine functions which are ultimately pseudo-periodic. They can be finitely described, which enables us to propose some algorithms for each of the network calculus operations. We finally analyze their computational complexity.

read more

Content maybe subject to copyright    Report

HAL Id: inria-00123643
https://hal.inria.fr/inria-00123643v2
Submitted on 11 Jan 2007
HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entic research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diusion de documents
scientiques de niveau recherche, publiés ou non,
émanant des établissements d’enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.
An Algorithmic Toolbox for Network Calculus
Anne Bouillard, Eric Thierry
To cite this version:
Anne Bouillard, Eric Thierry. An Algorithmic Toolbox for Network Calculus. [Research Report]
RR-6094, INRIA. 2007, pp.44. �inria-00123643v2�

apport
de recherche
ISSN 0249-6399 ISRN INRIA/RR--6094--FR+ENG
Thème COM
INSTITUT NATIONAL DE RECHERCHE EN INFORMATIQUE ET EN AUTOMATIQUE
An Algorithmic Toolbox for Network Calculus
Anne Bouillard and Éric Thierry
6094
Janvier 2007


Unité de recherche INRIA Rennes
IRISA, Campus universitaire de Beaulieu, 35042 Rennes Cedex (France)
Téléphone : +33 2 99 84 71 00 Télécopie : +33 2 99 84 71 71
An Algorithmic Toolbox for Network Calculus
Anne Bouillard
and
´
Eric Thierry
Th`eme COM Syst`emes communicants
Projet Distribcom
Rapport de recherche n
6094 Janvier 2007 44 pages
Abstract: Network Calculus offers powerful tools to analyze the performances in communication networks,
in particular to obtain deterministic bounds. This theory is based on a strong mathematical ground, notably
by the use of (min,+) algebra. However the algorithmic aspects of this theory have not been much addressed
yet. This paper is an attempt to provide some efficient algorithms implementing Network Calculus operations
for some classical functions.
Some functions which are often used are the piecewise affine functions which ultimately have a constant
growth. As a first step towards algorithmic design, we present a class containing these functions and closed
under the Network Calculus operations: the piecewise affine functions which are ultimately pseudo-periodic.
They can be finitely described which enables us to propose some algorithms for each of the Network Calculus
operations. We finally analyze their computational complexity.
Key-words: Network Calculus, functional (min,+) algebra, algorithmics, computational complexity.
Anne.Bouillard@bretagne.ens-cachan.fr
Eric.Thierry@ens-lyon.fr

Stabilit´e et ´etude algorithmique des op´erations du Network Calculus
esum´e : Le Network Calculus est un outil puissant pour analyser les performances des eseaux de commu-
nication, en particulier pour obtenir des bornes d´eterministes. Cette th´eorie s’appuie sur l’alg`ebre (min, +) et
ses aspects th´eoriques ont fait l’objet de nombreuses ´etudes. Malgr´e cela, les aspects algorithmiques de cette
th´eorie ont tr`es peu ´et´e regard´es. Dans ce rapport, nous fournissons des algorithmes efficaces pour impl´ementer
les op´erations du Network Calculus.
Les fonctions les plus utilis´ees sont les fonctions affines qui ont ultimement un taux de croissance constant.
Une premi`ere ´etape de notre travail est de pr´esenter une classe stable de fonctions sous les op´erations du Network
Calculus contenant ces fonctions (ce sont les fonctions affines par morceaux ultimement pseudo-p´eriodiques).
Comme ces fonctions sont finiment repr´esentables, on peut trouver des algorithmes pour les op´erations ´etudi´ees.
Nous nous ineressons aussi `a leur complexit´e.
Mots-cl´es : Network Calculus, alg`ebre des fonctions (min,+), algorithmique, complexit´e

Citations
More filters
Journal ArticleDOI

Survey of deterministic and stochastic service curve models in the network calculus

TL;DR: In this paper, the authors survey the state-of-the-art of the deterministic and the recent probabilistic network calculus and discuss the use of service curves, its use in the network calculus, and the relation to systems theory under the min-plus algebra.

Deterministic and stochastic service curve models in the network calculus

Markus Fidler
TL;DR: The state-of-the-art of the deterministic and the recent probabilistic network calculus is surveyed and stochastic service curve models allow utilizing the statistical multiplexing gain in a network calculus framework that features end-to-end network analysis by convolution of service curves.
Proceedings ArticleDOI

Delay Bounds under Arbitrary Multiplexing: When Network Calculus Leaves You in the Lurch...

TL;DR: This paper addresses the problem of bounding the delay of individual traffic flows in feed-forward networks under arbitrary multiplexing and finds that direct application of network calculus results in loose bounds even in seemingly simple scenarios.
Proceedings ArticleDOI

Tight Performance Bounds in the Worst-Case Analysis of Feed-Forward Networks

TL;DR: The first algorithm which computes the maximum end-to-end delay for a given flow, as well as the maximum backlog at a server, for any feed-forward network under blind multiplexing, with concave arrival curves and convex service curves is described.
References
More filters
Book

Introduction to Algorithms

TL;DR: The updated new edition of the classic Introduction to Algorithms is intended primarily for use in undergraduate or graduate courses in algorithms or data structures and presents a rich variety of algorithms and covers them in considerable depth while making their design and analysis accessible to all levels of readers.
Book

Network Calculus: A Theory of Deterministic Queuing Systems for the Internet

TL;DR: The application of Network Calculus to the Internet and basic Min-plus and Max-plus Calculus and Optimal Multimedia Smoothing and Adaptive and Packet Scale Rate Guarantees are studied.
Frequently Asked Questions (10)
Q1. How do you get the hardness result for non-decreasing functions?

To get the hardness result for non-decreasing functions, in the construction, “lift” the function by considering f(t)+ t instead of f(t). 

An important question raised by all these algorithms is whether the computed output is a compressed representation of the output. 

Another way to organize the pairwise sums of functions is to use the binary tree constructed with Huffman algorithm (where weights are the number of jump points, i.e. tuples in the data structure), it is proven that the overall complexity is better than the balanced binary tree. 

Its use seemed promising (e.g. convolution becomes addition for the transformed functions), however one important issue is that this transform is not injective for non-convex functions. 

It is an ultimately affine function, and its smallest rank of pseudo-periodicity is exactly Frob(a1, . . . , an)−1. Thus the computation of the smallest rank of pseudo-periodicity of f ∗ is NP-hard. 

The subadditive closure of ultimately plain function is not necessarily ultimately plain: let f ∈ D (or F) such that f(t) = 0 if t = 2 and = +∞ otherwise, it is ultimately plain but f∗(t) = 0 if t is an even integer and = +∞ otherwise, is not. 

For instance f1(t) = 1 1−(t−btc) and f2(t) = t are both plain and pseudo-periodic but f1 is not locally bounded and min(f1, f2) is not ultimately pseudo-periodic. 

As a complement, note that if c′1 ≤ c′2, another way to ensure that min(f1, f2) is locally bounded, ultimately plain and pseudo-periodic, is to keep locally bounded and pseudo-periodicity assumptions on inputs but suppose that only f1 is ultimately plain with ∀t ≥ T1, f1(t) ∈ R and that f2 is not necessarily ultimately plain (it may have +∞ values from T2) but ∀t ≥ T2, f2(t) 6= −∞. 

A class of functions is closed under some set of operations if combining members of the class with any of these operations outputs (if defined) a function which remains in the class. 

Note that the hardness result is also true when the authors deal with ultimately pseudo-periodic functions in F [Q+, Q], even if they are continuous, non-decreasing and ultimately affine (see [8]).