Mercurial is slow on Macs on certain networks, except to altssh on port 443 (BB-9450)

XMLWordPrintable

      Hg pull, push, incoming and outgoing, etc. commands regularly take around a minute to complete on our private and paid for company repos (account: exmachina).

      The repos I use are generally not large (around 10MB).

      There seems to be some sort of caching involved as often, after a few successive commands the speed improves. At such a time the performance can reach a normal level where commands only take a couple of seconds to complete.

      I use https to access the repos.

      Strangely, when I access the same repos through the web interface I do not experience similar lag.

      Here's a traceroute (I've done a few and haven't seen any noticeable spikes in those):

      #!sh
      $ traceroute -I bitbucket.org
      traceroute: Warning: bitbucket.org has multiple addresses; using 131.103.20.168
      traceroute to bitbucket.org (131.103.20.168), 64 hops max, 72 byte packets
       1  my.router (192.168.1.1)  0.665 ms  0.470 ms  0.262 ms
       2  10.15.212.129 (10.15.212.129)  7.881 ms  6.724 ms  19.322 ms
       3  212.142.62.113 (212.142.62.113)  12.334 ms  10.917 ms  13.244 ms
       4  nl-ams05a-rd2-ae-80-2370.aorta.net (84.116.244.81)  163.291 ms  175.255 ms  167.327 ms
       5  us-nyc01b-rd1-gi-2-0-0.aorta.net (84.116.130.26)  90.364 ms  91.200 ms  91.374 ms
       6  84.116.138.14 (84.116.138.14)  161.056 ms  159.259 ms  168.128 ms
       7  xe-0.equinix.snjsca04.us.bb.gin.ntt.net (206.223.116.12)  166.726 ms  161.943 ms  158.872 ms
       8  ae-7.r20.snjsca04.us.bb.gin.ntt.net (129.250.5.52)  160.993 ms  161.075 ms  160.817 ms
       9  ae-4.r21.asbnva02.us.bb.gin.ntt.net (129.250.4.102)  165.035 ms  162.992 ms  166.396 ms
      10  ae-2.r00.asbnva02.us.bb.gin.ntt.net (129.250.3.114)  166.690 ms  171.999 ms
          ae-2.r04.asbnva02.us.bb.gin.ntt.net (129.250.4.207)  164.477 ms
      11  xe-6-2.r01.asbnva03.us.bb.gin.ntt.net (129.250.3.131)  164.463 ms
          xe-6-2.r00.asbnva03.us.bb.gin.ntt.net (129.250.3.153)  169.676 ms  169.231 ms
      12  po-2.a00.asbnva03.us.da.verio.net (129.250.29.130)  160.125 ms  162.517 ms
          po-1.a00.asbnva03.us.da.verio.net (129.250.27.130)  164.564 ms
      13  131.103.20.156 (131.103.20.156)  168.944 ms  166.811 ms  166.683 ms
      14  131.103.20.168 (131.103.20.168)  169.724 ms  160.493 ms  168.697 ms
      

              Assignee:
              evzijst
              Reporter:
              Peter Paul Ex Machina
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: