Hi all I'm posting to know how can I measure the system delay. for the details, please refer to attached picture. asked 24 Feb '14, 00:47 Ray_Han |
One Answer:
If you want 'real results', you should not rely on the mirror functionality of the switch for this, as you will never know how exactly (in which order) the switch copies the frames from 3+2 to the mirror port. The best option would be to capture the traffic of port 3 and 2 with a TAP for each port and with two systems with 'highly synchronized' clocks. However: That's pretty much overhead (TAPs, two systems, etc.). If the expected delay is small (a few microseconds), you'll have to do it like described above, if you want to get 'real results'. If the expected delay is much larger (a few milliseconds) the approach with a switch mirror port and one capture system might be good enough. Either way you need to calculate the delay between two identical frames in the capture file. That can be done with tshark and a script (perl, python, whatever).
The output looks similar to this:
With the script you can find duplicate IP IDs and calculate the delta between the two time stamps. The delta values can be loaded into a spreadsheet software to create a chart. Regards answered 24 Feb '14, 10:01 Kurt Knochner ♦ |
appology late update. it's good help to get the delay but don't use tshark what you said. but I think your comments is very good. I'm studying tshrark. Thank you.