On Sep 26, 2007, at 7:24 PM, [EMAIL PROTECTED] wrote:
What about a user-initiated step (port test-mirrors?), cached into one of the .conf files, that would simply compare ping results among the available mirrors. It could simply store the fastest mirror as the one to use. A user might be able to re-run the test periodically to determine the current fastest mirrors.

Lots of places misguidedly block or filter ICMP. ... but you could probably create a reasonable implementation.

Perhaps we could follow some of the work done to find the fastest FreeBSD cvsup servers...

<http://ipucu.enderunix.org/view.php?id=553&lang=en>

We already retain a list of mirrors for a given id (sourceforge, gnu, etc.), so we know the servers to query. MacPorts could store a "preferred mirror" for each id based on the fastest ping results.

I look forward to seeing the patch ;-)
--
Daniel J. Luke
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to