Claims
- 1. A method of measuring latency in a network comprising for each source, first network element, second network element, destination, service level parameter permutation for which latency is to be measured:
at the first network element, receiving a first stream of packets from the source, the first stream of packets having at least one associated service level parameter; at the first network element, on an ongoing basis and independently of said source inserting into the stream of packets a probe packet to produce a probe packetized stream of packets, each probe packet containing a respective source transmit time which represents first network element time at a time of insertion of the probe packet; the first network element processing and forwarding each packet of the probe packetized stream of packets in accordance with the at least one associated service level parameter; at the second network element, receiving the probe packetized stream of packets; the second network element extracting each probe packet and adding to each probe packet a respective destination receive time which represents second network element time at a time of extraction of the probe packet; the second network element receiving a second stream of packets from the destination, the second stream of packets having at least one associated service level parameter; the first network element independently of said destination inserting into the second stream of packets each extracted probe packet to produce a second probe packetized stream of packets after adding to each extracted probe packet a respective destination transmit time which represents second network element time at a time of insertion of the probe packet; the second network element processing and forwarding each packet of the second probe packetized stream of packets in accordance with the at least one associated service level parameter; the first network element receiving the second probe packetized stream of packets; the first network element extracting each probe packet from the second probe packetized stream of packets and adding to each probe packet a respective source receive time which represents first network element time at a time of extraction of the probe packet; and the first network element using the source transmit network time, the destination receive time, the destination transmit time, and the source receive time to compute a latency for each probe packet.
- 2. A method according to claim 1 further comprising:
the first network element combining the latencies of multiple probe packets to determine an average latency for round trip packet transmission for the particular source, first network element, second network element, destination, service level parameter permutation.
- 3. A method according to claim 1 further comprising:
receiving a request for probe packet insertion in respect of the stream of packets; wherein at the first network element, inserting into the stream of packets probe packets to produce the probe packetized stream of packets is done in accordance with the request.
- 4. A method according to claim 1 wherein the latency for each probe packet is computed according to:
- 5. A method according to claim 1 wherein each probe packet comprises a packet which satisfies constraints of a protocol layer within which the packet resides, and has a type indication allowing each probe packet to be extracted at the first and second network elements.
- 6. A method according to claim 5 wherein the first and second streams of packets are IP packets, and the probe packets are IP packets.
- 7. A method according to claim 6 the type indication allowing each probe packet to be extracted at the first and second network elements is added by:
routing each packet through the network using an MPLS label stack including a lowest level label; for each packet which is one of said probe packets, adding a label below the lowest level label indicating the packet is a probe packet.
- 8. A method according to claim 1 further comprising for each source, first network element, second network element, destination, service level parameter permutation:
the first network element maintaining a respective first count of how many packets have been received from the source for transmission to the destination and including an up to date value of the first count in each probe packet transmitted from the first network element to the second network element; the second network element maintaining a respective second count of how many packets have been received from the source for forwarding to the destination; for each probe packet received at the second network element, determining a packet loss for transmission from the source to the destination by subtracting the second count from the first count.
- 9. A method according to claim 1 further comprising for each source, first network element, second network element, destination, service level parameter permutation:
the second network element maintaining a respective third count of how many packets have been received from the destination for transmission to the source and including an up to date value for the third count in each probe packet transmitted from the second network element to the source network element; the first network element maintaining a respective fourth count of how many packets have been received from the destination for forwarding to the source; determining a packet loss for transmission from the destination to the source by subtracting the third count from the fourth count.
- 10. A method according to claim 1 further comprising:
using the times inserted in the probe packets to calculate a first estimate of one way jitter for traffic from the first network element to the second network element and a second estimate of one way jitter for traffic from the second network element to the first network element.
- 11. A method according to claim 10 wherein one way jitter is computed according to:
- 12. A method according to claim 1 further comprising:
generating the probe packets in a separate processor from a network processor used for regular packet forwarding so as to minimize effects of real time behaviour of the packet forwarding, with the exception of the network processor adding the time so as to allow the time to be as accurate as possible, and not introduce overheads involved in probe packet generation and insertion into the packet streams.
- 13. A method of measuring packet loss in a network comprising for each source, first network element, second network element, destination, service level parameter permutation for which packet loss is to be measured:
at the first network element, receiving a first stream of packets from the source, the first stream of packets having at least one associated service level parameter; the first network element maintaining a respective first count of how many packets have been received from the source for transmission to the destination; at the first network element, on an ongoing basis and independently of said source inserting into the stream of packets a probe packet to produce a probe packetized stream of packets, each probe packet containing a most recent value for the first count; the first network element processing and forwarding each packet of the probe packetized stream of packets in accordance with the at least one associated service level parameter; at the second network element, receiving the probe packetized stream of packets; the second network element maintaining a respective second count of how many packets have been received from the source for forwarding to the destination; the second network element extracting each probe packet from the probe packetized stream and determining a packet loss for transmission from the source to the destination by subtracting the second count from the first count.
- 14. A method of measuring one way jitter in a network comprising for each source, first network element, second network element, destination, service level parameter permutation for which one way jitter is to be measured:
at the first network element, receiving a first stream of packets from the source, the first stream of packets having at least one associated service level parameter; at the first network element, on an ongoing basis and independently of said source inserting into the stream of packets a probe packet to produce a probe packetized stream of packets, each probe packet containing a respective source transmit time which represents first network element time at a time of insertion of the probe packet; the first network element processing and forwarding each packet of the probe packetized stream of packets in accordance with the at least one associated service level parameter; at the second network element, receiving the probe packetized stream of packets; the second network element extracting each probe packet and determining a respective destination receive time which represents second network element time at a time of extraction of the probe packet; using the source transmit time and the destination receive time to calculate an estimate of one way jitter for traffic from the first network element to the second network element.
- 15. A method according to claim 14 wherein one way jitter is computed according to:
- 16. A network element comprising a first input port, a first packet forwarder and a first probe packet manager;
the first input port being adapted to receive a first stream of packets from a source for a destination, the first stream of packets having at least one associated service level parameter; the first probe packet manager adapted to, on an ongoing basis and independently of said source generate a probe packet and pass each probe packet to the first packet forwarder; the first packet forwarder being adapted to add to each probe packet a respective source transmit time which represents a current network time and to insert the probe packet into the stream of packets to generate a first probe packetized stream of packets; the first packet forwarder being further adapted to forward each packet of the probe packetized stream of packets on towards the destination in accordance with the at least one associated service level parameter.
- 17. A network element according to claim 16 in combination with a network comprising a second network element, the second network element comprising a second input port, a second packet forwarder, and a second probe packet manager;
the second input port being adapted to receive a second stream of packets from the destination for the source; the second packet forwarder being adapted to receive the probe packetized stream of packets, and to add to each probe packet as the probe packet is received a destination receive time and pass the probe packet to the second probe packet manager; the second probe packet manager adapted to pass each probe packet received back to the second packet forwarder; the second packet forwarder being adapted to add to each probe packet received from the second probe packet manager a respective destination transmit time which represents a current network time and to insert the probe packet into the second stream of packets to generate a second probe packetized stream of packets; the second packet forwarder being further adapted to forward each packet of the second probe packetized stream of packets on towards the source in accordance with the at least one associated service level parameter; the first packet forwarder being further adapted to receive the second probe packetized stream of packets, and add to each probe packet received a respective source receive time which represents first network element time at a time of extraction of the probe packet and pass the probe packet to the first probe packet manager; the first probe packet manager being further adapted to compute a packet latency for each probe packet using the source transmit network time, the destination receive time, the destination transmit time, and the source receive time.
- 18. A network according to claim 17 wherein the first probe packet manager is further adapted to combine the latencies of multiple probe packets to determine an average latency for round trip packet transmission for the particular source, first network element, second network element, destination, service level parameter permutation.
- 19. A network according to claim 18 further comprising a user interface through which to receive a request for probe packet insertion in respect of the stream of packets;
wherein the first probe packet manager generates probe packets in accordance with the request.
- 20. A network according to claim 17 wherein the latency for each probe packet is computed according to:
- 21. A network according to claim 17 wherein for each source, first network element, second network element, destination, service level parameter permutation:
the first packet forwarder is adapted to maintain a respective first count of how many packets have been received from the source for transmission to the destination and to include an up to date value of the first count in each probe packet transmitted from the first network element to the second network element; the second packet forwarder is adapted to maintain a respective second count of how many packets have been received from the source for forwarding to the destination and to determine a packet loss for transmission from the source to the destination by subtracting the second count from the first count.
- 22. A network according to claim 17 wherein the second network element is adapted to use the times inserted in the probe packets to calculate a first estimate of one way jitter for traffic from the first network element to the second network element.
- 23. A network according to claim 22 wherein one way jitter is computed according to:
- 24. A method comprising:
inserting probe packets on a per service basis for transmission on a respective round trip; and for each service using the probe packets to calculate packet latency for probe packets which is representative of packet latency for all packets transmitted for the service.
- 25. A method according to claim 24 further comprising:
using data plane time stamps to accurately time probe latency.
- 26. A method comprising:
inserting probe packets on a per service basis for transmission on a respective destination network element; and at the destination network element for a given service using the probe packets to calculate one way packet loss for the service.
RELATED APPLICATION
[0001] This application claims the benefit of U.S. provisional application No. 60/340,840 filed Dec. 19, 2001.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60340840 |
Dec 2001 |
US |