# Patent

## Title
Method and apparatus for estimating delay and jitter between many network routers using measurements between a preferred set of routers

## Abstract

A method and apparatus for determining a network performance metric in a network is described. The network includes a number of network elements and a number of links. Each of the network elements is coupled to at least one other of the network elements by at least one of the links. The method includes forming a first set of network element pairs, ordering a first number of network element pairs, forming a second set of network element pairs, measuring a measured network performance metric between a first network element pair and computing a computed network performance metric. The first set of network element pairs include a number of pairs of the network elements. The ordering of a first number of network element pairs includes network element pairs in the first set of network element pairs. The second set of network element pairs includes network element pairs in the first set of network element pairs. The measurement is taken between a first network element pair. The first network element pair includes a first network element and a second network element of one of the network element pairs in the second set of network element pairs. The computed network performance metric is computed between a second network element pair using the measured network performance metric. The second network element pair includes a first network element and a second network element of the network element pair in the first set of network element pairs.

## Background
CROSS-REFERENCES TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 09/638,180, entitled “Method and Apparatus for Estimating Delay and Jitter Between Many Network Routers Using Measurements Between a Preferred Set of Routers”, filed Jul. 31, 2000, and naming Bijendra N. Jain; Keith McCloghrie as inventors, issued as U.S. Pat. No. 6,912,203.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to computer networks, and, more particularly, to a method and apparatus for estimating a network performance metric, such as delay and delay-jitter (jitter), between a collection of pairs of network elements (e.g., routers) in a network.
2. Description of the Related Art
As computer networks grow, in terms of the number of network elements (e.g., routers) contained therein, the measurement of network performance metrics becomes of increasing importance. By measuring such metrics, network parameters can be tuned in order to provide optimal performance. Moreover, the network's architecture can be adjusted and growth planned to allow the network to grow in a controllable fashion. One such metric is the delay experienced by data packets flowing between certain of a network's routers (i.e., travel time between the routers). Another is the jitter, or deviation in delay, experienced by such data packets. Thus, there is a growing need to continuously monitor network delay and jitter between multiple pairs of routers in a network such as an enterprise or service-provider network. In service-provider networks, particularly, such performance monitoring is needed in order to verify service-level agreements between a service provider and customers.
Unfortunately, current methods of monitoring are not as useful as might be desired. For example, one current method for monitoring network delay and jitter requires the measurement of delay and jitter between every specified pair of routers by exchanging probe packets between routers. As will be apparent to one of skill in the art, the number of pairs of routers that need to be monitored in such a scenario grows as a quadratic of N, where N is the number of network routers making up the network. Thus, such a measurement technique involves measurements on the order of N2 (O(N2)).
Once generated, the measurement data is collected and processed. The measurement data can then be made available to other applications, such as for the tuning of network parameters and the like. As can be seen from the complexity of the technique (O(N2)), this measurement scheme does not scale well in large networks as the number of specified pairs of routers to be monitored increases dramatically. In such cases, the resulting network traffic due to probe packets can be large and, therefore, unsustainable as a result of the bandwidth consumed thereby.
This problem of scalability may be further compounded by the fact that networks being deployed are diff-serv (DS) enabled. In such cases, delay and jitter characteristics must be monitored for every DS-codepoint in use in the network. Diff-serv enabled networks offer a range of data transfer services that are differentiated on the basis of performance experienced by packets belonging to a particular aggregated set of applications or flows. An application requests a specific level of performance on a packet-by-packet basis, by marking the type-of-service (ToS) field in each IP packet with a specific value, also called DS-codepoint. This value effectively specifies how an enterprise network or a service provider network processes and forwards each packet along each hop in the network.
Moreover, it is often important which routers and links are involved in the measurements that are made. For example, it is usually preferable to make the necessary measurements from a smaller number of routers. This simplifies the administration of the network measurement tools because there are fewer installations, and fewer instances of the tools to run. Additionally, it is often desirable to avoid sending measurement traffic over already-congested links. Preferably, such traffic is sent over links having at least a modicum of excess bandwidth, so as not to interfere with actual network traffic. Meeting these and other such objectives simplifies network administration by minimizing the need for user interaction and a network's administrative burden.
What is therefore needed is a method and apparatus for the measurement of delays encountered by network traffic in traversing a network, the complexity of which preferably grows at a rate less than O(N2). More preferably, the complexity of the measurement scheme should grow at a rate that increases at most linearly with the number of network routers (designated herein as N) and the number of network links (designated herein as M). Moreover, such a technique should address the situation in which an operator desires some modicum of control over the nodes and links over which measurements are made.
SUMMARY OF THE INVENTION
The present invention, in various embodiments, addresses the aforementioned problems by providing techniques for measuring network performance metrics, such as delay encountered between nodes in a network, and delay-jitter (jitter) observed therein. Advantageously, embodiments of the present invention allow such measurements to be made between preferred nodes of the network, without generating excessive network traffic, and are capable of accounting for delays both between nodes (the delay over inter-node links) and within nodes. Also advantageously, embodiments of the present invention are less demanding from a measurement perspective, being on the order of N+M (O(N+M)).
A delay measurement technique according to an embodiment of the present invention is based on the precept, ascertained by the inventors, that a link between network nodes will often contribute to the delay encountered between several different pairs of network nodes. Such a technique identifies the path between each pair of nodes by a list of links that form the path. Paths that are orthogonal are treated as being necessary for determining the delays encountered between nodes. Once delay and jitter over the requisite set of orthogonal paths have been measured, delay over all other paths can be determined in terms of the delay and jitter encountered over one or more of these orthogonal paths. Such a technique also lends itself to a vector/matrix representation of delay and jitter over the paths, and the use of matrix manipulation techniques in deriving delay and jitter.
The techniques described herein provide several advantages. Such techniques permit a network operator some measure of control over the network elements and network links involved in the measurements taken by such a procedure, allowing the operator to minimize the number of network elements involved, traffic over congested links and so on. These techniques also address the fundamental concern of a measurement scheme's scalability in monitoring delay and jitter in increasingly large networks, with known or partly known topology and routing. The techniques result in a significant reduction in traffic overhead due to exchange of probe packets when compared to existing techniques. The savings can be especially significant in networks having a large requirements set. Further, in a network employing TCP/IP protocols, the methods described herein separately-accounts for IP-level transfer delay over a link and the delay in processing probe packets within a router (i.e., the delay experienced in generating and/or receiving such packets), thereby helping to isolate and identify links that are over or under provisioned. Simplicity and ease of implementation are also attractive features of a technique according to the present invention.
In one embodiment of the present invention, a method of determining a network performance metric in a network is described. The network includes a number of network elements and a number of links. Each of the network elements is coupled to at least one other of the network elements by at least one of the links. The method includes forming a first set of network element pairs, ordering a first number of network element pairs, forming a second set of network element pairs, measuring a measured network performance metric between a first network element pair and computing a computed network performance metric. The first set of network element pairs include a number of pairs of the network elements. The ordering of a first number of network element pairs includes network element pairs in the first set of network element pairs. The second set of network element pairs includes network element pairs in the first set of network element pairs. The measurement is taken between a first network element pair. The first network element pair includes a first network element and a second network element of one of the network element pairs in the second set of network element pairs. The computed network performance metric is computed between a second network element pair using the measured network performance metric. The second network element pair includes a first network element and a second network element of the network element pair in the first set of network element pairs.
The foregoing is a summary and thus contains, by necessity, simplifications, generalizations and omissions of detail; consequently, those skilled in the art will appreciate that the summary is illustrative only and is not intended to be in any way limiting. As will also be apparent to one of skill in the art, the operations disclosed herein may be implemented in a number of ways, and such changes and modifications may be made without departing from this invention and its broader aspects. Other aspects, inventive features, and advantages of the present invention, as defined solely by the claims, will become apparent in the non-limiting detailed description set forth below.



BRIEF DESCRIPTION OF THE DRAWINGS
The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
FIG. 1A is a block diagram illustrating a computer system.
FIG. 1B is a block diagram illustrating the various sources of delay encountered by network traffic transiting a network.
FIG. 2 is a block diagram depicting a network in which a delay measurement technique according to an embodiment of the present invention can be practiced.
FIG. 3 is a flow diagram illustrating a process for computing the round-trip delay between pairs of routers according to the present invention.
FIG. 4 is a flow diagram illustrating a scheme according to the present invention for ordering router pairs in a requirements set.
FIG. 5 is a flow diagram illustrating a method according to the present invention for identifying a preferred measurements set.
FIG. 6 is a block diagram illustrating an exemplary enterprise network in which a method according to an embodiment of the present invention can be practiced.



The use of the same reference symbols in different drawings indicates similar or identical items.
DETAILED DESCRIPTION OF THE INVENTION
The following is intended to provide a detailed description of an example of the invention and should not be taken to be limiting of the invention itself. Rather, any number of variations may fall within the scope of the invention which is defined in the claims following the description.
Introduction
Embodiments of the measurement techniques described herein address the central issue of scalability. These methods allow (a) network performance metrics, such as delay and jitter, to be measured between a significantly smaller subset of pairs of routers, and (b) the corresponding metrics for the remaining specified pairs of routers to be computed based on these measurements. These methods include (a) the identification of network paths for which measurements must be undertaken, and (b) the computation of the metrics for the remaining specified pairs of routers for which measurements are not taken. Advantageously, the present invention allows control over which routers and links such measurements are taken.
A measurement scheme according to the present invention employs a measurements set and a requirements set, which are defined herein as follows:

    
    
        1. The “requirements set” is defined herein as the specified collection of pairs of routers for which delay and jitter metrics are to be obtained.
        2. The “measurements set” is defined herein as the set of router pairs for which delay/jitter measurements are to be taken. A fundamental property of the measurements set is that, based on measurements thus obtained, one can accurately compute (estimate) delay/jitter metrics for router pairs specified in the requirements set.
    
    


The methods described herein are based on a technique that divides the end-router-to-end-router path in terms of processing delay within the source and destination routers and the IP-level transfer delay over intermediate link(s) (and router(s), if any) in the network path between the pair of end-routers. Moreover, techniques according to embodiments of the present invention can also be used in scenarios in which the internal topology of the network being analyzed is partly unknown. Central to these concepts is (a) the identification of a minimal measurements set from a given requirements set and (b) the estimation of delay and jitter for pairs of routers in the requirements set. It will be noted that, although the techniques disclosed herein are generally applicable to various network protocols and topologies, these techniques are discussed herein in terms of TCP/IP protocols.
Depending upon the order in which the pairs of routers in the requirements set (Φ) are listed and processed, one of many possible measurements sets can result. The set of router pairs between which measurements should be made is thus dependent (at least in part) on the ordering of the requirements set. The specific measurements set (Ω) sought is one that requires measurements to be made between one or more preferred set of router pairs. For example, in a given network, a requirements set will contain a given assemblage of router pairs. For the given requirements set, there will be a set of router pairs that, once delay and delay-jitter are measured between those routers, allow delays between other router pairs to be computed (estimated). These router pairs make up the measurements set.
However, the ordering of router pairs in the requirements set affects the determination of pairs of routers in the measurements set. Typically, the router pairs in the requirements set can be ordered in any number of ways. However, it is often desirable to control which router pairs are in the measurements set. The inventors discovered that the router pairs in the measurements set can be controlled by altering the ordering of router pairs in the requirements set. This ability to control which router pairs are in the measurements set is desirable because such control can allow an operator to minimize the number of routers on which active network monitoring tools (ANMTs) must be run (or links over which measurement traffic must travel), to minimize measurement traffic over critical links and to avoid the need to run ANMTs on critical or over-stressed routers, among numerous other advantages.
To provide such advantages, a measurement scheme according to the present invention identifies the measurements set from a given requirements set by:

    
    
        1. Specifying the sequence of routers, in decreasing priority, from which measurements are initiated.
        2. Expressing delay between each pair of routers in the requirements set, Φ, as a linear function of delay components and constructing the matrix F.
        3. Using Gauss elimination (or another equivalent thereof) to decompose matrix F into a lower-triangular matrix A and an upper-triangular matrix F′, till all independent row vectors of F have been identified.
        4. Using the non-zero row vectors in F′ to determine the measurements set, Ω.

The matrix F′ identifies the independent row vectors, while matrix A allows a dependent row of F to be expressed in terms of the independent rows of F. Pairs of routers that correspond to the independent rows of F directly help one to determine the measurements set, Ω.

    
    


Other than resulting in considerably reduced network traffic due to probe packets, a monitoring scheme based on the present invention enables one to compute (estimate) the IP-level transfer delay over each router-to-router link in the network. Such an estimate factors out the delay in processing (generating/receiving) probe packets within a router. This is desirable because the delay in processing probe packets can be significant as a result of probes being generated and received within the application layer. It will be apparent to one skilled in the art that an assessment of IP-level transfer delay over each link assists a network administrator in identifying congested links in a functioning network.
The methods described above are applicable to networks for which (a) topology and routing information is available, and (b) changes in topology and routing are infrequent. These methods may also be extended to apply to networks that are built around a network backbone, the topology and routing of which are unknown. Such a method directly provides a measurements set and a scheme for estimating delay and jitter between the routers on such a network. As a result, one is also able to apportion the delay-components between the enterprise network and the backbone network.
The techniques described herein provide several advantages. Chief among them is the ability to control, to the extent feasible, which routers and links are involved in actual measurements. Moreover, these techniques address the fundamental concern of a measurement scheme's scalability in monitoring delay and jitter in increasingly large networks, with known or partly known topology and routing. The techniques result in a significant reduction in network traffic overhead due to exchange of probe packets when compared to existing techniques. The savings can be especially significant in networks having a large requirements set. Further, the methods described herein separately account for IP-level transfer delay over a link and the delay in processing probe packets within a router (i.e., the delay experienced in generating and/or receiving such packets), thereby helping to isolate and identify links that are over or under provisioned. Simplicity and ease of implementation are also attractive feature of these techniques.
Measurements Using a Preferred Measurements Set
An active network monitoring tool (referred to generically herein as an ANMT) can be used to measure round-trip delay, delay variation (jitter) and packet loss between a specified set of pairs of routers (or a network switch with a router switch module or an attached one-arm router) in a large diff-serv enabled enterprise network. By design, ANMT software running as an application on a router (e.g., a source router), sends a sequence of user datagram protocol (UDP) packets (also known as probe packets) to a specified port on a remote device (e.g., a destination router). Based on information contained in UDP responses received from the destination, the ANMT software running on the source router computes various statistics, such as average round-trip delay, standard deviation of delay jitter, and average fraction of packets dropped. An ANMT may also be used to test TCP-level connectivity or to estimate one-way packet loss and delay-variation. Additionally, an ANMT allows monitoring of performance between devices in a network which offers differentiated services.
A method according to one embodiment of the present invention permits the use of a network measurement tool (e.g., an ANMT) to measure round-trip delay and jitter between a much smaller subset of pairs of routers (represented herein by the notation Ω), in order to estimate delay and jitter between pairs of routers in a specified set (represented herein by the notation Φ). This subset Ω includes at most (N+M) pairs of routers, where N is the number of enterprise routers, and M is the number of links. This is a significant improvement over the complexity of measuring delay between every pair of routers in the set Φ using a tool such as an ANMT. It will be noted that the number of pairs of routers in Φ may be as large as N(N+1)/2, or O(N2). Second, the techniques discussed herein recognize that delay encountered in generating, receiving and processing probe packets within the transport and application layers in a router may be significant.
FIG. 1A depicts a block diagram of a computer system 10 suitable for implementing the present invention. Computer system 10 includes a bus 12 which interconnects major subsystems of computer system 10 such as a central processor 14, a system memory 16 (typically RAM, but which may also include ROM, flash RAM, or the like), an input/output controller 18, an external audio device such as a speaker system 20 via an audio output interface 22, an external device such as a display screen 24 via display adapter 26, serial ports 28 and 30, a keyboard 32 (interfaced with a keyboard controller 33), a storage interface 34, a floppy disk drive 36 operative to receive a floppy disk 38, and a CD-ROM drive 40 operative to receive a CD-ROM 42. Also included are a mouse 46 (or other point-and-click device, coupled to bus 12 via serial port 28), a modem 47 (coupled to bus 12 via serial port 30) and a network interface 48 (coupled directly to bus 12).
Bus 12 allows data communication between central processor 14 and system memory 16, which may include both read only memory (ROM) or flash memory (neither shown), and random access memory (RAM) (not shown), as previously noted. The RAM is generally the main memory into which the operating system and application programs are loaded and typically affords at least 16 megabytes of memory space. The ROM or flash memory may contain, among other code, the Basic Input-Output system (BIOS) which controls basic hardware operation such as the interaction with peripheral components. Applications resident with computer system 10 are generally stored on and accessed via a computer readable medium, such as a hard disk drive (e.g., fixed disk 44), an optical drive (e.g., CD-ROM drive 40), floppy disk unit 36 or other storage medium. Additionally, applications may be in the form of electronic signals modulated in accordance with the application and data communication technology when accessed via network modem 47 or interface 48.
Storage interface 34, as with the other storage interfaces of computer system 10, may connect to a standard computer readable medium for storage and/or retrieval of information, such as a fixed disk drive 44. Fixed disk drive 44 may be a part of computer system 10 or may be separate and accessed through other interface systems. Many other devices can be connected such as a mouse 46 connected to bus 12 via serial port 28, a modem 47 connected to bus 12 via serial port 30 and a network interface 48 connected directly to bus 12. Modem 47 may provide a direct connection to a remote server via a telephone link or to the Internet via an internet service provider (ISP). Network interface 48 may provide a direct connection to a remote server via a direct network link to the Internet via a POP (point of presence).
Many other devices or subsystems (not shown) may be connected in a similar manner. Conversely, it is not necessary for all of the devices shown in FIG. 1A to be present to practice the present invention. The devices and subsystems may be interconnected in different ways from that shown in FIG. 1A. The operation of a computer system such as that shown in FIG. 1A is readily known in the art and is not discussed in detail in this application. Code to implement the present invention may be operably disposed or stored in computer-readable storage media such as one or more of system memory 16, fixed disk 44, CD-ROM 42, or floppy disk 38.
It will be noted that the variable identifier “N” is used in several instances in FIG. 1A to more simply designate the final element of a series of related or similar elements. The repeated use of such variable identifiers is not meant to imply a correlation between the sizes of such series of elements, although such correlation may exist. The use of such variable identifiers does not require that each series of elements has the same number of elements as another series delimited by the same variable identifier. Rather, in each instance of use, the variable identified by “N” may hold the same or a different value than other instances of the same variable identifier.
Moreover, regarding the signals described herein, those skilled in the art will recognize that a signal may be directly transmitted from a first block to a second block, or a signal may be modified (e.g., amplified, attenuated, delayed, latched, buffered, inverted, filtered or otherwise modified) between the blocks. Although the signals of the above described embodiment are characterized as transmitted from one block to the next, other embodiments of the present invention may include modified signals in place of such directly transmitted signals as long as the informational and/or functional aspect of the signal is transmitted between blocks. To some extent, a signal input at a second block may be conceptualized as a second signal derived from a first signal output from a first block due to physical limitations of the circuitry involved (e.g., there will inevitably be some attenuation and delay). Therefore, as used herein, a second signal derived from a first signal includes the first signal or any modifications to the first signal, whether due to circuit limitations or due to passage through other circuit elements which do not change the informational and/or final functional aspect of the first signal.
The foregoing described embodiment wherein the different components are contained within different other components (e.g., the various elements shown as components of computer system 10). It is to be understood that such depicted architectures are merely exemplary, and that in fact many other architectures can be implemented which achieve the same functionality. In an abstract, but still definite sense, any arrangement of components to achieve the same functionality is effectively “associated” such that the desired functionality is achieved. Hence, any two components herein combined to achieve a particular functionality can be seen as “associated with” each other such that the desired functionality is achieved, irrespective of architectures or intermedial components. Likewise, any two components so associated can also be viewed as being “operably connected”, or “operably coupled”, to each other to achieve the desired functionality.
FIG. 1B depicts a block diagram illustrating the various sources of delay encountered by network traffic transiting a network 100. While a method according to an embodiment of the present invention may be practiced using any one of a number of protocols, FIG. 1B is illustrated in terms of a TCP/IP network protocol. Delay can be apportioned into monitor application response delay (exemplified in FIG. 1B by monitor application response delays 105 and 110) and network layer transfer delays (exemplified in FIG. 1B by network layer transfer delays 115(1)-(N)) over an (end-to-end) network path 120 between a source router 125 and a destination router 130. In transiting network 100, network path 120 may also transit one or more intermediate routers (exemplified in FIG. 1B by an intermediate router 135). Source router 125, intermediate router 135 and destination router 130 are also designated as R1, R2, and RN, indicating the progression of network traffic transiting network 100. In a TCP/IP environment such as that of network 100, monitor application delays 105 and 110 include, respectively, delays attributable to a network monitor 140, and transport layer 145, a transport layer 146 and a network monitor 141. In a similar fashion, network layer transfer delays 115(1)-(N) include delays attributable to moving IP packets through and between IP layers 150, 151 and 152, intermediate layers 155, 156 and 157, and physical layers 160, 161 and 162, in the manner shown in FIG. 1B. As can be seen in FIG. 1B, the two principle types of delay components contributing to the round-trip delay between a pair of routers such as source router 125 and destination router 130 when measured using an ANMT can be defined as:

    
    
        dj, j=1, 2, . . . , M, the round-trip IP-level delay in transferring an IP packet over a link, Lj, between two adjacent routers; and
        si, i=1, 2, . . . , N, the time to generate, receive and process a probe packet within transport and application layers in a router, Ri.

The symbols used herein in describing techniques according to various embodiments of the present invention for estimating round-trip delay and jitter between a specified set of pairs of routers are now presented.

    
    


FIG. 2 is a block diagram depicting a network 200 that illustrates the components of the delay existing between various pairs of routers that make up network 200. As is illustrated in FIG. 2, network 200 includes a number of routers (exemplified in FIG. 2 by routers 210(1)-(6)) which are coupled to one another by a number of interconnecting links (exemplified in FIG. 2 by links 220(1)-(9)). In order to facilitate the following discussions, routers 210(1)-(6) are also designated R1-R6, respectively. In similar fashion, links 220(1)-(9) are referred to using L1-L9, respectively. In the general sense, network 200 can be described as including N routers, Ri, i=1, 2, . . . , N, and M interconnecting links, Lj, j=1, 2, . . . , M. A route between a given pair of routers, πk=(Ri, Rj), is specified as an ordered list of intermediate links that network traffic between Ri and Rj traverses:

link_path(Ri,Rj)=<Lp,Lq, . . . , Lr>  (1)

That is, network traffic moving from source router Ri to destination router Rj traverse the links, Lp, Lq, . . . , and Lr in that order, and vice-versa, in the other direction.

For a given DS codepoint, the routes between routers, Ri and Rj, of network 200 are given in Table 1. It will be noted that the routes in Table 1 are specified for a given DS codepoint, and in terms of intermediate links.







TABLE 1







Routing table for network given in FIG. 2.














R1
R2
R3
R4
R5
R6



















R1
—
L1
L1, L2
L3
L3, L8
L3, L8, L9



R2

—
L2
L4
L5
L2, L7



R3


—
L6, L8
L6
L7



R4



—
L8
L8, L9



R5




—
L9



R6





—










As noted, the two principal types of delay components that contribute to the round-trip delay between a pair of routers when measured using an ANMT can be defined as dj, j=1, 2, . . . , M (the round-trip IP-level delay in transferring an IP packet over a link, Lj), and si, i=1, 2, . . . , N (the time to generate, receive and process a probe packet within transport and application layers in a router, Ri).
As a result, the round-trip delay between any given pair of routers, Ri and Rj, is given by:

Delay(Ri,Rj)=si+dp+dq+ . . . +dr+sj  (2)

assuming that the route between Ri and Rj is known and specified in terms of the intermediate links. That is,

link_path(Ri,Rj)=<Lp,Lq, . . . , Lr>  (3)

When used between routers, Ri and Rj, a delay monitoring tool such as an ANMT measures Delay(Ri, Rj). Such measurements may include measurement errors.

The requirements set and measurements set can now be defined using the framework set forth above.
The user-specified requirements set of P number of pairs of routers between which round-trip delay is to be measured is given by

Φ={πk,k=1,2, . . . , P}  (4)

where

πk=(Ri,Rj)  (5)

and so

Φ={(Ri,Rj),i,j=1,2, . . . , P}  (6)

Normally, the subset will only be a small fraction of all possible pairs of routers. As noted, because round-trip delay or jitter is monitored, it is immaterial whether the pair of routers is specified as πk=(Ri, Rj) or as πk=(Rj, Ri).

The estimate is based on measurements between a subset of pairs of routers (and indeed what can be a minimal subset of router pairs), which may be referred to by Ω. That is, for every (Ri, Rj)εΦ, the delay between the pair of routers (Ri, Rj) can be computed (or estimated) in terms of measured delay between one or more pairs of routers {(Rp, Rq)}εΩ. The set, Ω, is also referred to herein as the measurements set. A method according to the present invention identifies the measurements set, Ω, for a given requirements set, Φ.
Determination of the Measurements Set
A method according to an embodiment of the present invention is now described that is capable of identifying the collection of pairs of routers, or Ω, such that the delay between a given pair of routers (Ri, Rj)εΦ can be computed from measurements between a subset of pairs of routers (Rp, Rq,)εΩ.
If the number of pairs of routers in Φ is defined as P (or, P=|Φ|), the round-trip delay between the kth pair of routers, (Ri, Rj)εΦ is denoted by zk=Delay(Ri, Rj). In view of the definition of delay components, it can be seen that, for every k=1, 2, . . . , P:

zk=Delay(Ri,Rj)=si+dp+dq+ . . . +dr+sj  (7a)

assuming that the route between Ri and Rj is known and given by

link_path(Ri,Rj)=<Lp,Lq, . . . , Lr>  (7b)

Using a vector notation, zk=Delay(Ri, Rj) may be re-written as





  
    
      
        
          z
          k
        
        =
        
          Delay
          ⁡
          
            (
            
              
                R
                i
              
              ,
              
                R
                j
              
            
            )
          
        
      
    
    
      
        (
        
          7
          ⁢
          c
        
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          =
          
            
              s
              i
            
            +
            
              d
              p
            
            +
            
              d
              q
            
            +
            ...
            +
            
              d
              r
            
            +
            
              s
              j
            
          
        
      
    
    
      
        (
        
          7
          ⁢
          d
        
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          =
          
            
              F
              k
            
            ⁢
            
              
            
            ⁢
            x
          
        
      
    
    
      
        (
        
          7
          ⁢
          e
        
        )
      
    
  




where

Fk[=0 . . . 0 1 0 . . . 0 1 0 . . . 0 1 0 . . . 0 1 0 . . . 0 1 0 . . . 0]  (8)

is a row vector of size N+M, and the 1's in Fk appear in columns p, q, . . . , r, and in columns M+i and M+j; and

x is a vector of size N+M (the delay-components vector):




  
    
      
        
          
            
              x
              =
              
              ⁢
              
                [
                
                  d
                  1
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  d
                  2
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                ...
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  d
                  M
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  s
                  1
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  s
                  2
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                ...
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  s
                  N
                
                ]
              
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




As noted, the round-trip delay between the specified pairs of routers in φ={πk=(Ri, Rj), k=1, 2, . . . , P}, zk=Fkx and k=1, 2, . . . , P, can be re-written as a vector equation




  
    
      
        z
        =
        
          F
          ⁢
          
            
          
          ⁢
          x
        
      
    
    
      
        (
        
          10
          ⁢
          a
        
        )
      
    
  
  
    
      where
    
    
      
        
      
    
  
  
    
      
        
          
            
              z
              =
              
              ⁢
              
                [
                
                  z
                  1
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  z
                  2
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                ...
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  z
                  P
                
                ]
              
            
          
        
      
    
    
      
        (
        
          10
          ⁢
          b
        
        )
      
    
  
  
    
      and
    
    
      
        
      
    
  
  
    
      
        
          
            
              F
              =
              
              ⁢
              
                [
                
                  F
                  1
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  F
                  2
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                ...
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  F
                  P
                
                ]
              
            
          
        
      
    
    
      
        (
        
          10
          ⁢
          c
        
        )
      
    
  




The P×(N+M) matrix, F, plays an important role in determining the subset of pairs of routers between which delay measurements are necessary.

Consider the row vectors, Fk, k=1, 2, . . . , P and let Q be the maximum number of independent row vectors. As can be seen, Q is equal to the rank of Matrix F (i.e., Rank(F)). Without loss of generality, let F1F2 . . . FQ be the independent row vectors of matrix F. This is without loss of generality because the row vectors Fk in F (and similarly the corresponding pairs of routers in Φ) can be re-arranged, if necessary. Then, every row vector Fk, k=Q+1, Q+2, . . . , P, can be expressed as a linear combination of row vectors, Fk, k=1, 2, . . . , Q.
The relationship between the linearly independent and linearly dependent rows of F is now examined. If F1, F2, . . . , FQ is a maximal set of linearly independent rows of F, then row vectors FQ+1, FQ+2, . . . , FP can be expressed as a linear combination of F1, F2, . . . , FQ. In other words, Fk can be expressed in terms of:

Fk=Σi=1, . . . , Q(αk,iFi), k=Q+1,Q+2, . . . , P  (11)

The constants αk,i may be re-organized in the form of a row vector (of size Q) in the following manner:

αk=[αk,1,αk,2, . . . , αk,Q], k=Q+1,Q+2, . . . , P  (12)

The values of αK may be aggregated to form the P×Q matrix, A, which can be defined as:





  
    
      
        
          
            
              A
              =
              
              ⁢
              
                [
                I
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  α
                  
                    Q
                    +
                    1
                  
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  α
                  
                    Q
                    +
                    2
                  
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                ...
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  α
                  P
                
                ]
              
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




where the matrix, I, is a Q×Q matrix.

Because delay (zk) is a random variable, delay-jitter between pair of routers (πk=(Ri, Rj) can, be defined as follows:

Delay-Jitter(Ri,Rj)=√{(zk−E{zk})2}  (14)

where E{.} is the expectation operation.

A measurements set can be defined as the set of Q number of pairs of routers between which a network administrator uses an ANMT to measure round-trip delay, and is given by

Ω={π′k=(Ri,Rj), k=1,2, . . . , Q}  (15)

Router-to-router delay and delay-jitter is measured for the measurements set using an ANMT. When used between a pair of routers, πk=(Ri, Rj), an ANMT measures Delay(Ri, Rj) to yield

yk=zk+vk  (16a)

Using an ANMT, one typically makes several measurements, yki, during the time interval (t0, t0+dt), and returns the statistical average,

yk=statistical_avg(yki)  (16b)

as well as the observed standard deviation

γk=√statistical_avg((yk−yki)2)  (16c)

The above delay and delay-jitter measurements may be organized in the form of a vector, y, of size Q:





  
    
      
        
          
            
              y
              =
              
              ⁢
              
                [
                
                  y
                  1
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  y
                  2
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                ...
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  y
                  Q
                
                ]
              
            
          
        
      
    
    
      
        (
        17
        )
      
    
  




and a matrix, Γ, of size Q×Q:





  
    
      
        
          
            
              Γ
              =
              
              ⁢
              
                [
                
                  
                    
                      
                        γ
                        1
                      
                    
                    
                      0
                    
                    
                      0
                    
                    
                      ...
                    
                    
                      0
                    
                  
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  
                    
                      0
                    
                    
                      
                        γ
                        2
                      
                    
                    
                      0
                    
                    
                      ...
                    
                    
                      0
                    
                  
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  
                    
                      ...
                    
                    
                      
                        
                      
                    
                    
                      
                        
                      
                    
                    
                      
                        
                      
                    
                    
                      
                        
                      
                    
                    
                      
                        
                      
                    
                  
                
                ]
              
            
          
        
        
          
            
              
              ⁢
              
                [
                
                  
                    
                      0
                    
                    
                      0
                    
                    
                      ...
                    
                    
                      0
                    
                    
                      
                        γ
                        Q
                      
                    
                  
                
                ]
              
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




Estimates can then be made for router pairs in the requirements set, Φ. The delay estimate vector, Δ, is then calculated. More specifically, an estimate of delay between the pair of routers, πk=(Ri, Rj)εΦ, is denoted by Δk. The vector, Δ, of size P, denotes an estimate of delay for all pairs of routers in Φ.

An estimate of delay-jitter between the pair of routers, πk=(Ri, Rj)εΦ, is denoted by σk. The vector, σ, of size P, denotes an estimate of delay-jitter for all pairs of routers in Φ.
In regard to a measurement method according to certain embodiments of the present invention, certain assumptions concerning the network being analyzed are now summarized. The network is assumed to have the following characteristics:

    
    
        For the embodiments discussed above, it is assumed that the network's topology is known. It will be noted that, because a route between a pair of routers is specified in terms of links, there is no constraint on the existence of parallel links between a pair of enterprise routers.
        Further, it is preferable that the topology not change frequently. If the topology of the network changes, then the procedure described herein should be carried out afresh.
        For each DS codepoint, the route between every pair of enterprise routers should be known.
        The route between every pair of enterprise routers for a given DS codepoint is symmetric.
        The delay and jitter characteristics between a pair of routers may be different in the two directions.
    
    


In other words, certain of the procedures described herein are preferably used together with techniques that monitor changes in topology and in routing. Once a change in topology or in routing is detected by these techniques, the method according to an embodiment of the present invention should be performed once again.
As a consequence of the foregoing manipulations, certain results can be deduced. As outlined below, these results include:

    
    
        1. the fact that, for every (Ri, Rj)εΦ, Delay(Ri, Rj) can be expressed as a linear combination of one or more Delay(Rp, Rq) (Rp, Rq)εΩ; and
        2. the fact that the number of router-to-router delay measurements required to estimate delay between an arbitrarily specified subset of pairs of routers is at most M+N.

These results are set forth in detail below.

First Result

    
    


The first result is determined as follows. Consider the matrix F=[F1F2 . . . FP]T, corresponding to the given set of router pairs in the requirements set, Φ. Then, the minimal subset of pairs of routers, Ω, between which delay must be measured is given by the collection of all pairs of routers, (Rp, Rq), that correspond to the maximal set of independent rows of F, with respect to {Fk, k=1, 2, . . . , Q}. In other words, the measurements set can be represented as:

Ω={(Rp,Rq), such that Delay(Rp,Rq)=Fkx,k=1,2, . . . , Q}  (19)

As a consequence, for every (Ri, Rj)εΦ, Delay(Ri, Rj) can be expressed as a linear combination of one or more Delay(Rp, Rq), where (Rp, Rq)εΩ.

The above result is illustrated by the following example. Consider the network of FIG. 2, where N=6, M=9. If the requirements set, Φ={(R3, R4) (R3, R5) (R4 R6) (R5, R6)}, then from routing table given in Table 1 for a given DS codepoint:

z1=Delay(R3,R4)=s3+d6+d8+s4  (20a)

z2=Delay(R3,R5)=s3+d6+s5  (20b)

z3=Delay(R4,R6)=s4+d8+d9+s6  (20c)

z4=Delay(R5,R6)=s5+d9+s6  (20d)

That is,

z=[z1z2z3z4]T=Fx  (20e)

where

x=[d1,d2, . . . , d9,s1,s2, . . . , s6]T  (21)

The F matrix is a 4×15 matrix of the form:




























D1
D2
D3
D4
D5
D6
D7
D8
D9
S1
S2
S3
S4
S5
S6































z1





1

1



1
1




z2





1





1

1


z3







1
1



1

1


z4








1




1
1









It is verified subsequently herein that Rank(F)=3, and that z2, z3 and z4 are independent row vectors, and that z1=z2+z3−z4. Thus, the measurements set, Ω={(R3, R5), (R4 R6), (R5, R6)}.

Using a different requirements set for network 200, if




  
    
      
        Φ
        =
        
          {
          
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  4
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  4
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  5
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  6
                
              
              )
            
          
          }
        
      
    
    
      
        (
        22
        )
      
    
  




the resulting matrix F is




























D1
D2
D3
D4
D5
D6
D7
D8
D9
S1
S2
S3
S4
S5
S6































z1
1








1
1






z2

1








1
1


z3


1






1


1


z4



1






1

1


z5




1





1


1


z6





1





1

1


z7






1




1


1


z8







1




1
1


z9








1




1
1


z10
1
1







1

1


z11

1




1



1



1


z12


1




1

1



1


z13







1
1



1

1


z14


1




1
1
1




1









It can be shown that the matrix F has rank 13, and that the first 13 rows of F are independent. Further, z14=z12+z13−z8. Thus Ω={(R1, R2), (R2, R3), (R1, R4), (R2, R4), (R2, R5), (R3, R5), (R3, R6), (R4, R5), (R5, R6), (R1, R3), (R2, R6), (R1, R5), (R4, R6)}. It will be noted that Ω is also the subset of measurements required to estimate the delay between an arbitrary pair of routers. The second result is now examined.
Second Result
The minimal subset of pairs of routers, between which delay should be measured, so that delay between every other pair of routers can be obtained, can also be determined. The number of router-to-router delay measurements required to estimate delay between an arbitrarily specified subset of pairs of routers is at most M+N. In other words:

Q=|Ω|=Rank(F)≦min(|Φ|,N+M)  (23)

This is so, because the matrix, F, is a |Φ|×(M+N), the rank of which, with respect to Q, is at most |Φ| or (M+N), whichever is smaller. The theoretical underpinnings of the foregoing results are now examined.

Theoretical Underpinnings of the Measurement Scheme

A measurement scheme according to certain embodiments of the present invention, as described herein, makes Q measurements between the collection of Q pairs of routers, specified by Ω. It will be noted that Q=|Ω|, and that Ω is the collection of pairs of routers, (Rp, Rq), that correspond to the maximal set of independent rows of F, with respect to {Fk, k=1, 2, . . . , Q} (i.e., the measurements set).
Network analysis agents (e.g., ANMTs) can be executed, for example, as transport applications in two routers, Ri and Rj, to measure round-trip delay and jitter between Ri and Rj. Such a measurement, denoted yk yields:

yk=Delay(Ri,Rj)+vk=si+dp+dq+ . . . +dr,sj+vk  (24)

It is assumed that the intermediate links between the two routers are Lp, Lq, . . . , Lr, that the measurement error is vk. As noted, processing delays encountered by probe packets within source and destination routers, Ri and Rj, respectively, are defined as si and sj, and dp, dq, . . . , dr are round-trip IP-layer transfer delays encountered by probe packets over intermediate links along the route

link_route(Ri,Rj)=<Lp,Lq, . . . , Lr>  (25)

The kth measurement, yk, k=1, 2, . . . , Q, of round-trip delay between the kth pair of routers, Ri and Rj, in Ω, may be re-written as:





  
    
      
        
          
            
              
                y
                k
              
              =
              
                
                  Delay
                  ⁡
                  
                    (
                    
                      
                        R
                        i
                      
                      ,
                      
                        R
                        j
                      
                    
                    )
                  
                
                +
                
                  v
                  k
                
              
            
          
        
        
          
            
              =
              
                
                  s
                  i
                
                +
                
                  d
                  p
                
                +
                
                  d
                  q
                
                +
                ...
                +
                
                  d
                  r
                
                +
                
                  s
                  j
                
                +
                
                  v
                  k
                
              
            
          
        
        
          
            
              =
              
                
                  
                    F
                    k
                  
                  ⁢
                  
                    
                  
                  ⁢
                  x
                
                +
                
                  v
                  k
                
              
            
          
        
      
    
    
      
        (
        26
        )
      
    
  




where the row vector (of size M+N)

Fk=[0 . . . 0 1 0 . . . 0 1 0 . . . 0 1 0 . . . 0 1 0 . . . 0]  (27)

and the 1's in Fk appear in columns p, q, . . . , r, and in columns M+i and M+j. The following can be defined:

y=[y1y2 . . . yQ]T  (28a)

x=[d1,d2, . . . , dM,s1,s2, . . . , sN]T  (28b)

v=[v1v2 . . . vQ]T  (28c)

where vector y, of size Q, represents the collection of measurements, vector x, of size M+N, is the collection of delay components and vector v, of size Q, is the measurement error in y. The measurements, yk, k=1, 2, . . . , Q, taken together, may now be re-written in the form of a vector equation

y=Hx+v  (29)

where the Q×(M+N) matrix H=[F1TF2T . . . FQT]T. Because the k measurements correspond to pairs of routers identified by Ω, the row vectors, Fk, k=1, 2, . . . , Q, are all independent. As a consequence, matrix H has full rank with respect to Q.

Consider, for example, the network given in FIG. 2, where N=6 and M=9. The routes between pairs of routers, Ri and Rj, are given in Table 1. Let Ω={(R3, R5) (R4 R6) (R5, R6)} be the specified subset of pairs between which delay is measured. From Table 1,

y1=Delay(R3,R5)+v1=s3+d6+s5+v1  (30a)

y2=Delay(R4,R6)+v2=s4+d8+d9+s6+v2  (30b)

y3=Delay(R5,R6)+v3=s5+d9+s6+v3  (30c)

That is,

y=Hx+v  (31)

where

y=[y1y2y3]T  (32a)

x=[d1,d2, . . . , d9,s1,s2, . . . , s6]T  (32b)

v=[v1v2v3]T  (32c)

and 3×15 matrix H is:




























D1
D2
D3
D4
D5
D6
D7
D8
D9
S1
S2
S3
S4
S5
S6































Y1





1





1

1



Y2







1
1



1

1


Y3








1




1
1









Calculating Delay within a Requirements Set Using a Measurements Set

In this section, a methodology for computing the round-trip delay between every pair of routers within a given requirements set, (Ri, Rj)εΦ, based on measurements between pairs of routers identified by the measurements set, Ω (a subset of the requirements set), is described. This approach is particularly useful when measurement errors are negligible.
As previously noted, the delay vector (z) corresponding to the requirements set is given by

z=Fx  (33)

while the measurement vector (y) corresponding to the measurements set is given by

y=Hx  (34)

where

H=[F1TF2T . . . FQT]T  (35)

Because {F1, F2, . . . , FQ} is the maximal set of independent rows of F, every row vector Fk can be expressed as a linear combination of F1, F2, . . . FQ.

As a result

z=Fx=A Hx  (36a)

where

A=[IαT]T  (36b)

and the row vectors αk, k=Q+1, Q+2, . . . P are used to express Fk in terms of F1, F2, . . . , FQ (as discussed above with regard to Equation (13)).

The following provides a technique for allowing the network's operator to control (at least to some extent) which routers and links are involved in the measurements thus taken.
A Preferred Measurements Set
Depending upon the order in which the pairs of routers in the requirements set (Φ) are listed and processed, one of many possible measurements sets can result. The set of router pairs between which measurements are made is dependent (at least in part) on the ordering of the requirements set. The specific measurements set sought is the one that requires measurements to be made between one or more preferred set of router pairs. For example, in a given network, and let

    
    
        Φ={(R1, R2), (R1, R3), (R1, R4), (R1, R5), (R1, R6), (R1, R7), (R2, R3), (R2, R4), (R2, R5), (R2, R6), (R2, R7), (R3, R4), (R3, R5), (R3, R6), (R3, R7)}

Given the option, an operator of such a network would prefer to use the measurement set:

        Ω1={(R1, R2), (R1, R3), (R1, R4), (R1, R5), (R1, R6), (R1, R7), (R4, R2)}

instead of

        Ω2={(R1, R2), (R1, R3), (R1, R5), (R1, R6), (R1, R7), (R2, R7), (R3, R4)}

because the former set, Ω1, requires that measurements be initiated from R1 and R2 only, while the latter, Ω2, requires that measurements be initiated from R1, R2, and R3. The former measurements set is thus referred to herein as a preferred measurements set, although such a measurements set can be referred to as a measurements set for the sake of simplicity.

A General Procedure for Employing an Ordered Measurements Set in Determining Delay for a Requirements Set

    
    


A procedure to deterministically compute the round-trip delay between pairs of routers, given by Φ, from measured round-trip delay between the Q number of ordered pairs of routers, identified by Ω, can be defined using the preceding results. As can be seen, the computed round-trip delay, Δ, between the P pairs of routers in Φ is given by

Δ=Ay  (37)

where yk, k=1, . . . , Q, are delay measurements between the Q pairs of routers in Ω, and Δj, j=1, 2, . . . , P, are delay between the P pairs of routers in Φ.

FIG. 3 illustrates a process of deterministically computing the round-trip delay between preferred pairs of routers. The process begins with the specification of the requirement set (step 300). Next, the router pairs in the requirements set are ordered in order to effect the operator's desires as to the ordering of the preferred measurements set (step 310). Delay components are then determined, and the delay components vector (x) constructed (step 320). Next, the F matrix is determined from the given requirements set and routing table (step 330). Once the F and x matrices have been constructed, the preferred measurements set, the F matrix's rank (Q) and the A matrix are calculated by performing the procedure preferred_measurements_set (step 340).
Preferred_measurements_set performs functions such as determining the maximal set of independent rows of F, viz. F1, F2, . . . , FQ, in part by determining the rank of F (denoted herein by Q); constructing the A matrix by determining ακ=[ακ,1, ακ,2, . . . , ακ,Q], such that Fκ=Σi=1, . . . , Q(ακ,i Fi); and determining the preferred measurements set, Ω. Once the preferred measurements set is thus constructed, average round-trip delay, yk, and delay-jitter, γk, are measured between the pair of routers, πk(Ri, Rj), k=1, 2, . . . , Q, using a network management tool (e.g., ANMT) (step 350). Once these measurements have been obtained, the round-trip delay for router pairs in Φ can be estimated and the round-trip delay vector, Δk, constructed (step 360). In a similar fashion, round-trip delay-jitter, σk, can be computed for router pairs in Φ (step 370). The process of taking measurements, and estimating and computing delay and delay-jitter, respectively, can then be repeated for subsequent time intervals, in order to collect more data regarding delay and delay-jitter.
The above process may be summarized as follows:












BEGIN


 Specify the requirements set, Φ;


 Order the requirements set, Φ;


 Identify the N+M delay components and construct the resulting delay-


  components vector, x;


 Determine F matrix from the given requirements set, Φ, and the routing


 table;


 Perform “preferred_measurements_set” to:


  Determine maximal set of independent rows of F, viz. F1, F2, ..., FQ;


  Determine ακ = [ακ,1, ακ,2, ..., ακ,Q], such that Fκ = Σi=1,...,Q (ακ,i Fi);


  and


  Determine the preferred measurements set, Ω;


 Measure round-trip delay and delay-jitter between router pairs in Ω, and


organize them as y and c; respectively


 Estimate round-trip delay using the equation Δ = Ay;


 Compute round-trip delay-jitter.


END









Measurement error is preferably kept to a negligible level.

Each of the blocks of the flow diagram of FIG. 3, and those depicted in subsequent figures, may be executed by a module (e.g., a software module) or a portion of a module or a computer system user. The methods described herein, the operations thereof and modules for performing such methods may therefore be executed on a computer system configured to execute the operations of the method and/or may be executed from computer-readable media. The method may be embodied in a machine-readable and/or computer-readable medium for configuring a computer system to execute the method. The software modules may be stored within and/or transmitted to a computer system memory to configure the computer system to perform the functions of the module. Alternatively, such actions may be embodied in the structure of circuitry that implements such functionality, such as the micro-code of a complex instruction set computer (CISC), firmware programmed into programmable or erasable/programmable devices, the configuration of a field-programmable gate array (FPGA), the design of a gate array or full-custom application-specific integrated circuit (ASIC), or the like.
Those skilled in the art will also recognize that the boundaries between modules and operations depicted herein are merely illustrative and alternative embodiments may merge such modules or operations, or impose an alternative decomposition of functionality thereon. For example, the actions discussed herein may be decomposed into sub-operations to be executed as multiple computer processes. Moreover, alternative embodiments may combine multiple instances of a particular operation or sub-operation. Furthermore, those skilled in the art will recognize that the operations described in exemplary embodiment are for illustration only. Operations may be combined or the functionality of the operations may be distributed in additional operations in accordance with the invention. As will also be apparent to those of skill in the art, methods for determining delay and jitter described herein may employ other techniques (similar in effect to those described herein) to make such determinations, and such alternative techniques are intended to be comprehended by the methods and apparati discussed herein.
A Formalized Description of a Method for Calculating Delay and Jitter Within a Requirements Set Using a Preferred Measurements Set
A procedure according to a method of the present invention that computes the round-trip delay and delay-jitter between every pair of routers in the requirements set (using every router pair πk=(Ri, Rj)εΦ) using measurements between pairs of routers identified by the ordered router pairs of a preferred measurements set, Ω, is now described using a formal syntax. The scheme is particularly useful when the measurement errors are small and no a priori delay measurements are available.













BEGIN



 /* The following procedure assumes that the topology and routing table, 
*/


 /* for a given DS codepoint, is known. Where necessary, this procedure 
*/


 /* is executed for each DS codepoint under consideration. 
*/


 /* If the network topology and/or the routing changes, this procedure 
*/


 /* should be executed afresh with the new topology or new routing table. 
*/


 /* Specify the collection of pairs of routers 
*/


 ΦTEMP = {πk = (Ri, Rj), k = 1, 2, ..., P};


 /* Call order_requirements_set to order the pairs of routers in 
*/


 /* the requirements set 
*/


 Φ = order_requirements_set (ΦTEMP);


 /* Identify the N+M delay components, viz. link-level IP transfer delay, 
*/


 /* di, I = 1, 2, ..., M, and ANMT processing delay, sj,j = 1, 2, ..., N, and 
*/


 /* Construct the resulting delay-components vector (M-vector, x) 
*/


 x = [d1, d2, ..., dM, s1, s2, ..., sN]T;


 For each k = 1, 2, ..., P, {


  Identify the pair of routers πk = (Ri, Rj), πk ∈ Φ;


  Obtain the route link_path(Ri, Rj) = <Lp, Lq, ..., Lr>;


  Determine the row vector, Fk, such that zk = Delay(Ri, Rj) = Fk x


  };


 Construct the P × (N+M) matrix, F;


 /* Call “preferred_measurements_set” to: 
*/


 /* Determine the maximal set of independent rows of F, viz. F1, F2, ..., FQ 
*/


 /* Determine ακ = [ακ,1, ακ,2, ..., ακ,Q], such that Fκ = Σi=1,...,Q (ακ,i Fi) 
*/


 /* Determine the preferred measurements set, Ω. 
*/


 (Q, Ω, ακ(κ = Q+1, ..., P)) = preferred_measurements_set (F, A, Φ);


 /* Identify the start time, t0, and the measurement interval, dt 
*/


 t0 = start_time;


 dt = measurement_interval;


 While (!finished( )) {


  if (current-time ≧ t0)


   For each k = 1, 2, ..., Q, {


    Measure average round-trip delay, yk, and delay-jitter,


    γk, between the pair of routers, πk = (Ri, Rj) using a


    network management tool (e.g., ANMT)


    }


   };


  /* Compute round-trip delay vector, Δk, for each pair of routers in Φ
*/


  For each router pair in Φ {


   For each k = 1, 2, ..., Q, {


    Δk = yk


    };


   For each k = Q+1, Q+2, ..., P, {


    Δk = Σi=1,...,Q (αk,i yi)


    }


   };


  /* Compute round-trip delay-jitter, σk, for each pair of routers in Φ
*/


  For each router pair in Φ {


   For each k = 1, 2, ..., Q, {


    σk = γk


    };


   For each k = Q+1, Q+2, ..., P, {


    σk = √ Σi=1,...,Q (αk,i2 γi2)


    }


   };


  t0 = t0+dt


  }


END









In the above procedure, the call to finished( ) is made to determine if the number of measurements and estimations made are sufficient in the given situation. As noted, the above scheme is applicable where no other delay measurements or a priori estimates are available and assumes that the measurement error is negligible.

Operation of Order Requirements Set

FIG. 4 is a flow diagram that describes, in general terms, the operation of order_requirements_set. From the given requirements set, Φ, the collection of routers, , for which delay and jitter estimates are required, is identified (step 400). Once these routers identified, a preference is assigned to each router (step 410). Next, for each router pair in Φ (step 420), the first router of the current router pair is compared to the second router of the current router pair (step 430). If the second router of the current router pair is preferred over the first router of that router pair (step 430), the routers are re-ordered (i.e., swapped) (step 440). Elements πκ=(Ri, Rj)εΦ are then sorted on the two keys, with regard to pref(Ri) and pref(Rj) (step 450), such that the following relationships exists:

Assuming (πκ1=(Ri1,Rj1) and πκ2=(Ri2,Rj2))  (38)

    
    
        if (pref(Ri1)< >pref(Ri2)), then pref(Ri1)<pref(Ri2)
        if (pref(Ri1)==pref(Ri2)), then pref(Rj1)<pref(Rj2)

These operations can be expressed more formally in the following manner.

    
    














BEGIN








 /* From the given requirements set, Φ, identify the collection of 
*/


 /* enterprise routers, R, for which delay and jitter estimates are 
*/


 /* required. 
*/


 R = ∪ Ri, such that for some Rj, πκ = (Ri, Rj) ∈ Φ


 or πκ = (Rj, Ri) ∈ Φ;


 /* Assign preference to each router 
*/


 For all Ri ∈ R {


  pref(Ri) = u, u∈ {1, 2, ..., 2P}


  };


 /* Re-order each pair of router in Φ
*/


 For all πκ = (Ri, Rj) ∈ Φ {


  If (pref(Ri) > pref(Rj)) {


   πκ = (Rj, Ri)


   }


  }







 Sort elements πκ = (Ri, Rj) ∈ Φ on the two keys, pref(Ri) and pref(Rj),


  such that the following condition is true:


  For (πκ1 = (Ri1, Rj1) and πκ2 = (Ri2, Rj2)) && (πκ1, πκ2 ∈ Φ)) {


   if (pref(Ri1) <> pref(Ri2)), then pref(Ri1) < pref(Ri2);


   if (pref(Ri1) == pref(Ri2)), then pref(Rj1) < pref(Rj2)


   }


END









Operation of Preferred Measurements Set

The procedure preferred_measurements_set performs an LU decomposition of matrix F using, for example, Gaussian elimination. The use of Gaussian elimination is merely exemplary, and other methods providing similar results will be apparent to those of skill in the art. Using Gaussian elimination to perform the decomposition, for example, a system of linear algebraic equations, such as

F(1,1)x1+F(1,2)x2+F(1,3)x3=b1  (39a)

F(2,1)x1+F(2,2)x2+F(2,3)x3=b2  (39b)

F(3,1)x1+F(3,2)x2+F(3,3)x3=b3  (39c)

can be re-written as

Fx=b  (40)

where F is a 3×3 matrix with elements, F(i,j), and x and b are the column vectors

xT=[x1x2x3]  (41)

bT=[b1b2b3]  (42)

The set of equations have a unique solution provided that the matrix F is non-singular. In other words, the set of equations have a unique solution provided that the row vectors,

F1T=[F(1,1)F(1,2)F(1,3)]  (43a)

F2T=[F(2,1)F(2,2)F(2,3)]  (43b)

F3T=[F(3,1)F(3,2)F(3,3)]  (43c)

are independent. Once this constraint is met, Gaussian elimination may be used to obtain a 3×3 matrix, A, such that

AF=F′  (44)

where F′ is an upper triangular matrix. The fact that F′ is an upper triangular matrix implies that the system of equations

AFx=F′x=Ab  (45)

can be solved by back substitution. The algorithm to obtain a matrix A (equivalently F′) can be described as follows:














A = I;
/* where I is the n × n identity matrix */








for k = 1 to n −1 {



 for i = k to n {


  Fi = −(F(i,k) /F(k,k)) Fk + Fi;
/* These are row vector



operations. The operation may be



limited to elements in columns k,



k+1, ..., n */


  Ai = −(F(i,k) /F(k,k)) Ak + Ai
/* The operation must be applied



to elements in columns 1, 2, ..., n



*/


  }


 }









It will be noted that Gaussian elimination may also be used to detect whether the system of equations is solvable, or equivalently, whether the row vectors of F are linearly independent. A dependent row of F can immediately be detected as soon as it is discovered that a pivot element (F(k,k), in the procedure) is zero. In fact, at any point in the process, if F(k,k)=0, then the row Fk is a linear function of F1, F2, . . . , Fk-1. The dependence between row Fk and F1, F2, . . . , Fk-1 is captured by (and reflected in) the corresponding row in matrix A.

As part of the process of preferred_measurements_set, a sequence of lower-triangular matrices A1, A2, . . . , Ak is constructed to obtain a sequence of upper-triangular matrices F1=A1F, F2=A2F, . . . , Fk=AkF. If at any stage the jth row of the matrix Fk is zero, i.e. Fkj=0, for some j>k, then Fj is linearly dependent upon F1, F2, . . . , Fk because Fkj=0 implies:

Ak(k,1)F1+Ak(k,2)F2+ . . . +Ak(k,1)Fk-1+Fj=0  (46)

The foregoing forms the basis of the procedure preferred_measurements_set, which is now described in greater detail.

FIG. 5 is a flow diagram that describes, in general terms, the operation of preferred_measurements_set for a given requirements set, Φ={πκ=(Ri, Rj), κ=1, 2, . . . , P}, and the corresponding P×(N+M) matrix F. First, the A matrix is set to identity matrix (I) (step 500). For each row up to the last independent row (step 505), the following actions are performed. The next non-zero row of F is identified, if there is such a row that still has not been examined (step 510). If such a row is successfully identified (i.e., Fj≠0) (step 5015), the rows of F are re-arranged (step 520). Corresponding rows and columns of A are also re-arranged, as are pairs of routers in Φ (steps 525, 530 and 535). At this point in the process, row Fk≠0. The corresponding non-zero element (F(k,j)≠0) is then found (step 540). Once the F matrix and X matrix have been prepared for pivoting (by ensuring that pivot F(k,k)≠0) (step 545), a pivot operation is performed on the F matrix (step 550). A pivot operation is also performed on the A matrix (step 555). At this point the value of Q (the number of independent rows (i.e., rank) of F is known, and the for Q rows of F are independent. Thus, the preferred measurements set can then be populated with the router pairs corresponding to the independent rows of F (step 560). Vectors that allow the non-independent rows of F to be described in terms of the independent rows of F (ακ,κ=Q+1, . . . , P) are then defined (step 565). Finally, values for Q, Ω, and ακ (κ=Q+1, . . . , P) are returned (step 570). The preceding process can be expressed more formally in the following manner.













BEGIN



 /* Matrix A is set to the identity matrix (I)
*/


 for i = 1 to P {


  for j =1 to P {


   if (i == j) {


    A(i,j) = 1


    }


   else {


    A(i,j) = 0


    }


   }


  };


 row_zero_at = P+1;


 k = 1;


 while (k < row_zero_at − 1) {


  j = k;


  /* Once the following is completed, either j has progressed to
*/


  /* row_zero_at,or Fj is non-zero (i.e., ≠ 0)
*/


  while ((Fj = 0) && (j < row_zero_at)) {


   j = j +1


   };


  if ((Fj <> 0) && (j < row_zero_at)) {


   /* Rearrange rows of F, and (correspondingly) rows and
*/


   /* columns of A, and pairs of routers in Φ.
*/


   /* (1) interchange_matrix_rows (MATRIX, FROM, TO
*/


   /* exchanges the FROM and TO rows of MATRIX
*/


   /* (2) interchange_matrix_columns (MATRIX, FROM, TO)
*/


   /* exchanges corresponding columns of MATRIX
*/


   /* (3) interchange_router_pairs (SET, I, J)
*/


   /* exchanges router pairs I & J
*/


   to_row = k;


   for i = j to (row_zero_at − 1) {


    interchange_matrix_rows (F, i, to_row);


    interchange_matrix_rows (A, i, to_row);


    interchange_matrix_columns (A, i, to_row);


    interchange_router_pairs (Φ, i, to_row);


    to_row = to_row +1


    };     /* At this stage, row Fk ≠ 0.
*/


   row_zero_at = to_row;


   j = k;


   while F(kj) = 0 {


    j = j+1    /* At this stage, F(kj) ≠ 0.
*/


    };


   /* The following ensures that pivot F(k,k) ≠ 0.
*/


   /* Once completed, pivoting may be carried out.
*/


   interchange_matrix_columns(F, k, j);


   interchange_vector_elements(x, k, j);


   /* Undertake pivot operation */


   if k < row_zero_at then


    for all i = k+1 to row_zero_at − 1 {


    /* These are row vector operations.
*/


    /* The operation may be limited to elements in
*/


    /* columns k, k+1, ..., M
*/


    Fi = −(F(i,k) /F(k,k) Fk + F1;


    /* The operation must be applied to elements in
*/


    /* columns 1, 2, ..., P
*/


    Ai = −(F(i,k) /F(k,k)) Ak + Ai;


    }; /* This completes the pivot operation.
*/


   k = k+1


   }









  else {
/* i.e., for the remaining Fj = 0.
*/







   row_zero_at = k


   }









  };
/* End of outer while loop
*/







 Q = row_zero_at −1;


 Ω = { };


 for κ = 1 to Q {


  add_to_set(Ω, πκ)


  };









 for κ = Q+1 to P {
/* Req'd to ensure Fκ = Σi=1,...,Q (ακ,i Fi)
*/







  ακ = [−A(κ,1), −A(κ,2), ..., −A(κ,Q)]


  };


 return(Q, Ω, ακ, κ = Q+1, ..., P)


END









A Measurement Example Using a Preferred Measurements Set

FIG. 6 is a block diagram depicting an exemplary enterprise network 600 in which a measurement and estimation technique according to the present invention can be employed to estimate delay and delay-jitter. Enterprise network 600 includes a backbone 610 and routers 620(1)-(7). Routers 620(1)-(7) are coupled to backbone 610 by links 630(1)-(7), respectively. It will be noted that routers 620(1)-(7) are also designated Ri, i=1, 2, . . . , 7, and that links 630(1)-(7) are also designated L(i,j), i=1, 2, 3, 4, and j=1, 2, 3, in order to allow network 600 to be discussed in terms of the parameters discussed herein. Additionally, backbone 610 includes backbone routers 640(1)-(4), with backbone router 640(1) coupled to backbone routers 640(2), 640(3) and 640(4) by backbone links 650(1), 650(2) and 650(3), respectively. It will be noted that backbone routers 640(1)-(4) are also designated ρi, i=1, 2, 3, 4, respectively, and that backbone links 650(1)-(3) are also designated λ(1,j), j=1, 2, 3, respectively, in order to allow network 600 to be discussed in terms of the parameters discussed herein. It is desirable to determine, or at least estimate, the delay and delay-jitter experienced by network traffic flowing through enterprise network 600. This information may be derived using the techniques just described.
To begin, let the requirements set be




  
    
      
        Φ
        =
        
          {
          
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  4
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  7
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  4
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  7
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  4
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  7
                
              
              )
            
          
          }
        
      
    
    
      
        (
        47
        )
      
    
  




The various actions performed when estimating delay and delay-jitter using a preferred measurements set are now described.

First, the operator assigns priorities to one or more of the routers in the collection of enterprise routers, {R1, R2, R3, R4, R5, R6, R7}. For example, the assigned priorities can be, in decreasing priority, R1, R4, R5, R6, R2, R3, R7. The pairs of routers are re-ordered as follows:




  
    
      
        Φ
        =
        
          {
          
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  4
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  7
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  5
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  6
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  7
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  5
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  6
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  7
                
              
              )
            
          
          }
        
      
    
    
      
        (
        48
        )
      
    
  




The set, Φ, when sorted on the two keys, pref(Ri) and pref(Rj) results in:





  
    
      
        Φ
        =
        
          {
          
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  4
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  5
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  6
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  7
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              
                (
                
                  
                    R
                    5
                  
                  ,
                  
                    R
                    2
                  
                
                )
              
              ⁢
              
                (
                
                  
                    R
                    5
                  
                  ,
                  
                    R
                    3
                  
                
                )
              
            
            ,
            
              (
              
                
                  R
                  6
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  6
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  7
                
              
              )
            
            ,
            
              (
              
                
                  R
                  3
                
                ,
                
                  R
                  7
                
              
              )
            
          
          }
        
      
    
    
      
        (
        49
        )
      
    
  




Next, the N+M-vector, x, of delay components is determined

x=[d11,d12,d13,d21,d31,d41,d42,c12,c13,c14,s11,s12,s13,s21,s31,s41,s42]T  (50)

The resulting F matrix ia a 15×17 matrix of the form:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1





0
0
0
1
1
0
0
0
0
0


y2
1

1




0
0
0
1
0
1
0
0
0
0


y3
1


1



1
0
0
1
0
0
1
0
0
0


y4
1



1


0
1
0
1
0
0
0
1
0
0


y5
1




1

0
0
1
1
0
0
0
0
1
0


y6
1





1
0
0
1
1
0
0
0
0
0
1


y7

1

1



1
0
0
0
1
0
1
0
0
0


y8


1
1



1
0
0
0
0
1
1
0
0
0


y9

1


1


0
1
0
0
1
0
0
1
0
0


y10


1

1


0
1
0
0
0
1
0
1
0
0


y11

1



1

0
0
1
0
1
0
0
0
1
0


y12


1


1

0
0
1
0
0
1
0
0
1
0


y13

1
1




0
0
0
0
1
1
0
0
0
0


y14

1




1
0
0
1
0
1
0
0
0
0
1


y15


1



1
0
0
1
0
0
1
0
0
0
1









Initially, the pivot element is F(1,1). As a result matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0









y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
−1
0
1
0
0
0
1
0
0
0
−1
0
1
0
0
0


y4
0
−1
0
0
1
0
0
0
1
0
0
−1
0
0
1
0
0


y5
0
−1
0
0
0
1
0
0
0
1
0
−1
0
0
0
1
0


y6
0
−1
0
0
0
0
1
0
0
1
0
−1
0
0
0
0
1


y7
0
1
0
1
0
0
0
1
0
0
0
1
0
1
0
0
0


y8
0
0
1
1
0
0
0
1
0
0
0
0
1
1
0
0
0


y9
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0


y10
0
0
1
0
1
0
0
0
1
0
0
0
1
0
1
0
0


y11
0
1
0
0
0
1
0
0
0
1
0
1
0
0
0
1
0


y12
0
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0


y13
0
1
1
0
0
0
0
0
0
0
0
1
1
0
0
0
0


y14
0
1
0
0
0
0
1
0
0
1
0
1
0
0
0
0
1


y15
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
0
1









The next pivot element is F(2,2). As a result matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0
0
0


y4
0
0
−1
0
1
0
0
0
1
0
0
0
−1
0
1
0
0


y5
0
0
−1
0
0
1
0
0
0
1
0
0
−1
0
0
1
0


y6
0
0
−1
0
0
0
1
0
0
1
0
0
−1
0
0
0
1


y7
0
0
1
1
0
0
0
1
0
0
0
0
1
1
0
0
0


y8
0
0
1
1
0
0
0
1
0
0
0
0
1
1
0
0
0


y9
0
0
1
0
1
0
0
0
1
0
0
0
1
0
1
0
0


y10
0
0
1
0
1
0
0
0
1
0
0
0
1
0
1
0
0


y11
0
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0


y12
0
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0


y13
0
0
2
0
0
0
0
0
0
0
0
0
2
0
0
0
0


y14
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
0
1


y15
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
0
1









The next pivot element is F(3,3). As a result matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0
0
0


y4
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0
0


y5
0
0
0
−1
0
1
0
−1
0
1
0
0
0
−1
0
1
0


y6
0
0
0
−1
0
0
1
−1
0
1
0
0
0
−1
0
0
1


y7
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0
0


y8
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0
0


y9
0
0
0
1
1
0
0
1
1
0
0
0
0
1
1
0
0


y10
0
0
0
1
1
0
0
1
1
0
0
0
0
1
1
0
0


y11
0
0
0
1
0
1
0
1
0
1
0
0
0
1
0
1
0


y12
0
0
0
1
0
1
0
1
0
1
0
0
0
1
0
1
0


y13
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0
0


y14
0
0
0
1
0
0
1
1
0
1
0
0
0
1
0
0
1


y15
0
0
0
1
0
0
1
1
0
1
0
0
0
1
0
0
1









The next pivot element is F(4,4). As a result matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0
0
0


y4
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0
0


y5
0
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0


y6
0
0
0
0
−1
0
1
0
−1
1
0
0
0
0
−1
0
1


y7
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0


y8
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0


y9
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0


y10
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0


y11
0
0
0
0
1
1
0
0
1
1
0
0
0
0
1
1
0


y12
0
0
0
0
1
1
0
0
1
1
0
0
0
0
1
1
0


y13
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0
0


y14
0
0
0
0
1
0
1
0
1
1
0
0
0
0
1
0
1


y15
0
0
0
0
1
0
1
0
1
1
0
0
0
0
1
0
1









The next pivot element is F(5,5). As a result matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0
0
0


y4
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0
0


y5
0
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0


y6
0
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
−1
1


y7
0
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0


y8
0
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0


y9
0
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0


y10
0
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0


y11
0
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0


y12
0
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0


y13
0
0
0
0
0
2
0
0
0
2
0
0
0
0
0
2
0


y14
0
0
0
0
0
1
1
0
0
2
0
0
0
0
0
1
1


y15
0
0
0
0
0
1
1
0
0
2
0
0
0
0
0
1
1









The next pivot element is F(6,6). As a result matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0
0
0


y4
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0
0


y5
0
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0


y6
0
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
−1
1


y7
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y8
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y9
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y10
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y11
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y12
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y13
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y14
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y15
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2









The next pivot element is F(7,7). As a result matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0
0
0


y4
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0
0


y5
0
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0


y6
0
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
−1
1


y7
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y11
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y12
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y13
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y14
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0









Since the remaining row vectors of F are 0, the algorithm terminates.

The sequence of resulting 15×15 A matrices are given below. Initially, the A matrix is:



























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
















y2

1


y3


1


y4



1


y5




1


y6





1


y7






1


y8







1


y9








1


Y10









1


y11










1


Y12











1


y13












1


y14













1


y15














1









Using the pivot F(1,1), matrix A is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
−1
0
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
−1
0
0
1
0
0
0
0
0
0
0
0
0
0
0


y5
−1
0
0
0
1
0
0
0
0
0
0
0
0
0
0


y6
−1
0
0
0
0
1
0
0
0
0
0
0
0
0
0


y7
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0


y8
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0


y9
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0


y10
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0


y11
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0


y12
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0


y13
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0


y14
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0


y15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1









Using the pivot F(2,2), matrix A is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
0
−1
0
1
0
0
0
0
0
0
0
0
0
0
0


y5
0
−1
0
0
1
0
0
0
0
0
0
0
0
0
0


y6
0
−1
0
0
0
1
0
0
0
0
0
0
0
0
0


y7
−1
1
0
0
0
0
1
0
0
0
0
0
0
0
0


y8
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0


y9
−1
1
0
0
0
0
0
0
1
0
0
0
0
0
0


y10
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0


y11
−1
1
0
0
0
0
0
0
0
0
1
0
0
0
0


y12
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0


y13
−1
1
0
0
0
0
0
0
0
0
0
0
1
0
0


y14
−1
1
0
0
0
0
0
0
0
0
0
0
0
1
0


y15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1









Using the pivot F(3,3), matrix A is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
0
0
−1
1
0
0
0
0
0
0
0
0
0
0
0


y5
0
0
−1
0
1
0
0
0
0
0
0
0
0
0
0


y6
0
0
−1
0
0
1
0
0
0
0
0
0
0
0
0


y7
−1
0
1
0
0
0
1
0
0
0
0
0
0
0
0


y8
0
−1
1
0
0
0
0
1
0
0
0
0
0
0
0


y9
−1
0
1
0
0
0
0
0
1
0
0
0
0
0
0


y10
0
−1
1
0
0
0
0
0
0
1
0
0
0
0
0


y11
−1
0
1
0
0
0
0
0
0
0
1
0
0
0
0


y12
0
−1
1
0
0
0
0
0
0
0
0
1
0
0
0


y13
−1
−1
2
0
0
0
0
0
0
0
0
0
1
0
0


y14
−1
0
1
0
0
0
0
0
0
0
0
0
0
1
0


y15
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
1









Using the pivot F(4,4), matrix A is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
0
0
−1
1
0
0
0
0
0
0
0
0
0
0
0


y5
0
0
0
−1
1
0
0
0
0
0
0
0
0
0
0


y6
0
0
0
−1
0
1
0
0
0
0
0
0
0
0
0


y7
−1
0
−1
2
0
0
1
0
0
0
0
0
0
0
0


y8
0
−1
−1
2
0
0
0
1
0
0
0
0
0
0
0


y9
−1
0
0
1
0
0
0
0
1
0
0
0
0
0
0


y10
0
−1
0
1
0
0
0
0
0
1
0
0
0
0
0


y11
−1
0
0
1
0
0
0
0
0
0
1
0
0
0
0


y12
0
−1
0
1
0
0
0
0
0
0
0
1
0
0
0


y13
−1
−1
0
2
0
0
0
0
0
0
0
0
1
0
0


y14
−1
0
0
1
0
0
0
0
0
0
0
0
0
1
0


y15
0
−1
0
1
0
0
0
0
0
0
0
0
0
0
1









Using the pivot F(5,5), matrix A is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
0
0
−1
1
0
0
0
0
0
0
0
0
0
0
0


y5
0
0
0
−1
1
0
0
0
0
0
0
0
0
0
0


y6
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
0


y7
−1
0
−1
0
2
0
1
0
0
0
0
0
0
0
0


y8
0
−1
−1
0
2
0
0
1
0
0
0
0
0
0
0


y9
−1
0
0
−1
2
0
0
0
1
0
0
0
0
0
0


y10
0
−1
0
−1
2
0
0
0
0
1
0
0
0
0
0


y11
−1
0
0
0
1
0
0
0
0
0
1
0
0
0
0


y12
0
−1
0
0
1
0
0
0
0
0
0
1
0
0
0


y13
−1
−1
0
0
2
0
0
0
0
0
0
0
1
0
0


y14
−1
0
0
0
1
0
0
0
0
0
0
0
0
1
0


y15
0
−1
0
0
1
0
0
0
0
0
0
0
0
0
1









Using the pivot F(6,6), matrix A is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
0
0
−1
1
0
0
0
0
0
0
0
0
0
0
0


y5
0
0
0
−1
1
0
0
0
0
0
0
0
0
0
0


y6
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
0


y7
−1
0
−1
0
0
2
1
0
0
0
0
0
0
0
0


y8
0
−1
−1
0
0
2
0
1
0
0
0
0
0
0
0


y9
−1
0
0
−1
0
2
0
0
1
0
0
0
0
0
0


y10
0
−1
0
−1
0
2
0
0
0
1
0
0
0
0
0


y11
−1
0
0
0
−1
2
0
0
0
0
1
0
0
0
0


y12
0
−1
0
0
−1
2
0
0
0
0
0
1
0
0
0


y13
−1
−1
0
0
0
2
0
0
0
0
0
0
1
0
0


y14
−1
0
0
0
0
1
0
0
0
0
0
0
0
1
0


y15
0
−1
0
0
0
1
0
0
0
0
0
0
0
0
1









Using the pivot F(7,7), matrix A is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
0
0
−1
1
0
0
0
0
0
0
0
0
0
0
0


y5
0
0
0
−1
1
0
0
0
0
0
0
0
0
0
0


y6
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
0


y7
−1
0
−1
0
0
2
1
0
0
0
0
0
0
0
0


y8
1
−1
0
0
0
0
−1
1
0
0
0
0
0
0
0


y9
0
0
1
−1
0
0
−1
0
1
0
0
0
0
0
0


y10
1
−1
1
−1
0
0
−1
0
0
1
0
0
0
0
0


y11
0
0
1
0
−1
0
−1
0
0
0
1
0
0
0
0


y12
1
−1
1
0
−1
0
−1
0
0
0
0
1
0
0
0


y13
0
−1
1
0
0
0
−1
0
0
0
0
0
1
0
0


y14
0
0
1
0
0
−1
−1
0
0
0
0
0
0
1
0


y15
1
−1
1
0
0
−1
−1
0
0
0
0
0
0
0
1









Thus, using the procedure preferred_measurements_set, the resulting 15×17 matrix F′ is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
0
−1
1
0
0
0
0
0
0
0
0
−1
1
0
0
0
0


y3
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0
0
0


y4
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0
0


y5
0
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0


y6
0
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
−1
1


y7
0
0
0
0
0
0
2
0
0
2
0
0
0
0
0
0
2


y8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y11
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y12
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y13
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y14
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0









and the 15×15 A matrix is:




























y1
y2
y3
y4
y5
y6
y7
y8
y9
y10
y11
y12
y13
y14
y15































y1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y2
−1
1
0
0
0
0
0
0
0
0
0
0
0
0
0


y3
0
−1
1
0
0
0
0
0
0
0
0
0
0
0
0


y4
0
0
−1
1
0
0
0
0
0
0
0
0
0
0
0


y5
0
0
0
−1
1
0
0
0
0
0
0
0
0
0
0


y6
0
0
0
0
−1
1
0
0
0
0
0
0
0
0
0


y7
−1
0
−1
0
0
2
1
0
0
0
0
0
0
0
0


y8
1
−1
0
0
0
0
−1
1
0
0
0
0
0
0
0


y9
0
0
1
−1
0
0
−1
0
1
0
0
0
0
0
0


y10
1
−1
1
−1
0
0
−1
0
0
1
0
0
0
0
0


y11
0
0
1
0
−1
0
−1
0
0
0
1
0
0
0
0


y12
1
−1
1
0
−1
0
−1
0
0
0
0
1
0
0
0


y13
0
−1
1
0
0
0
−1
0
0
0
0
0
1
0
0


y14
0
0
1
0
0
−1
−1
0
0
0
0
0
0
1
0


y15
1
−1
1
0
0
−1
−1
0
0
0
0
0
0
0
1









As a result, the maximal set of independent rows of F are F1, F2, F3, F4, F5, F6, F7. The preferred measurements set is:

Ω={(R1,R2),(R1,R3),(R1,R4),(R1,R5),(R1,R6),(R1,R7),(R4,R2)}  (51)

The row vectors, ακ=[κ,1, ακ,2, . . . , ακ,Q], κ=8, 9, . . . , 15, are:




















y1
y2
y3
y4
y5
y6
y7

























α8
−1
1
0
0
0
0
1



α9
0
0
−1
1
0
0
1



α10
−1
1
−1
1
0
0
1



α11
0
0
−1
0
1
0
1



α12
−1
1
−1
0
1
0
1



α13
0
1
−1
0
0
0
1



α14
0
0
−1
0
0
1
1



α15
−1
1
−1
0
0
1
1










Next, the start time t0, and the measurement interval, dt, are identified. The cycle of taking measurements and making estimations of delay and delay-jitter can then be repeated as desired.
Many other examples will be apparent to one of skill in the art. For example, if the assigned priorities are instead, in decreasing priority, R4, R5, R6, R7, R1, R2, R3, then the set, Φ, when sorted on the two keys, pref(Ri) and pref(Rj) results in:




  
    
      
        Φ
        =
        
          {
          
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  1
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  4
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  5
                
                ,
                
                  R
                  1
                
              
              )
            
            ,
            
              (
              
                
                  R
                  5
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  5
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  6
                
                ,
                
                  R
                  1
                
              
              )
            
            ,
            
              (
              
                
                  R
                  6
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              
                (
                
                  
                    R
                    6
                  
                  ,
                  
                    R
                    3
                  
                
                )
              
              ⁢
              
                (
                
                  
                    R
                    7
                  
                  ,
                  
                    R
                    1
                  
                
                )
              
            
            ,
            
              (
              
                
                  R
                  7
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  7
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  2
                
              
              )
            
            ,
            
              (
              
                
                  R
                  1
                
                ,
                
                  R
                  3
                
              
              )
            
            ,
            
              (
              
                
                  R
                  2
                
                ,
                
                  R
                  3
                
              
              )
            
          
          }
        
      
    
    
      
        (
        52
        )
      
    
  




The corresponding matrix F is:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42


































1
2
3
4
5
6
7












y1
1


1



1
0
0
1


1


y2

1

1



1
0
0

1

1


y3


1
1



1
0
0


1
1


y4
1



1


0
1
0
1



1


y5

1


1


0
1
0

1


1


y6


1

1


0
1
0


1

1


y7
1




1

0
1
1
1




1


y8

1



1

0
1
1

1



1


y9


1


1

0
1
1


1


1


y10
1





1
0
0
1
1





1


y11

1




1
0
0
1

1




1


y12


1



1
0
0
1


1



1


y13
1
1





0
0
0
1
1


y14
1

1




0
0
0
1

1


y15

1
1




0
0
0

1
1









Which when decomposed results in:






























d11
d12
d13
d21
d31
d41
d42
C12
C13
C14
s11
s12
s13
s21
s31
s41
s42

































y1
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
0


y2
0
1
0
1
0
0
0
1
0
0
0
1
0
1
0
0
0


y3
0
0
1
1
0
0
0
1
0
0
0
0
1
1
0
0
0


y4
0
0
0
−1
1
0
0
−1
1
0
0
0
0
−1
1
0
0


y7
0
0
0
0
−1
1
0
0
0
1
0
0
0
0
−1
1
0


y10
0
0
0
0
0
−1
1
0
−1
0
0
0
0
0
0
−1
1


y13
0
0
0
0
0
0
−2
0
0
−2
0
0
0
0
0
0
−2


y14
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y11
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y12
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0


y6
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0









This establishes the fact that row vectors, F1, F2, F3, F4, F7, F10, and F13 are independent. Consequently, the preferred measurements set is:

Ω={(R4,R1),(R4,R2),(R4,R3),(R5,R1),(R6,R1),(R7,R1),(R1,R2)}  (53)

As can be seen, the resulting preferred measurements set can be controlled, at least to some degree, by prioritizing the appropriate routers. Thus, by careful selection of routers, such a method and apparatus addresses the operator's (and network's) needs with regard to controlling the routers and links involved in the actual measurement of delay and delay-jitter.

While particular embodiments of the present invention have been shown and described, it will be obvious to those skilled in the art that, based upon the teachings herein, changes and modifications may be made without departing from this invention and its broader aspects and, therefore, the appended claims are to encompass within their scope all such changes and modifications as are within the true spirit and scope of this invention. Furthermore, it is to be understood that the invention is solely defined by the appended claims.

## Claims

1. A method comprising:
determining a network performance metric in a network, comprising
forming a first set of network element pairs, wherein
said network comprises a plurality of network elements,
each of said network elements is coupled to at least one other of said network elements by at least one of a plurality of links, and
said first set of network element pairs comprises a plurality of pairs of said network elements,

forming a second set of network element pairs, wherein
said second set of network element pairs comprises ones of said network element pairs in said first set of network element pairs, and

ordering a first plurality of network element pairs, wherein
said first plurality of network element pairs comprises ones of network element pairs in said first set of network element pairs, and
said ordering comprises
identifying a plurality of network elements, wherein each of said plurality of network elements is one of a network element pair in said first set of network element pairs,
assigning one of a plurality of preferences to said each of said plurality of network elements, and
sorting said network element pairs in said first set of network element pairs based on said plurality of preferences.

2. The method of claim 1, further comprising:
forming a first matrix, wherein
each row in said first matrix corresponds to a network element pair of said first set of network element pairs.

3. The method of claim 2, further comprising:
measuring a measured network performance metric between a first network element pair, wherein
said first network element pair comprises a first network element and a second network element of one of said network element pairs in said second set of network element pairs; and

computing a computed network performance metric between a second network element pair using said measured network performance metric, wherein
said second network element pair comprises a first network element and a second network element of said network element pair in said first set of network element pairs.

4. The method of claim 3, further comprising:
determining a set of independent rows of said first matrix, wherein
said set of independent rows of said first matrix is a maximal set of independent rows of said first matrix.

5. The method of claim 4, wherein said forming said second set of network element pairs comprises:
including independent network element pairs in said second set of network element pairs, wherein
said independent network element pairs are ones of said network element pairs in said first set of network element pairs corresponding to rows of said first matrix in said set of independent rows of said first matrix.

6. The method of claim 3, further comprising:
forming a delay components vector; and
determining a set of independent rows of said first matrix, wherein
said first matrix describes a relationship between said delay components vector and a delay between each of said network element pairs of said first set of network element pairs, and
said forming said second set of network element pairs comprises
including independent network element pairs in said second set of network element pairs, and
said independent network element pairs are ones of said network element pairs in said first set of network element pairs corresponding to rows of said first matrix in said set of independent rows of said first matrix.

7. The method of claim 6, wherein said delay components vector comprises:
a representation of a delay within each network element of each network element pair of said first set of network element pairs for said each network element pair of said first set of network element pairs, and
a representation of a delay between network elements of said each network element pair of said first set of network element pairs for said each network element pair of said first set of network element pairs.

8. The method of claim 6, further comprising:
forming a second matrix, wherein
said second matrix describes a relationship between a plurality of independent delays and a non-independent delay,
said plurality of independent delays comprise a delay between network elements in each network element pair of said second set of network element pairs, and
said non-independent delay comprises a delay between network elements in a network element pair of said first set of network element pairs that is not in said second set of network element pairs.

9. The method of claim 1, wherein said sorting comprises:
for each of said network element pairs in said first set of network element pairs, swapping a first network element and a second network element in said each of said network element pairs in said first set of network element pairs, if a preference of said first network element in said each of said network element pairs in said first set of network element pairs is less than a preference of said second network element in said each of said network element pairs in said first set of network element pairs;
sorting said network element pairs in said first set of network element pairs based on a preference of a present first network element of said each of said network element pairs in said first set of network element pairs; and
sorting said network element pairs in said first set of network element pairs based on a preference of a present second network element of said each of said network element pairs in said first set of network element pairs.

10. A computer-readable storage medium embodied in a computer program product, in which a plurality of sets of instructions are encoded, said sets of instructions comprising:
a first set of instructions, executable on a computer system, configured to form a first set of network element pairs, wherein
said network comprises a plurality of network elements and each of said network elements is coupled to at least one other of said network elements by at least one of a plurality of links, and
said first set of network element pairs comprises a plurality of pairs of said network elements,

a second set of instructions, executable on said computer system, configured to form a second set of network element pairs, wherein
said second set of network element pairs comprises ones of said network element pairs in said first set of network element pairs,

a third set of instructions, executable on said computer system, configured to form a first matrix, wherein
each row in said first matrix corresponds to a network element pair of said first set of network element pairs, and

a fourth set of instructions, executable on said computer system, configured to order a first plurality of network element pairs, wherein
said first plurality of network element pairs comprises ones of network element pairs in said first set of network element pairs, and
said fourth set of instructions comprises
a first subset of instructions, executable on said computer system, configured to identify a plurality of network elements, wherein
each of said plurality of network elements is one of a network element pair in said first set of network element pairs,

a second subset of instructions, executable on said computer system, configured to assign one of a plurality of preferences to said each of said plurality of network elements, and
a third subset of instructions, executable on said computer system, configured to sort said network element pairs in said first set of network element pairs based on said plurality of preferences.

11. The computer-readable storage medium of claim 10, wherein the computer program product further comprises:
a fifth set of instructions, executable on said computer system, configured to measure a measured network performance metric between a first network element pair, wherein
said first network element pair comprises a first network element and a second network element of one of said network element pairs in said second set of network element pairs; and

a sixth set of instructions, executable on said computer system, configured to compute a computed network performance metric between a second network element pair using said measured network performance metric, wherein
said second network element pair comprises a first network element and a second network element of said network element pair in said first set of network element pairs.

12. The computer-readable storage medium of claim 11, wherein the computer program product further comprises:
a seventh set of instructions, executable on said computer system, configured to determine a set of independent rows of said first matrix, wherein
said second set of instructions comprises
a first subset of instructions, executable on said computer system, configured to including independent network element pairs in said second set of network element pairs,

said set of independent rows of said first matrix is a maximal set of independent rows of said first matrix, and
said independent network element pairs are ones of said network element pairs in said first set of network element pairs corresponding to rows of said first matrix in said set of independent rows of said first matrix.

13. The computer-readable storage medium of claim 11, wherein the computer program product further comprises:
a seventh set of instructions, executable on said computer system, configured to form a delay components vector; and
a eighth set of instructions, executable on said computer system, configured to determine a set of independent rows of said first matrix, wherein
said second set of instructions comprises
a first subset of instructions, executable on said computer system, configured to including independent network element pairs in said second set of network element pairs,

said first matrix describes a relationship between said delay components vector and a delay between each of said network element pairs of said first set of network element pairs, and
said independent network element pairs are ones of said network element pairs in said first set of network element pairs corresponding to rows of said first matrix in said set of independent rows of said first matrix.

14. The computer-readable storage medium of claim 13, wherein the computer program product further comprises:
a ninth set of instructions, executable on said computer system, configured to form a second matrix, wherein
said second matrix describes a relationship between a plurality of independent delays and a non-independent delay,
said plurality of independent delays comprise a delay between network elements in each network element pair of said second set of network element pairs, and
said non-independent delay comprises a delay between network elements in a network element pair of said first set of network element pairs that is not in said second set of network element pairs.

15. A computer system comprising:
a network interface, configured to be coupled to a network, wherein
said network comprises a plurality of network elements, and
each of said network elements is coupled to at least one other of said network elements;

means for forming a first set of network element pairs, wherein
said means for forming said first set of network element pairs is coupled to said network interface, and
said first set of network element pairs comprises a plurality of pairs of said network elements;

means for forming a second set of network element pairs, wherein
said means for forming said second set of network element pairs is coupled to said means for forming said first set of network element pairs, and
said second set of network element pairs comprises ones of said network element pairs in said first set of network element pairs;

means for forming a first matrix, wherein
each row in said first matrix corresponds to a network element pair of said first set of network element pairs;

means for measuring a measured network performance metric between a first network element pair, wherein
said first network element pair comprises a first network element and a second network element of one of said network element pairs in said second set of network element pairs; and

means for computing a computed network performance metric between a second network element pair using said measured network performance metric, wherein
said second network element pair comprises a first network element and a second network element of said network element pair in said first set of network element pairs.

16. The computer system of claim 15, further comprising:
means for ordering a first plurality of network element pairs, wherein
said first plurality of network element pairs comprises ones of network element pairs in said first set of network element pairs, and
said means for ordering comprises
means for identifying a plurality of network elements, wherein
each of said plurality of network elements is one of a network element pair in said first set of network element pairs,

means for assigning one of a plurality of preferences to said each of said plurality of network elements, and
means for sorting said network element pairs in said first set of network element pairs based on said plurality of preferences.