Network calculus is "a set of mathematical results which give insights into man-made systems such as
concurrent program
Concurrent computing is a form of computing in which several computations are executed '' concurrently''—during overlapping time periods—instead of ''sequentially—''with one completing before the next starts.
This is a property of a sys ...
s,
digital circuit In theoretical computer science, a circuit is a model of computation in which input values proceed through a sequence of gates, each of which computes a function. Circuits of this kind provide a generalization of Boolean circuits and a mathematica ...
s and
communication network
A telecommunications network is a group of nodes interconnected by telecommunications links that are used to exchange messages between the nodes. The links may use a variety of technologies based on the methodologies of circuit switching, mes ...
s."
Network calculus gives a theoretical framework for analysing performance guarantees in
computer network
A computer network is a set of computers sharing resources located on or provided by network nodes. The computers use common communication protocols over digital interconnections to communicate with each other. These interconnections ar ...
s. As traffic flows through a network it is subject to
constraints imposed by the system components, for example:
*
link capacity
* traffic shapers (
leaky bucket
The leaky bucket is an algorithm based on an analogy of how a bucket with a constant leak will overflow if either the average rate at which water is poured in exceeds the rate at which the bucket leaks or if more water than the capacity of t ...
s)
*
congestion control
Network congestion in data networking and queueing theory is the reduced quality of service that occurs when a network node or link is carrying more data than it can handle. Typical effects include queueing delay, packet loss or the blocking o ...
* background traffic
These constraints can be expressed and analysed with network calculus methods. Constraint curves can be ''combined'' using
convolution
In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution' ...
under
min-plus algebra
In idempotent analysis, the tropical semiring is a semiring of extended real numbers with the operations of minimum (or maximum) and addition replacing the usual ("classical") operations of addition and multiplication, respectively.
The tropical s ...
. Network calculus can also be used to express traffic arrival and departure functions as well as service curves.
The calculus uses "alternate algebras ... to transform complex non-linear network systems into analytically tractable linear systems."
Currently, there exists two branches in network calculus: one handling deterministic bounded, and one handling stochastic bounds.
System modelling
Modelling flow and server
In network calculus, a flow is modelled as cumulative functions , where represents the amount of data (number of bits for example) send by the flow in the interval . Such functions are non-negative and non-decreasing. The time domain is often the set of non negative reals.
A server can be a link, a scheduler, a traffic shaper, or a whole network. It is simply modelled as a relation between some arrival cumulative curve and some departure cumulative curve . It is required that , to model the fact that the departure of some data can not occur before its arrival.
Modelling backlog and delay
Given some arrival and departure curve and , the ''backlog'' at any instant , denoted can be defined as the difference between and . The delay at , is defined as the minimal amount of time such that the departure function reached the arrival function. When considering the whole flows, the
supremum
In mathematics, the infimum (abbreviated inf; plural infima) of a subset S of a partially ordered set P is a greatest element in P that is less than or equal to each element of S, if such an element exists. Consequently, the term ''greatest l ...
of these values is used.
In general, the flows are not exactly known, and only some constraints on flows and servers are known (like the maximal number of packet sent on some period, the maximal size of packets, the minimal link bandwidth). The aim of network calculus is to compute upper bounds on delay and backlog, based on these constraints. To do so, network calculus uses the min-plus algebra.
Min-plus algebra
In filter theory and linear systems theory the
convolution
In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution' ...
of two functions
and
is defined as
In min-plus algebra the ''sum'' is replaced by the minimum respectively ''
infimum
In mathematics, the infimum (abbreviated inf; plural infima) of a subset S of a partially ordered set P is a greatest element in P that is less than or equal to each element of S, if such an element exists. Consequently, the term ''greatest ...
'' operator and the ''product'' is replaced by the ''sum''. So the min-plus convolution of two functions
and
becomes
e.g. see the definition of service curves. Convolution and min-plus convolution share many algebraic properties. In particular both are commutative and associative.
A so-called min-plus de-convolution operation is defined as
e.g. as used in the definition of traffic envelopes.
The vertical and horizontal deviations can be expressed in terms of min-plus operators.
Traffic envelopes
Cumulative curves are real behaviours, unknown at design time. What is known is some constraint. Network calculus uses the notion of traffic envelope, also known as arrival curves.
A cumulative function is said to conform to an envelope (also called arrival curve and denoted ) , if for all it holds that
Two equivalent definitions can be given
Thus, places an upper constraint on flow . Such function can be seen as an envelope that specifies an upper bound on the number of bits of flow seen in any interval of length starting at an arbitrary , cf. eq. ().
Service curves
In order to provide performance guarantees to traffic flows it is necessary to specify some minimal performance of the server (depending on reservations in the network, or scheduling policy, etc.). Service curves provide a means of expressing resource availability. Several kinds of service curves exists, like weakly strict, variable capacity node, etc. See
for an overview.
Minimal service
Let be an arrival flow, arriving at the ingress of a server, and be the flow departing at the egress.
The system is said to provide a ''simple minimal service curve'' to the pair , if for all it holds that
Strict minimal service
Let be an arrival flow, arriving at the ingress of a server, and be the flow departing at the egress.
A ''backlog period'' is an interval such that, on any , .
The system is said to provide a ''strict minimal service curve'' to the pair iff,
, such that
, if
is a backlog period, then
.
If a server offers a strict minimal service of curve , it also offers a simple minimal service of curve .
Basic results: Performance bounds and envelope propagation
From traffic envelope and service curves, some bounds on the delay and backlog, and an envelope on the departure flow can be computed.
Let be an arrival flow, arriving at the ingress of a server, and be the flow departing at the egress. If the flow as a traffic envelope , and the server provides a minimal service of curve , then the backlog and delay can be bounded:
Moreover, the departure curve has envelope
.
Moreover, these bounds are ''tight'' i.e. given some , and , one may build an arrival and departure such that
= and =.
Concatenation / PBOO
Consider a sequence of two servers, when the output of the first one is the input of the second one. This sequence can be seen as a new server, built as the concatenation of the two other ones.
Then, if the first (resp. second) server offers a simple minimal service
(resp.
), then, the concatenation of both offers a simple minimal service
.

The proof does iterative application of the definition of service curves
,
and some properties of convolution, isotonicity (
), and associativity (
).
The interest of this result is that the end-to-end delay bound is not greater than the sum of local delays:
.
This result is known as ''Pay burst only once'' (PBOO).
Tools
There are several tools based on network calculus. A comparison can be found in.
Min-plus computation
There exist several tools and library devoted to the min-plus algebra.
* Th
Network calculus interpreteris an on-line (min,+) interpreter.
Nancyis a C# library implementing min-plus and max-plus operations.
* The MIN-plus ExpRession VErification (Minerve) is a Coq library used to check validity of min-plus operations.
All these tools and library are based on the algorithms presented in.
Network analysis tools
* Th
DiscoDNCis an academic Java implementation of the network calculus framework.
* Th
RTC Toolboxis an academic Java/
MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementa ...
implementation of the Real-Time calculus framework, a theory quasi equivalent to network calculus.
* Th
CyNCtool is an academic
MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementa ...
/Symulink toolbox, based on top of the
RTC Toolbox The tool was developed in 2004-2008 and it is currently used for teaching at
Aalborg university
Aalborg University (AAU) is a Danish public university with campuses in Aalborg, Esbjerg, and Copenhagen founded in 1974. The university awards bachelor's degrees, master's degrees, and PhD degrees in a wide variety of subjects within humanitie ...
.
* Th
RTaW-PEGASEis an industrial tool devoted to timing analysis tool of switched Ethernet network (AFDX, industrial and automotive Ethernet), based on network calculus.
* Th
WOPANetsis an academic tool combining network calculus based analysis and optimization analysis.
* The DelayLyzer is an industrial tool designed to compute bounds for Profinet networks.
DEBORAHis an academic tool devoted to FIFO networks.
NetCalBoundsis an academic tool devoted to blind & FIFO tandem networks.
NCBoundsis a network calculus tool in Python, published under BSD 3-Clause License. It considers rate-latency servers and token-bucket arrival curves. It handles any topology, including cyclic ones.
* The Siemens Network Planner
uses network calculus (among other methods) to help the design of a
PROFINET network.
experimental modular TFA(xTFA) is a Python code, support of the PhD thesis of Ludovic Thomas
[
]
Events
WoNeCa workshopis a Workshop on Network Calculus. It is organized every two years to bring together researchers with an interest in the theory of network calculus as well as those who want to apply existing results to new applications. The workshop also serves to promote the network calculus theory to researchers with an interest in applied queueing models.
WoNeCa6 hosted by
EPFL, is scheduled on September 8th and 9th, 2022 in Lausanne, Switzerland. Call for presentatio
here
WoNeCa5was held virtually due to the
COVID-19 pandemic
The COVID-19 pandemic, also known as the coronavirus pandemic, is an ongoing global pandemic of coronavirus disease 2019 (COVID-19) caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The novel virus was first identified ...
on October 9th, 2020.
WoNeCa4was organized in conjunction with the 19th International GI/ITG Conference on Measurement, Modelling and Evaluation of Computing Systems (MMB2018) on February 28th, 2018 in Erlangen, Germany.
WoNeCa3was held in as a part of the MMB & DFT 2016 conference on April 6th, 2016 in Müster, Germany.
WoNeCa2was held within the MMB & DFT 2014 conference on March 19th, 2014 in Bamberg, Germany.
WoNeCa1was hosted by University of Kaiserslautern and was held as a part of MMB2012 on March 21st, 2012 in Kaiserslautern, Germany.
In 2018
(NetCal 2018) was held in Vienna, Austria as a part of the 30t
International Teletraffic Congress(ITC 30).
References
;Books, Surveys, and Tutorials on Network Calculus
* C.-S. Chang: ''Performance Guarantees in Communications Networks'', Springer, 2000.
* J.-Y. Le Boudec and P. Thiran:
Network Calculus: A Theory of Deterministic Queuing Systems for the Internet', Springer, LNCS, 2001 (available online).
* A. Bouillard, M. Boyer, E. Le Corronc:
Deterministic Network Calculus: From Theory to Practical Implementation', Wiley-ISTE, 2018
* Y. Jiang and Y. Liu: ''Stochastic Network Calculus'', Springer, 2008.
* A. Kumar, D. Manjunath, and J. Kuri: ''Communication Networking: An Analytical Approach'', Elsevier, 2004.
* S. Mao and S. Panwar: ''A survey of envelope processes and their applications in quality of service provisioning'', IEEE Communications Surveys and Tutorials, 8(3):2-20, July 2006.
* M. Fidler:
Survey of deterministic and stochastic service curve models in the network calculus', IEEE Communications Surveys and Tutorials, 12(1):59-86, January 2010.
* C. Lin, Y. Deng, and Y. Jiang: ''On applying stochastic network calculus'', Frontiers Computer Science, 7(6): 924-942, 2013
* M. Fidler and A. Rizk:
A guide to the stochastic network calculus', IEEE Communications Surveys and Tutorials, 17(1):92-105, March 2015.
* L. Maile, K. Hielscher and R. German:
Network Calculus Results for TSN: An Introduction', IEEE Information Communication Technologies Conference(1): 131-140, May 2020.
;Related books on the max-plus algebra or on
convex minimization
Convex optimization is a subfield of mathematical optimization that studies the problem of minimizing convex functions over convex sets (or, equivalently, maximizing concave functions over convex sets). Many classes of convex optimization prob ...
*
R. T. Rockafellar
Ralph Tyrrell Rockafellar (born February 10, 1935) is an American mathematician and one of the leading scholars in mathematical optimization, optimization theory and related fields of mathematical analysis, analysis and oriented matroid, combina ...
: ''
Convex analysis
Convex analysis is the branch of mathematics devoted to the study of properties of convex functions and convex sets, often with applications in convex minimization, a subdomain of optimization theory.
Convex sets
A subset C \subseteq X of ...
'', Princeton University Press, 1972.
* F. Baccelli, G. Cohen, G. J. Olsder, and J.-P. Quadrat: ''Synchronization and Linearity: An Algebra for Discrete Event Systems'', Wiley, 1992.
* V. N. Kolokol'tsov, Victor P. Maslov: ''Idempotent Analysis and Its Applications'', Springer, 1997. .
;Deterministic network calculus
* R. L. Cruz: and {{doi-inline, 10.1109/18.61110, Part II: Network Analysis, IEEE Transactions on Information Theory, 37(1):114-141, Jan. 1991.
* A. K. Parekh and R. G. Gallager: ''A Generalized Processor Sharing Approach to Flow Control : The Multiple Node Case'', IEEE Transactions on Networking, 2 (2):137-150, April 1994.
* C.-S. Chang: ''Stability, Queue Length and Delay of Deterministic and Stochastic Queueing Networks'', IEEE Transactions on Automatic Control, 39(5):913-931, May 1994.
* D. E. Wrege, E. W. Knightly, H. Zhang, and J. Liebeherr: ''Deterministic delay bounds for VBR video in packet-switching networks: Fundamental limits and practical tradeoffs'', IEEE/ACM Transactions on Networking, 4(3):352-362, Jun. 1996.
* R. L. Cruz: ''SCED+: Efficient Management of Quality of Service Guarantees'', IEEE INFOCOM, pp. 625–634, Mar. 1998.
* J.-Y. Le Boudec: ''Application of Network Calculus to Guaranteed Service Networks'', IEEE Transactions on Information Theory, 44(3):1087-1096, May 1998.
* C.-S. Chang: ''On Deterministic Traffic Regulation and Service Guarantees: A Systematic Approach by Filtering'', IEEE Transactions on Information Theory, 44(3):1097-1110, May 1998.
* R. Agrawal, R. L. Cruz, C. Okino, and R. Rajan: ''Performance Bounds for Flow Control Protocols'', IEEE/ACM Transactions on Networking, 7(3):310-323, Jun. 1999.
* J.-Y. Le Boudec: ''Some properties of variable length packet shapers'', IEEE/ACM Transactions on Networking, 10(3):329-337, Jun. 2002.
* C.-S. Chang, R. L. Cruz, J.-Y. Le Boudec, and P. Thiran: ''A Min, + System Theory for Constrained Traffic Regulation and Dynamic Service Guarantees'', IEEE/ACM Transactions on Networking, 10(6):805-817, Dec. 2002.
* Y. Jiang: ''Relationship between guaranteed rate server and latency rate server'', Computer Networks 43(3): 307-315, 2003.
* M. Fidler and S. Recker: ''Conjugate network calculus: A dual approach applying the Legendre transform'', Computer Networks, 50(8):1026-1039, Jun. 2006.
* Eitan Altman, Kostya Avrachenkov, and Chadi Barakat: ''TCP network calculus: The case of large bandwidth-delay product'', In proceedings of IEEE INFOCOM, NY, June 2002.
* J. Liebeherr: ''Duality of the Max-Plus and Min-Plus Network Calculus'', Foundations and Trends in Networking 11(3-4): 139-282, 2017.
;Network topologies, feed-forward networks
* A. Charny and J.-Y. Le Boudec: ''Delay Bounds in a Network with Aggregate Scheduling'', QoFIS, pp. 1–13, Sep. 2000.
* D. Starobinski, M. Karpovsky, and L. Zakrevski: ''Application of Network Calculus to General Topologies using Turn-Prohibition'', IEEE/ACM Transactions on Networking, 11(3):411-421, Jun. 2003.
* M. Fidler: ''A parameter based admission control for differentiated services networks'', Computer Networks, 44(4):463-479, March 2004.
* L. Lenzini, L. Martorini, E. Mingozzi, and G. Stea: ''Tight end-to-end per-flow delay bounds in FIFO multiplexing sink-tree networks'', Performance Evaluation, 63(9-10):956-987, October 2006.
* J. Schmitt, F. Zdarsky, and M. Fidler: ''Delay bounds under arbitrary multiplexing: when network calculus leaves you in the lurch ...'', Prof. IEEE Infocom, April 2008.
* A. Bouillard, L. Jouhet, and E. Thierry: ''Tight performance bounds in the worst-case analysis of feed-forward networks'', Proc. IEEE Infocom, April 2010.
;Measurement-based system identification
* C. Cetinkaya, V. Kanodia, and E.W. Knightly: ''Scalable services via egress admission control'', IEEE Transactions on Multimedia, 3(1):69-81, March 2001.
* S. Valaee, and B. Li: ''Distributed call admission control for ad hoc networks'', Proc. of IEEE VTC, pp. 1244–1248, 2002.
* A. Undheim, Y. Jiang, and P. J. Emstad. ''Network Calculus Approach to Router Modeling with External Measurements'', Proc. of IEEE Second International Conference on Communications and Networking in China (Chinacom), August 2007.
* J. Liebeherr, M. Fidler, and S. Valaee: ''A system-theoretic approach to bandwidth estimation'', IEEE Transactions on Networking, 18(4):1040-1053, August 2010.
* M. Bredel, Z. Bozakov, and Y. Jiang: ''Analyzing router performance using network calculus with external measurements'', Proc. IEEE IWQoS, June 2010.
* R. Lubben, M. Fidler, and J. Liebeherr: ''Stochastic bandwidth estimation in networks with random service'', IEEE Transactions on Networking, 22(2):484-497, April 2014.
;Stochastic network calculus
* O. Yaron and M. Sidi: ''Performance and Stability of Communication Networks via Robust Exponential Bounds'', IEEE/ACM Transactions on Networking, 1(3):372-385, Jun. 1993.
* D. Starobinski and M. Sidi: ''Stochastically Bounded Burstiness for Communication Networks'', IEEE Transactions on Information Theory, 46(1):206-212, Jan. 2000.
* C.-S. Chang: ''Stability, Queue Length and Delay of Deterministic and Stochastic Queueing Networks'', IEEE Transactions on Automatic Control, 39(5):913-931, May 1994.
* R.-R. Boorstyn, A. Burchard, J. Liebeherr, and C. Oottamakorn: ''Statistical Service Assurances for Traffic Scheduling Algorithms'', IEEE Journal on Selected Areas in Communications, 18(12):2651-2664, Dec. 2000.
* Q. Yin, Y. Jiang, S. Jiang, and P. Y. Kong: ''Analysis of Generalized Stochastically Bounded Bursty Traffic for Communication Networks'', IEEE LCN, pp. 141–149, Nov. 2002.
* C. Li, A. Burchard, and J. Liebeherr: ''A Network Calculus with Effective Bandwidth'', University of Virginia, Technical Report CS-2003-20, Nov. 2003.
* Y. Jiang: ''A basic stochastic network calculus'', ACM SIGCOMM 2006.
* A. Burchard, J. Liebeherr, and S. D. Patek: ''A Min-Plus Calculus for End-to-end Statistical Service Guarantees'', IEEE Transactions on Information Theory, 52(9):4105–4114, Sep. 2006.
* F. Ciucu, A. Burchard, and J. Liebeherr: ''A Network Service Curve Approach for the Stochastic Analysis of Networks'', IEEE/ACM Transactions on Networking, 52(6):2300–2312, Jun. 2006.
* M. Fidler: ''An End-to-End Probabilistic Network Calculus with Moment Generating Functions'', IEEE IWQoS, Jun. 2006.
* Y. Liu, C.-K. Tham, and Y. Jiang: ''A calculus for stochastic QoS analysis'', Performance Evaluation, 64(6): 547-572, 2007.
* Y. Jiang and Y. Liu: ''Stochastic Network Calculus'', Springer, 2008.
;Wireless network calculus
* M. Fidler: ''A Network Calculus Approach to Probabilistic Quality of Service Analysis of Fading Channels'', Proc. IEEE Globecom, November 2006.
* K. Mahmood, A. Rizk, and Y. Jiang: ''On the Flow-Level Delay of a Spatial Multiplexing MIMO Wireless Channel'', Proc. IEEE ICC, June 2011.
* K. Mahmood, M. Vehkaperä, and Y. Jiang: ''Delay Constrained Throughput Analysis of a Correlated MIMO Wireless Channel'', Proc. IEEE ICCCN, 2011.
* K. Mahmood, M. Vehkaperä, and Y. Jiang: ''Delay constrained throughput analysis of CDMA using stochastic network calculus'', Proc. IEEE ICON, 2011.
* K. Mahmood, M. Vehkaperä, and Y. Jiang: ''Performance of multiuser CDMA receivers with bursty traffic and delay constraints'', Proc. ICNC, 2012.
* Y. Zhang and Y. Jiang: ''Performance of data transmission over a Gaussian channel with dispersion'', Proc. ISWCS, 2012.
* H. Al-Zubaidy, J. Liebeherr, and A. Burchard: ''A (min, ×) network calculus for multi-hop fading channels'', Proc. IEEE Infocom, pp. 1833–1841, April 2013.
* K. Zheng, F. Liu, L. Lei, C. Lin, and Y. Jiang: ''Stochastic Performance Analysis of a Wireless Finite-State Markov Channel'', IEEE Trans. Wireless Communications 12(2): 782-793, 2013.
* J.-w. Cho and Y. Jiang: ''Fundamentals of the Backoff Process in 802.11: Dichotomy of the Aggregation'', IEEE Trans. Information Theory 61(4): 1687-1701, 2015.
* M. Fidler, R. Lubben, and N. Becker:
Capacity–Delay–Error Boundaries: A Composable Model of Sources and Systems', Transactions on Wireless Communications, 14(3):1280-1294, March 2015.
* F. Sun and Y. Jiang: ''A Statistical Property of Wireless Channel Capacity: Theory and Application'', Proc. IFIP Performance, 2017.
Network performance
Computer network analysis