...
Code Block |
---|
Usage: ping-vs-tcp.pl [opts] Opts: -v print this USAGE information -D debug_level (default=0) -p protocol (6 or '') (default '') Function: Ping the host provided in %NODE_DETAILS For each host it gets the IP address either from NODE_DETAILS (IPv4) or using the dig command (IPv6). it then Pings and npings the host and gathers the min, average, maximum RTTs and losses and reports them to STDOUT., together with host information such as name, IP address, contry, region etc. Input: It gets information on the PingER hosts from %NODE_DETAILS using: require '/afs/slac/package/pinger/nodes.cf'; Examples: ping-vs-tcp.pl ping-vs-tcp.pl -f top-uni.txt ping-vs-tcp.pl -p 6 ping-vs-tcp.pl -v -D 1 |
The output is in comma separated value format and is exported to Excel (one file for IPv4, one for IPv6) where it is analyzed to look at the histograms of average(ping_rtt)-Average(nping_rtt). The histograms show that the agreement between ping and nping average RTT is good:
- IPv4: of the 728 hosts measured 50% have average(RTTs) within 2.15ms of one another.
Another way of looking at the data is to consider the relative differences, i.e. (Avg(ping_RTT)-Avg(nping_RTT)/(0.5(Avg(ping_rtt)+Avg(nping_RTT)), this gives the distribution below that shows the IQR of the averge difference is ~ 1.2%. - IPv6: 50% of the 36 hosts measured have average(RTTs) within 0.26ms of oneanother).
Again the relative ping vs nping differences for IPv6 is shown below and shows an IQR of the relative average difference is 0.45%: