vanheusden.com

ping test

What?

I was curious how network-components in switches/routers influence timing. That should easily be testable with NTP but I decided on a different path using the regular 'ping' command.


how

What I did is I ping several hosts in my local lan. I ping them 100k times and then calculate the Allan deviation over the results.

My test program (pad.py) determines a sane ping interval (depending on how much it takes to ping the host-under-test). Then it pings the host-under-test exactly on each interval and keeps track of the local timestamp of when the ping-reply is received.

These measurements together with the interval are fed to AllanTools.

program

My test program is written in python and can be obtained via this link: pad.py.

To run, you need a couple of packages installed; they are listed at the top of the program.

pics

plot of the LAN I tested in

first pingable host: "meterkast"

Clock on the picture to zoom in.

"firewall"

Clock on the picture to zoom in.

"backbone switch"

Clock on the picture to zoom in.

"internet gateway"

Clock on the picture to zoom in.

"vps003"

A vps somewhere on the internet.

Clock on the picture to zoom in.






For contact info, see this page.

mastodon icon toot this