Re: mirror up-to-dateness report
In article <[EMAIL PROTECTED]>, John Labovitz <[EMAIL PROTECTED]> wrote: > here's a perl script i wrote that uses the 'ping' program to find the > 'distance' to a mirror, sorting the sites from closest to farthest. Unfortunately raw ping times are not very well correlated to bandwidth. A better approach is to use the technique implemented by `bing' (I've packaged it), which analyzes the *difference between large and small* pings. Since ping time is the result of a raw latency component (time between first bit sent and first bit received) and a bandwidth component (time between first bit received and last bit received), by using two you can isolate the bandwidth component. Another way of looking at this is to plot an x-y graph of total ping time vs. ping packet size; you want to look at the slope, not the intercept. However, bing uses the fastest small and faster large ping it receives in an attempt to determine actual link characteristics (the size of the smallest pipe between A and B); since the important thing here is available bandwidth, you want to use the average ping times instead. It gets very tricky. A good measurement cannot be done on the fly, because it must be statistical. And finally remember that traffic patterns and even topology do change on a minute-by-minute basis. The only saving point is that a modem or 56k or ISDN line is very slow compared to a well-connected server, so any of them should be able to max out your line. So it doesn't matter all that much which mirror you use. -- Shields, CrossLink. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: mirror up-to-dateness report
[EMAIL PROTECTED] said: > What would you think about a script that checks the > connectivity to a given set of "closest" mirrors based on the "Timezone" > or so and reports the "fastest" mirror available? here's a perl script i wrote that uses the 'ping' program to find the 'distance' to a mirror, sorting the sites from closest to farthest. you need to plug in the list of mirrors, although the program could be easily modified to use a list from standard input. (perhaps the mirrors.txt file could be made more easily machine-readable?) john -CUT HERE- #!/usr/bin/perl -w use strict @sites = split(/\n/, < 0) { $sites{$site} = $distance; } } for $site (sort { $sites{$a} <=> $sites{$b} } keys %sites) { printf("%8d $site\n", $sites{$site}); } ## sub Ping { my ($host) = @_; local *PING; my $distance = 0; open(PING, "ping -n -q -c 1 $host |") || die "Couldn't open pipe to `ping': $!\n"; while () { chop; # round-trip min/avg/max = 1.0/1.0/1.0 ms if (m!^round-trip min/avg/max = ([\d\.]+)/([\d\.]+)/([\d\.]+) ms!) { $distance = int($1); } } close PING; return $distance; } -CUT HERE- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: mirror up-to-dateness report
> > > I am experimenting with a script that audits the up-to-dateness of Debian > > FTP mirror systems. Here's my report so far: > > > These 27 of our 42 listed mirrors are up-to-date. Some may be missing > > from this list because they are more than 24 hours behind the master > > copy of the Debian FTP archive, or they don't allow the PASV FTP > > command (I'll fix my program), or I couldn't contact them this evening, > > or the root of the Debian archive isn't what is listed in > > README.mirrors. This report will become more reliable over the next > > week or so, and will become a regular feature on our web site. > > Great idea! What would you think about a script that checks the > connectivity to a given set of "closest" mirrors based on the "Timezone" > or so and reports the "fastest" mirror available? > Nice idea, but it shouldn't be something that is run on the debian ftp server. It should be run by all us users trying to find a close, fast mirror. Adam Heath [EMAIL PROTECTED] http://www.geocities.com/Siliconvalley/Park/6562/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: mirror up-to-dateness report
Alexander LIST wrote: > Great idea! What would you think about a script that checks the > connectivity to a given set of "closest" mirrors based on the "Timezone" > or so and reports the "fastest" mirror available? Closest to what? The client end or the server end? To be effective, that script should run in the client side, witch would require some kind of instalation and setup. The best way to do it, i think, it would be a small Java applet running in the Debian Web Pages, using a server-based mirror list. As to the Timezone usage, I believe it would be better to base it on traceroute output, not timezone (in my country, for example, for almost an year, the ISP's were not connected to each other, so packets travelling from one to another had to go through the intercontinental links) Anyway, if Bruce could add link speed info for each mirror site in the mirror list it would already be a nice thing and it would give him much less work! :-) Fernando -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: mirror up-to-dateness report
On Wed, 25 Dec 1996, Bruce Perens wrote: > I am experimenting with a script that audits the up-to-dateness of Debian > FTP mirror systems. Here's my report so far: > These 27 of our 42 listed mirrors are up-to-date. Some may be missing > from this list because they are more than 24 hours behind the master > copy of the Debian FTP archive, or they don't allow the PASV FTP > command (I'll fix my program), or I couldn't contact them this evening, > or the root of the Debian archive isn't what is listed in > README.mirrors. This report will become more reliable over the next > week or so, and will become a regular feature on our web site. Great idea! What would you think about a script that checks the connectivity to a given set of "closest" mirrors based on the "Timezone" or so and reports the "fastest" mirror available? -- Alexander List, Neue-Welt-Hoehe 52a, A-8042 Graz, Austria, EU phone: +43-316-474737 Home address: Dafens 4, A-6824 Schlins, Austria, EU phone: +43-5524-8560 mailto:[EMAIL PROTECTED] http://www.sbox.tu-graz.ac.at/home/alexlist -BEGIN PGP PUBLIC KEY BLOCK- Version: 2.6.3i mQCNAzKUShwAAAEEAKSeONtZF24pqL5eK3Q3PHJis0dI3uOKMFjOWwiwSyVyaKHp FCCmHCayDabMVgGUnjHxIUZj7Rmlz5RT1GGKMBSK67yFD0mGVrl8eGoH1bBDviGj S+quQ45SY/upp670EOqrxyp6pJk1uR+RjteFepzZ5am55tEMjGWTYnZjEXP1AAUR tEJBbGV4YW5kZXIgTS4gTGlzdCA8YWxleGxpc3RAc2JveC50dS1ncmF6LmFjLmF0 PiA0NDAyMDIwNzc0IDkzMzI1NTSJAJUDBRAylEocZZNidmMRc/UBAVyBA/9l8Qff Iuva0vmzrE4EbVfgonVjY4BKRVcB5QgxC9PTAILu2/aM4NyT8lOEhCjw4x5wzxLJ Z3FWw3kTe9R/r0RKU49SA1pE7Fge+sbdXH/Z7g+SLZ1myMVX3sZaVFDzhCOO0C7I FA4Izn2zQulIxsxcBaqEV5qIUW58cF7+JbJj6A== =SyLK -END PGP PUBLIC KEY BLOCK- -- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
mirror up-to-dateness report
I am experimenting with a script that audits the up-to-dateness of Debian FTP mirror systems. Here's my report so far: Site NameTimestamp of Debian Archive aij.st.hmc.edu Wed Dec 25 04:20:29 UTC 1996 chaos.xtn.net Wed Dec 25 04:20:29 UTC 1996 debian.med.miami.eduWed Dec 25 04:20:29 UTC 1996 ftp-nog.rutgers.edu Wed Dec 25 04:20:29 UTC 1996 ftp.caldera.com Wed Dec 25 04:20:29 UTC 1996 ftp.debian.org Thu Dec 26 03:57:00 UTC 1996 ftp.debian.org.au Wed Dec 25 18:57:01 UTC 1996 ftp.fuller.edu Wed Dec 25 04:20:29 UTC 1996 ftp.inka.de Thu Dec 26 02:57:02 UTC 1996 ftp.it.com.au Wed Dec 25 04:20:29 UTC 1996 ftp.kulnet.kuleuven.ac.be Wed Dec 25 23:57:01 UTC 1996 ftp.leidenuniv.nl Thu Dec 26 03:57:00 UTC 1996 ftp.lh.umu.se Thu Dec 26 03:57:00 UTC 1996 ftp.mcc.ac.uk Wed Dec 25 23:57:01 UTC 1996 ftp.nluug.nlThu Dec 26 03:57:00 UTC 1996 ftp.rediris.es Wed Dec 25 04:20:29 UTC 1996 ftp.tarki.huWed Dec 25 23:57:01 UTC 1996 ftp.u-bordeaux.fr Wed Dec 25 04:20:29 UTC 1996 ftp.uni-erlangen.de Wed Dec 25 04:20:29 UTC 1996 ftp.uwa.edu.au Wed Dec 25 04:20:29 UTC 1996 linux.if.usp.br Wed Dec 25 04:20:29 UTC 1996 simula.efis.ucr.ac.cr Thu Dec 26 01:57:01 UTC 1996 sun10.sep.bnl.gov Thu Dec 26 04:57:01 UTC 1996 sunsite.icm.edu.pl Wed Dec 25 04:20:29 UTC 1996 sunsite.mff.cuni.cz Wed Dec 25 23:57:01 UTC 1996 sunsite.unc.edu Wed Dec 25 06:57:01 UTC 1996 www.unimelb.edu.au Wed Dec 25 04:20:29 UTC 1996 These 27 of our 42 listed mirrors are up-to-date. Some may be missing from this list because they are more than 24 hours behind the master copy of the Debian FTP archive, or they don't allow the PASV FTP command (I'll fix my program), or I couldn't contact them this evening, or the root of the Debian archive isn't what is listed in README.mirrors. This report will become more reliable over the next week or so, and will become a regular feature on our web site. To check the up-to-dateness of your mirror, read the file "timestamp.txt" in the root of its Debian mirror. Thanks Bruce -- Bruce Perens K6BP [EMAIL PROTECTED] Finger [EMAIL PROTECTED] for PGP public key. PGP fingerprint = 88 6A 15 D0 65 D4 A3 A6 1F 89 6A 76 95 24 87 B3 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]