[MacPorts] #49452: rsync.macports.org is very slow

MacPorts noreply at macports.org
Tue Oct 27 02:17:11 PDT 2015


#49452: rsync.macports.org is very slow
-----------------------------+---------------------
  Reporter:  lpancescu@…     |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by lpancescu@…):

 Replying to [comment:2 ryandesign@…]:
 > Is fetching distfiles from distfiles.macports.org slow as well? That's
 the same server.

 I used curl to see how fast I can get the directory index, which is big
 enough to measure:
 {{{
 $ curl --compressed http://distfiles.macports.org > /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 1814k    0 1814k    0     0  22508      0 --:--:--  0:01:22 --:--:--
 32004
 }}}

 The same without compression, in case the server is under high CPU load:
 {{{
 $ curl http://distfiles.macports.org > /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 1814k    0 1814k    0     0  20980      0 --:--:--  0:01:28 --:--:--
 42839
 }}}

 I also performed the Vultr speed test, downloading 100MB from their
 Silicon Valley data center (I guess San Jose is not that far from San
 Francisco), to see if there are general network issues:
 {{{
 $ curl --compressed http://sjo-ca-us-ping.vultr.com/vultr.com.100MB.bin -o
 /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100  100M  100  100M    0     0  1499k      0  0:01:08  0:01:08 --:--:--
 1588k
 }}}

 Download the directory index from the Korean mirror, since Seattle seems
 down:
 {{{
 $ curl --compressed http://cjj.kr.distfiles.macports.org > /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 1357k  100 1357k    0     0   311k      0  0:00:04  0:00:04 --:--:--
 311k
 }}}

 I'm using MacPorts since the beginning of 2010, and rsync.macports.org was
 always very fast for me; I first noticed "port selfupdate" taking longer
 and longer sometime last year, so I switched to the French mirror without
 looking into what actually happens (until last Saturday).

 Would it be difficult to allow the user to select a mirror in the
 installer, in case rsync.macports.org cannot be fixed?

-- 
Ticket URL: <https://trac.macports.org/ticket/49452#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list