Sure, they offer an upload / download speed test, but from the company itself, how reliable is that? The test had various results, and it is only a spot check, so I decided to make a small script, and run it every 10 minutes my laptop is up and running. That script writes the traceroute into a logfile, which I then cleaned up and sorted.
A pretty simple script to get the date, a brief description (the 'echo') and the output of tracepath into a file to accumulate.
echo -e "\n\n"
date >> speedcheck.log
echo -e "tracepath www.google.com\n" >> speedcheck.log && tracepath www.google.com >> speedcheck.log
echo -e "tracepath www.google.de\n" >> speedcheck.log && tracepath www.google.de >> speedcheck.log
To run this script over and over on schedule, I added a line in crontab to run it every 10 min. (check here for the crontab syntax). You can edit the file with >> crontab -e:
*/10 * * * * bash ~/Documents/[folder]/speedcheck.sh
Traceroute shows time for each step to the target destination. Data filtered by steps over 100ms (which is abysmally slow):
And now sorted by size, to show the worst offenders. I filtered all steps / processes out already that completely broke, so this is a tame list...
top (=worst) 10 entries TWC:
5: agg22.dllatxl301r.texas.rr.com 17680.452ms
5: agg22.dllatxl301r.texas.rr.com 17680.452ms
5: agg22.dllatxl301r.texas.rr.com 17680.452ms
5: agg22.dllatxl301r.texas.rr.com 17641.492ms
5: agg22.dllatxl301r.texas.rr.com 17641.492ms
5: agg22.dllatxl301r.texas.rr.com 17641.492ms
6: ae-4-0.cr0.dfw10.tbone.rr.com 17473.460ms
6: ae-4-0.cr0.dfw10.tbone.rr.com 17473.460ms
6: ae-4-0.cr0.dfw10.tbone.rr.com 17473.460ms
7: ae-3-0.cr0.lax30.tbone.rr.com 17264.655ms asymm 9
top (=worst) 10 entries overall:
3: 75.8.128.106 32080.074ms
3: 75.8.128.106 32080.074ms
5: gar23.dlstx.ip.att.net 31161.992ms asymm 7
5: gar23.dlstx.ip.att.net 31161.992ms asymm 7
5: gar23.dlstx.ip.att.net 31161.992ms asymm 7
5: gar23.dlstx.ip.att.net 30287.261ms asymm 7
5: gar23.dlstx.ip.att.net 30287.261ms asymm 7
5: gar23.dlstx.ip.att.net 29391.217ms asymm 7
5: gar23.dlstx.ip.att.net 29391.217ms asymm 7
5: gar23.dlstx.ip.att.net 29391.217ms asymm 7
It looks pretty bad (without data to be able to compare, admittedly), but it seems not to be close to my uplink, but somewhere in the network, perhaps a data center. Which also means, I am likley not the only one being affected by stopping videos, bad voice connections.
So, while the uplink seems fine on the first steps, it very often falls apart on the next steps on the route to destination.
No comments:
Post a Comment