Optimal Estimation of Link Delays based on End-to-End Active Measurements

Current IP based networks support a wide range of delay-sensitive applications such as live video streaming of network gaming. Providing an adequate quality of experience to these applications is of paramount importance for a network provider. The offered services are often regulated by tight Service Level Agreements that needs to be continuously monitored. Since the first step to guarantee a metric is to measure it, delay measurement becomes a fundamental operation for a network provider. In many cases, the operator needs to measure the delay on all network links. We refer to the collection of all link delays as the Link Delay Vector (LDV). Typical solutions to collect the LDV impose a substantial overhead on the network. In this paper, we propose a solution to measure the LDV in real-time with a low-overhead approach. In particular, we inject some flows into the network and infer the LDV based on the delay of those flows. To this end, the monitoring flows and their paths should be selected minimizing the network monitoring overhead. In this respect, the challenging issue is to select a proper combination of flows such that by knowing their delay it is possible to solve a set of a linear equation and obtain a unique LDV. We first propose a mathematical formulation to select the optimal combination of flows, in form of ILP problem. Then we develop a heuristic algorithm to overcome the high computational complexity of existing ILP solvers. As a further step, we propose a meta-heuristic algorithm to solve the above-mentioned equations and infer the LDV. The challenging part of this step is the volatility of link delays. The proposed solution is evaluated over real-world emulated network topologies using the Mininet network emulator. Emulation results show the accuracy of the proposed solution with a negligible networking overhead in a real-time manner.



There are no comments yet.


page 1

page 4


Managing Industrial Communication Delays with Software-Defined Networking

Recent technological advances have fostered the development of complex i...

Machine Learning-based Link Fault Identification and Localization in Complex Networks

With the proliferation of network devices and rapid development in infor...

Optimal Message Bundling with Delay and Synchronization Constraints in Wireless Sensor Networks

Message bundling is an effective way to reduce the energy consumption fo...

Link Delay Estimation Using Sparse Recovery for Dynamic Network Tomography

When the scale of communication networks has been growing rapidly in the...

Classifying flows and buffer state for YouTube's HTTP adaptive streaming service in mobile networks

Accurate cross-layer information is very useful for optimizing and monit...

Enumerating k-arc-connected orientations

We give simple algorithms to enumerate the α-orientations of a graph G i...

Topology Inference with Multivariate Cumulants: The Möbius Inference Algorithm

Many tasks regarding the monitoring, management, and design of communica...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

I Introduction

Due to the increasing demand for data communication over computer networks, network administrators have to continually improve the way they manage their resources. One of the most promising technologies that offers many advantages for network management and monitoring is Software-Defined Networking (SDN). SDN provides a powerful solution to manage and monitor network traffic, based on the separation of control plane and data plane. More precisely, since the controller can get customized statistics from SDN nodes it is possible for the controller to view the status of the network from a centralized perspective. Although SDN brings a lot of benefits, still there are challenging parts to deal with. Meeting QoS constraints for delay sensitive applications is among the most important issue that should be addressed. QoS is especially important in networks where the capacity is a limited resource, for example in cellular data communication.

The above-mentioned issue attracts more attention in modern networks such as 5G network where there are many delay-sensitive applications. In other words, reducing network communication delay plays an important role in improving service quality. This is because there are many delay-sensitive services such as video streaming, VNF re-placement, multiplayer gaming, factory robots, and self-driving cars. For many of these high bit-rate delay-sensitive traffics, it is critical to have good network performance in order to provide QoS and guarantee an adequate QoE for the end-user. Taking this into account, delay management receives a great interest in modern computer networks. The first step to manage the delay is to measure it. This can be done using different approaches based on the main purpose of the measurement. One of the most valuable types of delay measurement is the measurement of the link delay vector (LDV). The Link Delay vector is the vector of the unidirectional delay between every pair of adjacent nodes (i.e. the vector of the delay on each unidirectional link).

By “link delay” we actually mean the delay from the moment a packet has been fully received by a node to the instant in which it has been fully transmitted on the outgoing link. Under this hypothesis, the link delay can be split in four parts: processing delay, queuing delay, transmission delay, propagation delay. The propagation delay is fixed, its constant value depends on the physical media and on the link length. The transmission delay depends on the line rate and on the packet size. Assuming a given packet size, both the transmission and propagation delay can be considered as fixed and are common between packets (of the same size!) passing through a route. On the other hand, processing delays and queuing delays are the variable parts of each link delay. In particular the queuing delay, which depends on the link utilization, is the most important source of the overall delay variability.

Considering that the link delay is variable with time, it is useful to measure it continuously, so that the network operator can promptly react when the delay on some links is higher than expected. In this paper, we use the notation of Real-Time LDV (RT-LDV) to highlight the need of dynamically and continuously monitor the vector of link delays in a network.

Several applications can benefit from the knowledge of LDV or RT-LDV, among them we find: SLA-aware traffic engineering, Network troubleshooting and diagnostic. Regarding SLA-aware traffic engineering, the link delay vector is an invaluable input to do QoS-aware traffic engineering. Thanks to the centralized resource administration of SDN networks, flows can be routed via low delay links using these metrics. There are lots of works using network statistics to provide SLA-based routes such as [kamoun2018ip, tajiki2017optimal, lin2018dte]. Another application of delay vector is in network troubleshooting and diagnostic. Due to the distributed nature of networks, troubleshooting is extremely hard. Many failures are considered as network “problems” while they are not. Researches show that about 50 of these “network” problems are not caused by the network [guo2015pingmesh]. However it is not easy to tell if a “network” problem is indeed caused by network failures or not. For example some components can only be reached intermittently, trying to use them may be mistakenly considered as a link/router failure. Another field that can take the benefits of knowledge on delay vector is Multi-objective Resource Allocation. In some resource management scenarios, the network controller should do a cross layer resource allocation, e.g., in [tajiki2018energy] the problems of traffic engineering and VNF placement are considered as a unique problem to minimize the network energy consumption while the flows receive services based on SLA agreement. This means that the controller can exploit the aforementioned link delay vector to provide a better service and simultaneously minimize the energy consumption.

There are several questions on how to measure the delay vector, e.g., how to handle multiple links (link bundles) along two networking nodes? How to handle multiple paths between two nodes (e.g, if using ECMP)? What is the possibility and the cost to change end-hosts (i.e. in case of using Host-based solutions to perform LDV measurements)? Shall hosts be engaged in the process of network monitoring ([guo2015pingmesh])? or is it better to keep the hosts untouched and do the measurements inside the network? Throughout the remaining sections, we answer the above-mentioned questions. Our main goals in this paper can be expressed as follows:

  • Measuring the Link Delay Vector (LDV).

  • Keeping the monitoring overhead below a predefined threshold.

  • Minimizing the involvement of end hosts (servers/clients) in the measurements.

  • Being dynamic and providing real-time monitoring.

  • Developing an efficient implementation of the proposed solution and offering it as a tool for other researchers.

It should be mentioned that there are many challenges around LDV measurement problem, however, we believe these goals are the high priority ones. To meet the above goals, we propose a novel Active Network Monitoring Architecture called Efficient Link Delay Measurement (ELDM). The proposed architecture, provides real-time delay measurements for SDN-based networks. We consider that the routing devices are SDN-enabled so that we can impose the routing of the monitoring flows (flows injected to the network to perform LDV measurement). In other words, we facilitate the process of active monitoring in SDN through this architecture. The same way, SDN facilitates the process of network management by its architecture. In our approach, the end-to-end delay of a set of monitoring flows is measured and based on that information, per-link delay (which is the sum of processing, transmission, queuing and propagation delays) is inferred. More precisely, we mathematically formulate the problem of choosing a set of monitoring flows to be injected to the network so that the link delay vector can be inferred using the delays measured on the injected flows. The formulation is in form of Integer Linear Programming (ILP) and could be solved with existing tools like those listed in [wikipedia_2020_listOptimization_software]. However, in order to cope with the high computational complexity of optimizing an ILP problem, a heuristic algorithm is proposed to solve the problem in a real-time manner. Thereafter, several flows are injected to the network and their end-to-end delays are measured. The number of flows and the selected path for each of them should be chosen in a way that by solving a system of linear equations the delays of desired links could be specified. It is important to prevent the monitoring flows from using more than a predefined fraction of the link capacity. To have a solvable multi-variables multi-equations problem, none of the flows delays should be inferable from the delay of one or more of other flows111To have a unique solution when there are n-unknowns, we need n-equations that are not inferable from each other.. Besides, the path length (i.e. hop count) of each monitoring flow should be less than a predefined value to keep the measurement accurate222Different probes are traversing links in different time stamps and the links’ delays are fluctuating. Therefore, increasing the length of paths may cause a tiny inconsistency in the measured values. As we are using meta-heuristic, this inconsistency will be tolerated, however, keeping the length of the paths low will decrease the chance of these types of inconsistency.. In brief, the contributions of this paper are as follows:

  • An active network monitoring architecture is proposed. The architecture provides a real-time delay measurement for SDN-based networks;

  • We measure per-link delay (which includes propagation and queuing delays);

  • We mathematically formulate the joint problems of node placement and flow selection for active network monitoring. To this end, three metrics are optimized: length of monitoring flows, monitoring overhead, and accuracy;

  • The non linear constraints appearing in the aforementioned optimization problem are linearized, therefore, obtaining Integer Linear Programming (ILP) model that can be solved with existing toolbars (like CPLEX [cplex2009v12]) for small-sized network scenarios;

  • In order to cope with the computational complexity and grant intelligence to the solution, the problem is broken down into two sub-problems. Then, heuristic and meta-heuristic approaches are exploited to solve the aforementioned sub-problems;

  • We have open sourced all implementations and the codes are available at 


  • Finally, the performance of the proposed solution is evaluated by measuring accuracy, execution time, and configuration overhead.

Ii Related Works

Network monitoring can be divided into two main categories: I) those focusing on gathering flow level information (called Flow Measurement in Fig. 1 [roy2018cloud, guo2015pingmesh, gamage2019one, hernandez2007one, guingo2012distributed, bovy2002analysis, di2010new, van2014opennetmon]) and II) those focusing on network level information such as link delay vector or link load (called Link or Routing-Device Measurement in Fig. 1 [nakanishi2018route, naka2017route, gao2016accurate, tsang2003network, lawrence2006network, duffield2001network, gao2014domo]). Each of these categories has two sub-categories, passive and active methods. Passive measurement methods measure the desired metrics by observation, without injecting additional traffic in the form of probe packets. The main advantage of these methods is their zero network overhead (in terms of generating additional traffic). This means that passive measurement does not influence network performance. The main disadvantage of passive measurements is their reliance on installing in-network devices to monitor the traffic, which requires large investments and is not feasible for all networks. On the other hand, active measurements inject additional packets (referred as probe packets or monitoring flows) into the network, monitoring their behavior. Ping is a popular example for that in which ICMP packets are used to reliably compute a path’s round-trip time and determine end-to-end connection status.

There is another topic which is similar to our work in the goal, however, quite different in the output. Network tomography [vardi1996network] studies the internal characteristics of the network by measuring end-points data. Delay tomography aims at finding link delays using end-to-end probes sent from vantage points. In tomography, since there is no information about the internal network (e.g., topology and routing algorithm), this technique cannot accurately measure the link delays [lawrence2006networkNew]. In other words, delay tomography is quite different from our work because we know the topology thanks to the SDN based approach. Besides, we have access to the routing devices to enforce the desired routes to the monitoring flows.

Fig. 1 represents the proposed categorization along with a brief indication to their challenging issues.

Fig. 1: Different Monitoring Approaches.

In this paper, the focus is on finding the delay vector of the known set of links, therefore, the state-of-the art works on active measurements are discussed and the papers related to the other categories are ignored.

Fig. 2: Steps taken in the proposed solution along with the challenges.

Pingmesh [guo2015pingmesh] is a large-scale system for data centre network latency measurement and analysis. Pingmesh is an end-to-end measurement solution for delay monitoring. It leverages all the servers to launch HTTP or TCP pings to have comprehensive coverage on delay measurement. The algorithm forms several levels of complete graphs within a data centre. Similarly, servers within a rack collaborate in forming a complete graph. The top-of-rack (ToR) switches are considered as virtual nodes to let them form a second complete graph. Across data centres, Pingmesh establishes a third complete graph by considering each data centre as a virtual node. A central Pingmesh Controller undertakes the calculation of the complete graphs and related ping parameters. Although Pingmesh provides multiple monitoring wins at Microsoft (including detecting black holes and silent packet drops [guo2015pingmesh]), an important question to ask is if this solution can be used for monitoring of virtual networks. The brief answer is no, motivating the authors of [roy2018cloud]

to develop VNET Pingmesh, an uplifted version of Pingmesh. This enhanced solution characterizes the precision and recalls to validate their effectiveness. However, they confess that they find it hard to do that without the ground truth gathered from customers. This is due both to the coverage issue they have with hybridized networks and because customers themselves may miss some issues.

There are several other works [zhang2020joint, zhang2019sensitive, yaseen2018synchronized] focusing on LDV measurement, however, their main drawback is the ultra high computational complexity of their solutions. The solution proposed in [zhang2020joint] is joint consideration of both path delay monitoring and flow routing. In the first part, the authors focus on designing a monitoring mechanism to measure the link delay in heterogeneous networks. In this way, they exploit both link layer discovery protocol (LLDP) and Echo probing. Then, a dynamic routing algorithm is proposed to select optimized transmission paths based on the information of link latency. The RYU controller is deployed for feasibility and efficiency evaluation of the proposed solution. The authors of [zhang2019sensitive] take an active measurement approach by establishing a buffer for the received packets. Their main focus is on end-to-end jitter measurement and they do not infer per link information from the gathered data. Yaseen et. al design a Synchronized Network Snapshot protocol in [yaseen2018synchronized]. Their primary goal is to collect a network-wide set of measurements. To have a meaningful measurement their design should be both causally consistent and approximately synchronous.

The authors of [gao2016accurate] focus on the problem of extracting per-hop delay for each packet from the end-to-end delay. They propose a per-link delay measurement by mathematically formulating the problem into a set of optimization sub-problems. Their solution adds an overhead header to every packet to construct the constraints of the optimization problems. By applying a relaxation and solving these optimization problems, their solution is able to estimate per-hop delays as well as giving an upper and lower bound for each link delay. This solution not only adds a lot of overhead but also has clock synchronization issue. Because of that the authors of [nakanishi2018route] study synchronization-free delay measurement. In this way, they use theoretical analysis to cancel or minimize the error factors caused by clock asynchronism. However, removing or reducing this error ends up to a very high computational complexity which makes the algorithm hard to be applied for real-world networks. Besides, they have some considerations which rarely stands for real-world networks. It is worth mentioning that although we are seeking to solve the same problem [gao2016accurate] and [nakanishi2018route] are trying to, the solutions/approaches are completely different, i.e., our work is not an extension of these works. In our work, we use loops to overcome with the clock synchronization issue. Besides, we exploit SDN capabilities to propose a low overhead solution (no need to add extra headers).

Iii Active Delay Measurement

In this section, we first depict an outline of the approach we have taken along with the challenges on the way. Fig. 2 shows three main steps of the proposed solution and the corresponding issues of each step. The first step, called Path Flow Selection, is to define the flows, i.e., specifying the source, destination, and selected hops (links) throughout the network. This step is the most difficult one, including several challenges. The main challenge is that the assignment of resources (selecting paths for flows) should end up to a system of linear equations (or linear system) with a unique solution. A linear system is a collection of linear equations involving the same set of variables. The equations of a linear system should be independent meaning that none of the equations should be derived algebraically from the others. When the equations are independent, each equation contains new information about the variables, and removing any of the equations increases the size of the solution set. For linear equations, logical independence is the same as linear independence. Fig. 2(a) shows a sample where the equations are dependent in a 3D environment.

(a) Dependent
(b) Inconsistent
(c) Inconsistent
(d) Many Answers
Fig. 3: Improper Linear Systems

Another mandatory feature of the desired linear system is consistency. A linear system is consistent if it has a solution, and otherwise, it is said to be inconsistent. When the system is inconsistent, it is possible to derive a contradiction from the equations, that may always be rewritten as the statement 0 = 1. Fig.s 2(b) and 2(c) are examples of inconsistency in linear equations.

The desired linear system not only should be independent and consistent but also it should lead to one unique answer. For instance, the equations depicted in Fig. 2(d) are consistent and independent but leading to many possible answers. An example of a proper system of equations is illustrated in Fig. 4, where solving the system leads to a unique answer.

Fig. 4: A proper system of linear equations with one unique answer.

Another challenge of path flow selection is to cover all targeted links meaning that all those links should appear in the linear system. In this way, increasing the length of the path each flow takes increases the measurement error while decreasing the length of the path increases the number of required flows. On the other hand, the number of flows should stay in a safe zone since decreasing the number of flows may result in a linear system with many possible answers while increasing the number of flows could end-up with too much monitoring traffic or an inconsistent linear system (due to measurement error). Therefore, the number of flows, their source  destination, and the way they tour the network have a direct impact on the monitoring overhead.

The second step in the proposed solution is to inject the flows into the network in order to measure their end-to-end delay (called Inject flows in Fig. 2). The main challenge of this part is to handle the time difference of monitoring devices. The error-tolerance of delay-measurement needs to be in a safe zone which is beyond the adjustment accuracy of computer devices. In another word, a computer clock can be thrown off by many factors, including network jitter, delays introduced by software, and even the environmental conditions in which the computer is operating. This means that network delay has an impact on the time accuracy in monitoring devices. Therefore, if the source and destination of a flow are two different entities then the one-way delay is not accurately computable due to the time difference of source and destination. It is worth mentioning that GPS based clock synchronization [tian2020high] could be a viable solution, however, we prefer to work on a solution that does not require GPS module.All things considered, the applicable way of measuring one-way delay based on the analysis of flows’ end-to-end delay is to set the source and destination to one node. This assumption brings up some implementation issues which is handled in our developed code (all code is open access and available from [monitoringCodeOurImplementation]). The main challenge of implementing this idea is that a router/switch needs to route a flow twice: once when the flow reaches the router/switch for the first time and once on the way back (to have a loop). Therefore, a flow with the same 5-tuples (source IP/port, destination IP/port, and protocol in use) should be behaved differently when it pass through the networking device for the first and second times.

The last step in the proposed solution is to infer the matrix of delay using the information gathered in the previous step. The main challenge, here, is the link delay fluctuation and measurement errors which may cause an inconsistency in the linear system. Obviously, the computational complexity of this part is very important as this part is running in a periodic manner (but step one is a one-time task which could be done offline). In the following, the mathematical formulation and the meta-heuristic algorithm proposed for Path flow Selection are described in sec.s III-B and III-C. The meta-heuristic algorithm proposed for inferring the delay vector is discussed in sec. III-E.

Iii-a Proposed Architecture

In this section, the proposed active monitoring architecture is discussed by illustrating the architectural components and providing an outline of the main considered components. We assume that a Network Operator is managing the network and it is able to allocate resources (e.g. processing capacity in nodes, bandwidth capacity on network links) to a set of monitoring flows that are intended to measure delays of links. The routing devices are SDN-enabled switches. We assume that there is a logically centralized SDN controller, connected to the set of SDN switches via a Southbound protocol. The main role of the SDN controller is to setup the forwarding tables in order to properly configure the packet forwarding. The SDN controller interacts with the switches and gathers information about the topology and on the network traffic. The SDN controller is connected to the controlling applications (SDN applications) through northbound APIs (which is REST API in Fig. 5). As can be seen in Fig. 5, the proposed architecture has the following modules:

  • Path Flow Selector: this module decides on the number of monitoring flows and specifies the required resources for each of these flows. In this context, the resources are links and the task is to perform route calculation for monitoring flows.

  • Topology Discovery: the main task of Topology Discovery is to periodically report the network topology to Path Flow Selector. When a new routing device enters the network, an existing node fails, or any changes take place in the network topology comes into the force, this module reports the changes to Path Flow Selector.

  • Forwarding Information Manager (FIM): this module enforces networking equipment to act based on the decision made in the Application layer. To this end, FIM exploits a northbound API to connect to the SDN controller. FIM could be mapped in an SDN controller to increase the performance.

  • Traffic Generators (TG Manager TG Agent): these two modules generate the monitoring traffic based on the decision of Path Flow Selector module. Additionally, they measure the end-to-end delay for every monitoring flow. These two modules have nothing to do with network configuration. TG Manager receives the list containing source/destination pair of every monitoring flows. Thereafter, it coordinates different instances of TG Agents. On the other hand, TG Agent which is running on monitoring nodes, generates the traffic based on the requested pair of source/destination. It is worth mentioning that there is only one instance of TG Manager running while there are several instances of TG Agents generating the monitoring traffic.

  • Delay Vector Calculator (DVC): based on end-to-end delays and selected routes, this module infers delays of different links in the network. This should be done in a real-time manner and the algorithm should have a low computational complexity.

Fig. 5: The proposed architecture.

Iii-B Mathematical Formulation of Path Flow Selection

We consider an SDN-based network in which networking devices are programmed using a southbound protocol (e.g., reference [ventre2018sdn]). A few hosts originate the monitoring flows. For every monitoring flow, the controller should select a source, destination, and the set of links from the source to the destination. The length of the selected path for each flow should be less than a predefined threshold. All targeted links should be crossed by at least flows. The source and destination of a flow may be the same node. We assume a network with SDN-enabled switches. The network topology is represented with a matrix , where the capacity of the link from the switch to the switch is stored in . Similarly, denotes the link delay, where stores the delay of the link from the switch to the switch . The number of Monitoring flows in the network is denoted with and the maximum length of paths assigned is limited by . Table I provides the symbols used though this paper along with a brief description.

Symbol Description


Number of links
Number of routing devices
Set of routing devices
Number of monitoring flows
Set of monitoring flows
Matrix of link capacity
Maximum tolerable propagation
Average rate of a monitoring flow
Vector of source switch
Vector of destination switch
Min number of monitoring flows on a link
Sufficiently big number
Max acceptable length for a monitoring flow
Matrix of adjacency (link from switch i to j)


Links delay
Monitoring traffic to total bandwidth ratio
Routing matrix
Intermediate variable (description in text)
Binary intermediate variable (description in text)
Ordering matrix
TABLE I: Main Notation.

In order to simplify the understanding of the notation, a sample of the proposed notation is presented in the following lines. A network topology with five routing devices can be represented with a matrix as following:

The source and destination of flows are determined by the vectors and determine, respectively. In the proposed solution source and destination of a flow can be the same. Clearly this ends up to a loop in the routing path which is handled in our implementation (later on we will explain why loops may happen in this section). Except loops caused by equal source and destination, the other types of loops are not allowed (due to implementation limits). Matrix denotes whether a link from switch to switch exists or not. If there is a link then its value is 1 otherwise, 0. : In each time slot, exactly monitoring flows travel through the link . Matrices and denote the path selected for every monitoring flow. , the main output of this formulation, shows the steps taken from source to destination without specifying the order. As an example, let the source and destination of flow 1 be node one and node five respectively.

This means that the flow 1 starts from node one and directly goes to node two (). Then the flows moves out to node four (since is one) and finally leave node four toward node five (). Similarly, is an intermediate variable showing the selected routing for every monitoring flow considering the ordering of links traversed. Therefore, matrix for the above mentioned flow is as following:

The mathematical formulation is provided in the following lines. The objective function is to minimize the monitoring overhead by reducing the maximum ratio of monitoring traffic to link capacity.


Eq. 2 is used to ensure the links through a path do exists. In other words, flows are forced to use only existing links and do not jump from a router to another one if there is no direct link between them. To this end, the elements of routing matrix should always be less than or equal to corresponding elements in adjacency matrix .


End-to-end delay may be undergone changes by different transient factors, therefore, to keep the measurement accuracy acceptable, it’s better to use more than one flow to infer a link’s delay. This means that having more than one flows traversing a link is desirable. Eq. 3 ensures that at least monitoring flows traverse every link. The appearance of adjacency matrix in the right side of Eq. 3 prevents the algorithm from using links that does not exists.


The net flow entering a node should be zero, except for the source, which ”produces” flow, and the sink/destination, which ”consumes” flow. This is usually referred to as ”flow conservation constraints”. In our mathematical formulation, the flow conservation concept is algebraically implemented in Eq. 4. However, here there is a small difference with common flow conservation constraints. In the proposed solution, it is possible to have a node as both source and destination of a flow. But due to challenges for routing in existence of loop, this case is usually unacceptable for most of routing algorithms, i.e., it is not considered in common flow conservation constraints. Therefore, the case where source and destination are the same is excepted in Eq. 4. We then add a new constraint to handle this exception. Beside, practical solution to tackle the existence of loop for implementation step is discussed in the remainder of this paper.


Eq. 5 substitutes the flow conservation constraint (Eq. 4) when the source and destination of a flow are the same. In this case, the incoming and outgoing of every node should be zero, regardless of being a source, destination, middle node, or not traversed node. Eq. 6 ensures the flow leaves the source node.


One of the most important criteria that should be met is keeping the monitoring overhead as low as possible. There are several metrics to measure the overhead including the amount of monitoring traffic and the number of monitoring rules on routing devices. Eq. 7 ensures the monitoring flows use at most percent of link bandwidth.


There are two reasons for a loop to exists in a computer network: to meet a node twice or due to an error in the routing algorithm. If the loop is formed by an error in the routing algorithm then the path to a particular destination forms an infinite loop. This means that the nodes keep forwarding the packet to each other until an external reason (e.g., packet timer) intervene the routing. In our formulation, to prevent an unwanted loop creation, Eq. 8 is added. This equation prevents a loop in routing unless the source and destination are the same (this is a type of loop that does not make any problem).


Due to the dynamic nature of link delay, it is desired to have an upper bound on the number of links a monitoring flow traverse. To this end, Eq. 9 keeps the length of monitoring routes less than a predefined value.


Eq. (10) hints that if the value of matrix is zero, then becomes zero. It also indicates that the value of the ordering matrix should be higher or equal to the rerouting matrix.


The elements of ordering matrix specify the steps through the way from source to destination. Therefore, if the step number assigned to the flow entering a node is then step number assigned to that flow leaving node n should be . This means that ordering matrix should always be equal to or greater than routing matrix. Briefly, the step number in ordering matrix should always increase by one after leaving a node. This criteria is guaranteed via Eq. 11 in our formulation.


In our formulation, in order to deal with the time inconsistency between different nodes (in microsecond granularity), the source and destination of a flow may be the same. The following equations ensure that monitoring flows leave the source node and enter the destination node. This is because if the source and destination are the same the flow has reached the destination without leaving it. In other words, without the following equations, some flows will not leave the source.


A solution for the proposed mathematical formulation may end up with similar routes assigned to flows with similar pairs of source destination. Meaning that some flows are a duplication of others. Duplicating a flow (having two flows traversing similar nodes) do not add any extra information regarding the links’ delay. However, this adds a new limit on the diversity of source destination because completely different pairs of source destination should be used for flows. Consequently, the number of required monitoring nodes to measure the delay of a set of links increases. To avoid this, the formulation should take diversity in routes as a criterion for flows with similar pairs of source destination.


In order to simplify the formulation, intermediate variable is defined in Eq. III-B. This variable compares the routes assigned to flows and and computes a value for their similarity based on Eq. III-B.


is another intermediate variable used along with to ensure there is no repeated path.

is a binary variable and it does not carry a meaningful value. This variable ensures the value assigned to comparison of

and stay in the acceptable area.

Iii-C Heuristic Algorithm for Path Flow Selection

The execution time of the mathematical formulation discussed in the previous section for large-scale networks is too high (in the range of several hours or days with respect to the size of the network). Therefore, a heuristic algorithm is proposed in Alg. 1 to solve the corresponding optimization problem in a rational time. The heuristic algorithm proposed for Path Flow Selection is called PFS. The algorithm is designed in a recursive and greedy manner with a sufficiently low computational complexity.

1:Topo, AL, TL
2:Topo: Network topology
3:AL: Allowed lengths for monitoring flows
4:TL: Targeted links (links to monitor)
7:  ULSF: Used Links So Far
9:  SRSF: Selected Routes So Far
10:PS = Extract_List_of_Possible_Sources(Topo)
11:  PS: Possible sources
12:A, B = Convert_Topo_to_Graph(Topo)
13:  Mapping IP/MAC to numbers and demonstr-
14:  ating as matrix
15:  A: Adjacency matrix, B: Capacity matrix
16:for length AL do
17:     for src PS do
18:          Find_Routes(src, length, A, B, *ULSF, *SRSF, TL)
19:            A recursive function calculating
20:            the routes and deciding on the
21:            number of required monitoring flows
22:     end for
23:end for
24:return ULSF,SRSF
Algorithm 1 Pseudo-Code of path flow selection (PFS)

PFS takes the network topology, targeted links (links to be monitored), and allowed lengths for monitoring flows and makes a decision on the number of required flows. Thereafter, the algorithm computes the routes for every monitoring flow in a way that all targeted links are traversed by at least flows. In the first 4 lines of Alg. 1, the preliminaries are done which includes finding the possible sources for the monitoring flows as well as converting the network topology into adjacency and bandwidth matrices. After that, for each possible pair of length of flow and source node, PFS generate a couple of flows. This will continue until all possible flows are added, however, one may decide to continue the process until all required links are included in the routes. Having all possible flows, increases both the solution accuracy and the execution time of DVC. On the other hand, continuing the process until all required links are included reduces the execution time of DVC in exchange for a tiny reduction in the solution accuracy.

1:CN, RH, A, B, ULSF, SRSF, TL, DN=, SR=, SN=
2:CN: Current node, RH: Remaining hops
3:A: Adjacency matrix, B: Capacity matrix
4:ULSF: Used Links So Far
5:SRSF: Selected Routes So Far
6:DN: Destination node, SR: Selected route
7:SN: Source node, TL: Targeted links
9:if RH=0 then
10:     if CN = DN SR  then
11:          Update ULSF SRSF based on SR and TL
12:     end if
14:     if DN= then DN=CN
15:     end if
16:     if SN= then SN=CN
17:     end if
18:     for all nodes n connected to CN do
19:          if n SR no loop in (SR+nthen
20:               Find_Routes(n, RH-1, A, B, ULSF, SRSF,
21:                 DN, SR+n, SN)
22:          end if
23:     end for
24:end if
Algorithm 2 Pseudo-Code of Find_Routes Function

The pseudo code explained in Alg. 2, is a recursive approach to find possible monitoring flows which traverse some of the targeted links. The algorithm takes the source, destination, current node, set of targeted links, allowed remained hops (allowed length minus taken hops) as input and returns the set of possible monitoring flows starting from source and ending to destination with specified number of hops.

Iii-D Injection of Flows

In order to inject the monitoring flows into the network, a component called Traffic Generator is defined. This component consists of two main parts: Manager and Agent. The task of the Traffic Generator Manager (TG Manager) is to communicate directly with Path Flow Selector to receive the list of required monitoring flows. Thereafter, TG Manager communicates with Traffic Generator Agents (TG Agents) and configures them to inject the monitoring flows into the network. Every TG Agent instance should inject the requested flows and then returns the end-to-end delay assigned to those flows to TG Manager. Thereafter, these values are consolidated and reported to DVC module (Fig. 5).

On the other hand, the routing devices (which are SDN switches here) should be configured properly to steer the monitoring flows through the planned routes. To this end, Forwarding Information Manager (FIM) module is considered. This module can either be implemented as a part of the SDN controller or as an application out of the SDN controller. Flip-side, the network topology information can be found using Topology Discovery module. Similar to FIM this module can either be implemented as a part of the SDN controller or as an application out of the SDN controller.

Iii-E Meta-Heuristic Algorithm for Inferring Delay Vector

In this subsection, the problem is to take a list of end-to-end delays and routing paths (traversed by each monitoring flow) as input and infer the link delay on targeted links. In fact, the problem is a linear system of equations where the delays of the links are unknowns and the end-to-end delays are fixed values. To solve the aforementioned problem a population swarm optimization (PSO) algorithm is exploited. This meta-heuristic algorithm is called Delay Vector Calculator (DVC) algorithm.

1.2 1.0 0.5 0.8 2 1.5 0.4 0.3 0.8 1.1
Fig. 6: A particle in the proposed PSO algorithm showing the delay of 10 links. In this example, the measurement unit for all values is considered to be millisecond.

In DVC, each particle is a list of delays for targeted links. Let the number of targeted links be 10 (considering each direction as one targeted link), Fig. 6 shows a sample particle of the proposed algorithm. The first value in the representation of the particle is 1.2 meaning that the link delay for the first targeted link is 1.2ms (considering milliseconds as the measurement unit).

1:A, SR, EED, TL
2:A: Adjacency matrix, SR: Selected route
3:EED: End-to-End delays, TL: Targeted links
5:population = Initial_Population(TL)
6:Generate x-1 particles. For each particle, generate y random value assigning them as a delay value to every link.
7:population += LSS(EED, SR)
8:Add least-squares solution of the linear equations as a particle to the population.
9:for t=1: maximum_generations do
10:     for each particle p in population do
11:          fp = Fitness_Function(p)
12:          Use p to solve the linear system
13:          and consider the fitness as -error.
14:          if fp is better than fpBest then
15:               fbest_p = fp
16:               best_p = p
17:          end if
18:     end for
19:     for each particle p in population do
20:     Update velocity
21:          for  do
22:               Generate two random values and
24:                : Cognitive constant (attraction
25:                to best particle vs selfishness)
27:                : Social constant (attraction to
28:                social behaviour)
30:                : Constant inertia weight (how
31:                much to weigh the previous
32:                velocity)
33:               Update position
35:               Correct by keeping it in boundaries
36:          end for
37:     end for
38:     if fbest_p is zero then
39:          return best_p
40:     end if
41:     if best_p has no improvement during m generations then
42:          population = Mutation(population)
43:           Randomly change some of particles
44:           velocities positions
45:     end if
46:end for
Algorithm 3 Pseudo-Code of DVC Function

Alg. 3 shows the pseudo code of DVC. In this algorithm, a random initial population is generated in line 1 and thereafter, the population is enhanced by adding an elite particle. Let x be number of particles and y the number of targeted links (unknowns). In order to generate the initial population, particles should be generated. Each particle is a list of y values showing the delay of one of the targeted links. Initial_Population function generates random values as the first generation of outcomes. LSS function in line 2 of the algorithm, returns the least-squares solution to a linear matrix equation. LSS solves the equation by computing a vector that minimizes the squared Euclidean 2-norm . The equation may be under-, well-, or over-determined (i.e., the number of linearly independent rows of can be less than, equal to, or greater than its number of linearly independent columns)[lstsq]. Besides, due to measurement error is linear system of equations may not have a exact solution, therefore, a PSO algorithm is exploited to find the best possible solution.

Let maximum_generations be the maximum number of iteration the particles move they positions. Line 3 makes a loop over actions applied to the population to move into a new generation. Thereafter, for each particle in the population, the fitness is calculated. The error of solving the linear systems using the positions reported in a particle is considered as the negative of fitness for that particle. During the calculation of fitness, the best particle is specified. At this point, the particles start to move around considering several factors: their current position, the position of the best particle, and their velocity. Every particle makes a trade-off between going toward the way it is going and approaching the position of the best particle (lines 12-19). If the best particle does not show any improvement in the fitness over m generations, this means that either the population is trapped in a local optimum or the measurement error is too high making the linear systems unsolvable. Therefore, to make sure the population is not trapped in a local optimum a mutation algorithm is considered to free some particles from local optimum. Finally, in order to reduce the execution time when the algorithm has found the desired solution, lines 21-23 are developed which stops the algorithm and returns back the best solution found so far.

Iv Implementation

The proposed architecture consists of six modules: Topology Discovery (TD), Forwarding Information Manager (FIM), Path Flow Selector (PFS), Delay Vector Calculator (DVC), TG Manager (TGM), and TG Agents (TGA). The modules PFS and DVC are implemented in python and the algorithms are precisely described in sections III-E and III-C. To have a better understanding of the implementation aspects, a brief overview of inputs/outputs of different steps of the proposed architecture is provided below (more details in section III-A):

  1. PFS defines monitoring flows and specifies their paths, i.e., input: network topology, output: set of routes, invokes: TG Manager and FIM;

  2. FIM enforces flow entries to network switches, i.e., input: set of routes, no output, invokes: nothing;

  3. TG Manager finds the E2E delays of all flows in a distributed manner (using TG Agent), i.e., input: flows identifiers (e.g., source, destination, and port), output: delay of monitoring flows, invokes: DVC;

  4. TG Agent generates monitoring flows and injects them to the network, i.e., input: flows identifiers (e.g, source and destinations), output: delay of set of (source, destination), invokes: nothing;

  5. DVC input: E2E delays, output: Delay Vector, invokes: nothing.

In this section the focus is on Topology Detector module, FIM Module, and TG Module.

Iv-a Topology Detector

Topology information can be obtained through SDN controller using an API. This information is actually about switches Data-Path ID’s (DPID’s), hosts MAC, IP addresses, and how these elements are connected together using links. To support cross-platform compatibility, the Topology Detector is decided to be implemented out of controller in application layer by utilizing REST API (Fig. 5).

Iv-B FIM module and TG module

According to III-E, DVC module requires end-to-end delay of selected paths as input. In order to calculate end-to-end delays, we inject monitoring flows to the network and by calculating round trip time of each monitoring flow, we can determine all chosen paths end-to-end delays. For this purpose, two important tasks are: 1) setting up flow entries and 2) generating monitoring flows. FIM module is responsible to get list of paths from PFS module and enforce the flow entries; and TG module gets list of paths from PFS module and then generates monitoring flows to calculate end-to-end delays;

Iv-B1 How to handle flows with similar source and destination but different paths?

As it is described in Section III-A, we use end-to-end delays of selected paths to infer link delay vector. To this end, each TG Agent sends ICMP echo request packets to the destinations. Consequently, the destination will answer to this packet using ICMP echo reply. We refer to these ICMP packets as a monitoring flow.

Fig. 7: Two flows with similar source and destination, however, traversing via two different paths.

Fig. 7 shows a scenario in which there are two different paths between h1 and h2, the TG Agent hosts. These paths are outputs of PFS module. Consider the paths as the following:

  • Path A:

  • Path B:

Both paths has same pair of source and destination (). To make a difference between these two monitoring flows, a tagging mechanism is exploited. Monitoring Flows Tagging Mechanism: Consider, there are two monitoring flows, with similar source and destination (), traversing through different paths. Since source and destination IPs are similar in both flows, we need to add a unique tag to make a difference between these two flows. We use the Type of Service (ToS) field in IP header to tag these flows. Since ip_tos is an 8-bit field and each monitoring flow is recognized by ip_src, ip_dst, and ip_tos; Therefore, practically there are 256 monitoring flows available per each source and destination TG Agent pair. It is worth mentioning that we use ICMP echo request and ICMP echo reply to estimate round-trip time. Here, round-trip time is the time that takes a monitoring flow to reach the destination and get back to its source (end-to-end delay).

Assigning Monitoring Flows to Paths: A TG Agent (h1 in this scenario) sends an ICMP echo request packet with ip_tos=1 (monitoring flow 1) and another one with ip_tos=2 (monitoring flow 2), respectively. Since reply packets have ip_tos field similar to request packets [rfc1349], we can recognize that each packet is originally related to which flow. This helps switches to forward the replies according to their ip_tos. Therefore, monitoring flows with same source and destination pair, could be recognized. Flow entries of Tab. II are installed on switches by FIM module using Rest API to control the paths that are traversed by each monitoring flow. Having this table in force, flow 1 will traverse via path A and flow 2 will traverse via path B.

switch ip_src ip_dst ToS actions
S1 1 output=2 2 output=3 1 output=1 2 output=1
S2 1 output=2 1 output=2
S3 2 output=2 2 output=1
S4 1 output=3 2 output=3 1 output=1 2 output=2
TABLE II: Flow entries of switches, scenario 1.

Iv-B2 How to handle loops in the path?

Based on the nature of PSF algorithm, it is required to have a node as both source and destination of a monitoring flow. To this end, monitoring flows are sent from one TG Agent to itself.

Fig. 8: Loop in the path.

Consider Fig. 8. A monitoring flow must be sent flow h1 to s3 and the reply must get back to the h1. The path will be like the following:

h1 s1 s2 s4 s3 s1 h1

This situation is more complicated than the former. Since the monitoring flow’s source and destination are the same, we need to consider a hypothetical host which we consider as this kind of monitoring flows destination.

At h1, a TG Agent creates a monitoring flow with the source IP address of h1 and destination IP address of Helper and then send it to the Helper. Like the previous scenario, an ip_tos is set to tag it (e.g. ip_tos=1). For instance in s1 switch, we install tab. III flow entry is required.

Match Fields actions
ip_src ip_dst ip_tos 1 output: 2
TABLE III: Scenario 2, sample flow entry with Helper IP’s destination that is installed on S1.

In other switches, flow entries (VII) are installed in the same way. But the main point is that if we return the same packet produced by h1 to itself, h1 can’t accept it as a reply of it’s request; Since h1 waits for a packet with the header that is shown in tab. IV. h1 receives a packet that it’s source is itself, something like header that is presented in Tab. V. Using a flow entry (see Tab. VI), we can modify this kind of flows as an acceptable ICMP echo reply by swapping ipv4_src & ipv4_dst, and also changing icmp_v4_type from 8 to 0.

Note that in ICMP echo request packets, the icmp_type field is 8 and in ICMP echo reply packets the icmp_type field must be 0. Therefore, a small modification should happened in the return packet. This change occurs in switch s1 (last switch) using a flow entry which is shown in Tab. VI. Finally, all the flow entries that should be installed on the switches could be seen in Tab. VII.

ip_src ip_dst ip_tos icmp_type 1 0
TABLE IV: Scenario 2, expected ICMP echo reply packet header.
ip_src ip_dst ip_tos icmp_type 1 8
TABLE V: Scenario 2, seen packet header.
ip_src ip_dst ip_tos actions 1
TABLE VI: Scenario 2, switch S1 flow entries for monitoring flows that are traversing back to the same TG Agent.
switch in_port ip_src ip_dst ToS actions
S1 1 1 output=2
3 1
S2 1 1 output=2
S3 2 2 output=1
S4 1 1 output=2
TABLE VII: Scenario 2, Flow entries of all switches.

V Evaluation

We use Mininet [kaur2014mininet] as emulation tool, Floodlight as the SDN-controller, and Python as the programming language. The typologies used to evaluate the proposed solution are Abilene and RedIRIS [topologyzoo]. To run our prototype, we consider there are a few randomly-placed hosts, as monitoring nodes. We also have IPerf generating traffic in the background to make a more realistic scenario.

V-a Monitoring Coverage

Fig. 9, shows the coverage of different scenarios versus the maximum length of monitoring flows (MLMF). Based on the simulation results, there is a direct relationship between MLMF, number of monitoring nodes, and the measurement coverage. Increasing the number of monitoring nodes increases the chance of having full coverage using flows with a lower length. As an example, with five monitoring nodes, all links delays can be measured with flows of length lower than 5 hops (in both topologies); While this value is 12 in Abilene (and 9 in RedIRIS) when there is only one monitoring node. On the other hand, allowing MLMF to increase, reduces the number of required monitoring nodes to reach full coverage.

Fig. 9: Monitoring Coverage.

It should be mentioned that having a relatively high MLMF (in this example 11), all links could be monitored with a few number of monitoring nodes (in this example, one monitoring node). However, this is not desirable because increasing MLMF may increase the optimality gap or configuration overhead. On the other hand, increasing the number of monitoring nodes above a number where a relatively low MLMF covers all links, is not necessary. This is because after this point, increasing the number of monitoring flow only increases the complexity of algorithm.

Fig. 10: Minimum MLMF to have full coverage

Fig. 10, represents the minimum MLMF that can cover all links versus the number of monitoring nodes. The higher the number of monitoring nodes, the lower the minimum of MLMF becomes. This happens because increasing the number of monitoring nodes, reduces the maximum distance of links from monitoring nodes. Consequently, with a lower MLMF, one can monitor the desired links in the network.

V-B Execution Time

The execution time of the proposed solution depends on two main components: PFS and DVC. In the following the execution time of these components is discussed. Fig. 11, depicts the execution time of PFS versus the maximum allowed length of probe flows. In this plot, five different scenarios of Abilene and RedIRIS topologies (by changing the number of monitoring nodes) are considered. Increasing the possible length of monitoring flows, increases the search space for the algorithm, therefore, increasing the max length of routes increases execution time. On the other hand, increasing the number of monitoring nodes, increases the number of possible combination of monitoring flows. Again, this increases the search area and consequently increases the execution time. It should be considered that decreasing the number of monitoring nodes, may end up to increase the Maximum Length of Monitoring Flows (MLMF). Otherwise, some links will not be covered in the measurement. The execution time of PFS in RedIRIS is significantly higher than Abilene. This happens because the number of nodes in RedIRIS is dramatically higher than Abilene which makes the search space bigger. It should be mentioned that this part is an offline and one-time part. This means that we need to run PFS just once and before starting the measurement. Besides, this algorithm is capable of being fully paralleled which makes it significantly faster.

Fig. 11: Execution Time of PFS (a portion of the Offline part)

Fig. 12 represents the execution time of DVC versus the maximum length of monitoring flows (MLMF). Similar to Fig. 11, five different scenarios are considered. In this plot, some lines start from the middle of x-axis meaning that the algorithm could not cover all links with an MLMF less than that point. For example, the line showing ”2 Monitoring nodes” starts from x=10, this means that at least MLMF should be 10 to cover all links with only 2 monitoring nodes. Since the number of flows is always kept below a threshold, the execution time of DVC is almost the same for different values of MLMF. On the other hand, it is linearly related to the number of investigated links, i.e., the number of routing nodes and the topology.

Fig. 12: Execution Time of DVC (a portion of the online part)

To conclude this sub-section, we have plotted the total offline and online execution times for both Abilene and RedIRIS in Figures 13 and 14. The offline part is composed of one-off algorithms that are required to be executed before starting the measurement. PFS and rule enforcement in Traffic Generator are located in this category. On the other hand, online algorithms should be running continuously to have a real-time LDV measurement. The execution time of the offline part does not impact the measurement time-gap with the real state of links. There are two main players in the online part of the proposed solution: DVC and Traffic Generator (TG). The majority of time spent in online part is dedicated to TG. This happens because our TG implementation is sequential and blocking. Therefore, the execution time of TG can be reduced significantly by parallelizing probes generation.

Fig. 13: The total execution time of offline parts.
Fig. 14: The total execution time of online parts.

V-C Monitoring accuracy and error

In this subsection, the monitoring accuracy and the corresponding error is discussed. Fig. 15, shows the summation of all link delay errors versus MLMF for a different number of monitoring nodes. Some lines do not appear from the beginning of x-axis. This means that before that point, the algorithm could not fully cover all links, i.e., some links are not monitored. This is directly related to the relation of MLMF and number of monitoring nodes. With a low MLMF value, a higher number of monitoring flows should be used to cover all links. On the other hand, increasing the number of monitoring nodes decreases the overall error but in the cost of increasing the monitoring cost (resources).

Fig. 15: Average of all link errors.

Similarly, Fig. 16 presents maximum error among all monitored links versus MLMF considering different number of monitoring nodes. Although increasing MLMF decreases the error, the impact is not significant. To understand this, we should mention that increasing the length of monitoring flows may end up to a higher error rate, however, MLMF is not the length of monitoring flows but the maximum length of monitoring flows. In other words, if MLMF is four then monitoring flows with a length of one, two, three, or four are acceptable. Therefore, increasing MLMF does not increase the error, however, since using a higher length of monitoring flows may end up to a higher measuring error, the impact of increasing MLMF on error rate is not significant.

Fig. 16: Max error per link.

Fig. 17, provides a closer look to per-link delay accuracy with a different number of monitoring flows. Fig. 16(a) shows the measured delay using 1-5 monitoring nodes versus the delay configured in Mininet for every link. As discussed earlier, the higher the number of monitoring nodes, the better the measurement. It is worth mentioning that although the accuracy of one-monitoring node scenario is higher than the accuracy of two-monitoring nodes scenario in some links, the overall accuracy of two-monitoring nodes is higher. In Fig. 16(b), measurement accuracy for RedIRIS takes the same pattern as it has for Abilene.

(a) Abilene.
(b) RedIRIS.
Fig. 17: Link delay configured in Mininet versus measured link delay.

Fig. 18 shows the average measurement errors versus the number of monitoring nodes. As the number of monitoring nodes increases the average error is decreases. This happens because the accessibility to different parts of the network increases. In other words, when there is a few number of monitoring nodes, PFS cannot define enough monitoring flows.

Fig. 18: Impact of the number of monitoring nodes on the link delay error (MLMF=11)

V-D Networking Overhead

In order to route monitoring flows, we need to push rules into the switches. Since the length of the switch flow-table is limited, the number of different flows (which impact the number of pushed rules) can be considered as a metric to measure the monitoring overhead. Fig. 19 depicts the number of monitoring flows versus MLMF for different number of monitoring nodes.

Fig. 19: Monitoring Overhead - Number of monitoring flows

When the number of monitoring nodes increases, the number of monitoring flows increases as well ending up with an increment in the monitoring overhead increases. Similarly, increasing MLMF increases the number of monitoring flows and consequently the monitoring overhead. It is worth mentioning that increasing MLMF beyond a threshold does not impact the overhead. This threshold is the maximum distance between each pair of switches. This happens because beyond that point, increasing the length of monitoring flows causes unwanted loop in the route, therefore, those flows will not be considered. Finally, fig. 20 represent the network overhead of the proposed monitoring solution. In this plot, the average number of monitoring rules per switch versus the number of monitoring nodes are represented using left y-axis while the right y-axis shows the percentage of monitoring rules over the total capacity of the switches. Increasing the number of monitoring flows increases the network overhead, however, the percentage of the monitoring rules over the total capacity of the switch in the worse case is for Abilene and for RedIRIS which is negligible.

Fig. 20: Monitoring Overhead - Average number of rules per switch, MLMF=11


This work has received funding from the EPSRC project EARL. Moreover, the work has received funding from the Cisco University Research Program Fund.

Vi Conclusion and Future Works

In this paper, we proposed an active network monitoring architecture to measure overall link delay including both queuing and propagation delays. In this way, we inject several monitoring-flows into the network and by measuring the end-to-end delay of these flows, link delay information is inferred. To tackle the complexity, the problem is broken down into two sub-problems. Thereafter, we mathematically formulated the sub-problems and proposed two light-weight heuristic algorithms to efficiently solve the proposed problems. Simulation results support that the solution is accurate and can be used for real-world scenarios. In the proposed solution, it is considered that the monitoring nodes are predefined. Future works would be dedicated to propose a solution on monitoring nodes placement. Another field of interest is extending the solution to support Segment Routing technology.