Discussion Locked

Calculating Router Latencies

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I currently have a cisco 3620 router in my network. I am now trying to calculate what the router latency (in milliseconds) would be for a 128byte packet

I know that the cisco router is capable of 70 thousand packets per second.

How do I use these figures to calculate the router latency in milliseconds?

3 replies

by mike mullins

You didn't mention the speed of the transmission line. But here goes.

Each transmission unit consists of header and actual data. The actual data is referred to as MSS (Maximum Segment Size), which defines the largest segment of TCP data that can be transmitted. Essentially, MTU=MSS + TCP & IP headers.

You stated a packet size of 128byte, which we'll consider your MTU (Maximum Transmission Unit):

With the following assumptions:

MSS=MTU-40 (a standard 40 byte header (20 byte IP and 20 byte TCP)
You didn't mention your line speed (I'll do the calculation for a T1)
packets are not being fragmented
no packet loss
no router congestion

To transfer 168 bytes of data over a T1 line (T1=1,544,000 bits/sec) using the following formula:

( MSS + header ) * 8 bits/byte
------------------------------ = latency (per hop)
1,544,000 bits/sec.

You can calculate the relevance of packet size to latency. I'll do your size and the Ethernet standard of MTU=1500

If MTU = 168 then: (128+40) * 8 / 1,544,000 = .870 ms delay per hop

If MTU = 1500 then: (1460+40) * 8 / 1,544,000 = 7.772 ms delay per hop

Assuming a transfer over 10 hops,
The 168 MTU would have 8.70 ms delay over a T1 line.
The 1500 MTU would take 77.72 ms delay over a T1 line.

Good Luck

0 bytes

This discussion is closed to new replies.