/srv/irclogs.ubuntu.com/2023/05/17/#ubuntu-mirrors.txt

tomreynand still https://paste.debian.net/plainh/f123e87f18:03
tomreynhowever, https://status.canonical.com/ says "archive.ubuntu.com" is happy.18:06
sarnoldtomreyn: is that really a factor of 50 difference from the fastest to the slowest?18:27
tomreynsarnold: yes18:27
sarnoldcripes18:27
tomreynon this single not too reliable test18:27
tomreynthe script should be on github.com/tomreyn/scripts or something18:28
tomreyni just ran it again, now it's just factor 2518:29
sarnoldoh niiiiiice. I use one of yours all the time, I called it check_mirrors_last_modified_at_url .. somehow I don't remember this repo though :)18:30
tomreynthis stuff is completely buggy, dont expect too much ;)18:30
sarnoldI sure didn't expect curl -w :) I don't thikn I've seen that before18:30
sarnoldtomreyn: https://termbin.com/ucd518:32
tomreynyour routing is too good18:34
tomreyncheater18:34
tomreynyou're probably itting next to that cdn, dont you?18:35
tomreyn* sitting18:35
tomreynor knitting18:36
tomreynhmm wait, you have varying response sizes18:36
tomreyngot a proxy?18:37
tomreynhmm, now they're all fast here, too18:55
tomreynbut i have "response size (body): 25021109B" everywhere, not sure why yours would differ, sarnold 18:56
sarnoldtomreyn: hey yeah why *are* they so much smaller???19:05
sarnoldrequesting that url with just curl http://archive.ubuntu.com/ubuntu/ls-lR.gz | wc   shows more expected results, 99637  545603 2502110919:06
tomreynsarnold: this will print the commands run, and likely point to my mirtake: bash -x check_mirrors_speed_at_url http://archive.ubuntu.com/ubuntu/ls-lR.gz19:07
sarnoldtomreyn: I can't spot anything ;( https://termbin.com/t6a119:08
tomreynhmm maybe it's a matter of http 1.1 vs 2 or something19:10
tomreyni just finished a large project at work, not in the right mood to debug my scripts ;) but happily on the weekend19:10
sarnoldoo, congrats :)19:11
tomreynhehe, thanks19:12
cmisaretomreyn: i think it might be related to curl trying to write partial binary downloads to pipes. i can reproduce at https://pastebin.ubuntu.com/p/3vhY24dQhT/ but adding a "-o /dev/null" to curl seems to bring consistency to the requests19:21
tomreynah, thanks cmisare! i did push an update doing exactly that some minutes ago.19:22
tomreyni guess i want --no-buffer19:24
sarnoldprobably not, the idea is to the throw away the results :)19:27
sarnoldcmisare: awesome debugging :)19:28
sarnoldtomreyn: this is much more like it! https://termbin.com/g0lj19:28
tomreynsarnold: much more consistent, nice. just the speed averages are printed in a different format for you, with 3 decimals19:31
tomreynis this a different curl version? https://termbin.com/tb2a19:32
tomreynor maybe it's your locale / shell19:32
sarnoldtomreyn: heh yeah, I thought ihad a good connection, but .3s to download ls-lR.gz sounded too good to be true .. but not enough for me to read it closely :)19:32
sarnoldcurl 7.68.0  here (on focal)19:33
sarnoldLANG=en_US.UTF-819:33
sarnoldLC_TIME=C19:33
tomreynLC_NUMERIC="en_US.UTF-8" + LC_MEASUREMENT="en_US.UTF-8" also?19:34
sarnoldyeah, probably they just inherit LANG19:35
tomreyni have LC_TIME="en_US.UTF-8" (not C) but i think this applied to actuall wall clock time only.19:35
sarnoldI set mine to C because date -u started doing stupid things19:35
tomreynlike AM/PM? ;)19:36
tomreynanyways, i think the original issue is no longer / not currently present, mirrors are doing fine.19:36
tomreynthanks for debugging my script, though :)19:37
sarnoldwoot!19:37

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!