All,
I am curious about how the mirrors are load balanced...
For example, when I do my own "yum update" on the very machine that hosts the mirror, it determines that my localhost machine isn't the fastest site. In fact, I don't get as much traffic as I had anticipated in general.
If this is explained elsewhere, please excuse my not RTFM'ing.
Thanks in Advance,
John
John Ricketts kirjoitti:
I am curious about how the mirrors are load balanced...
For example, when I do my own "yum update" on the very machine that hosts the mirror, it determines that my localhost machine isn't the fastest site. In fact, I don't get as much traffic as I had anticipated in general.
If this is explained elsewhere, please excuse my not RTFM'ing.
For those using the yum-fastestmirror plugin, the fastest mirror is determined by the time it takes to resolve the mirror name and to connect to the server's TCP port. In particular, it does not measure the bandwidth from the mirror. This method isn't perfect, but it does usually pick one of the nearest mirrors. Sometimes there are some oddities, as you have noticed.
Try sort -k 2 /var/cache/yum/x86_64/6/timedhosts.txt or sort -k 2 /var/cache/yum/timedhosts.txt , those commands will list the connection times to the mirrors yum knows about, sorted by measured connection time.
http://miuku.net/tmp/testconnectiontime.py.txt can be used for running connection time benchmarks on your own. That script has been extracted from yum-fastestmirror.
Thank you :-)
On Aug 26, 2012, at 10:10, "Anssi Johansson" centos@miuku.net wrote:
John Ricketts kirjoitti:
I am curious about how the mirrors are load balanced...
For example, when I do my own "yum update" on the very machine that hosts the mirror, it determines that my localhost machine isn't the fastest site. In fact, I don't get as much traffic as I had anticipated in general.
If this is explained elsewhere, please excuse my not RTFM'ing.
For those using the yum-fastestmirror plugin, the fastest mirror is determined by the time it takes to resolve the mirror name and to connect to the server's TCP port. In particular, it does not measure the bandwidth from the mirror. This method isn't perfect, but it does usually pick one of the nearest mirrors. Sometimes there are some oddities, as you have noticed.
Try sort -k 2 /var/cache/yum/x86_64/6/timedhosts.txt or sort -k 2 /var/cache/yum/timedhosts.txt , those commands will list the connection times to the mirrors yum knows about, sorted by measured connection time.
http://miuku.net/tmp/testconnectiontime.py.txt can be used for running connection time benchmarks on your own. That script has been extracted from yum-fastestmirror. _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
IPv6 address for mirror.quintex.com is now 2001:470:bbbf::62
Thank you.
On Aug 26, 2012, at 10:11, "John Ricketts" john@quintex.com wrote:
Thank you :-)
On Aug 26, 2012, at 10:10, "Anssi Johansson" centos@miuku.net wrote:
John Ricketts kirjoitti:
I am curious about how the mirrors are load balanced...
For example, when I do my own "yum update" on the very machine that hosts the mirror, it determines that my localhost machine isn't the fastest site. In fact, I don't get as much traffic as I had anticipated in general.
If this is explained elsewhere, please excuse my not RTFM'ing.
For those using the yum-fastestmirror plugin, the fastest mirror is determined by the time it takes to resolve the mirror name and to connect to the server's TCP port. In particular, it does not measure the bandwidth from the mirror. This method isn't perfect, but it does usually pick one of the nearest mirrors. Sometimes there are some oddities, as you have noticed.
Try sort -k 2 /var/cache/yum/x86_64/6/timedhosts.txt or sort -k 2 /var/cache/yum/timedhosts.txt , those commands will list the connection times to the mirrors yum knows about, sorted by measured connection time.
http://miuku.net/tmp/testconnectiontime.py.txt can be used for running connection time benchmarks on your own. That script has been extracted from yum-fastestmirror. _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
[offlist]
John Ricketts kirjoitti:
IPv6 address for mirror.quintex.com is now 2001:470:bbbf::62
This doesn't seem to be working:
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 www Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 ftp Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 rsync Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied
ugh. one moment. thanks for the heads up
On Aug 26, 2012, at 10:45, "Anssi Johansson" centos@miuku.net wrote:
[offlist]
John Ricketts kirjoitti:
IPv6 address for mirror.quintex.com is now 2001:470:bbbf::62
This doesn't seem to be working:
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 www Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 ftp Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 rsync Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Anssi,
Would you please try now?
Thanks!
John
On Aug 26, 2012, at 10:46, "John Ricketts" john@quintex.com wrote:
ugh. one moment. thanks for the heads up
On Aug 26, 2012, at 10:45, "Anssi Johansson" centos@miuku.net wrote:
[offlist]
John Ricketts kirjoitti:
IPv6 address for mirror.quintex.com is now 2001:470:bbbf::62
This doesn't seem to be working:
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 www Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 ftp Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied
[anssi@villisika ~]$ telnet 2001:470:bbbf::62 rsync Trying 2001:470:bbbf::62... telnet: connect to address 2001:470:bbbf::62: Permission denied _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Does CentOS project have any plan to add a load balancing function by using some software?(Sorry I don't know which has this function)
I asked a similar question a few weeks back. Karanbi commented that there are plans to move to MirrorManager which provides very cool features and smarter logic in the load balancing of mirrors. Some of the other projects we mirror utilise MirrorManager and the abilities of them are very cool.
Guess we just have to wait and see.
- Seamus From: centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org] On Behalf Of Christopher Meng Sent: Monday, 27 August 2012 9:35 AM To: Mailing list for CentOS mirrors. Subject: Re: [CentOS-mirror] Question about Mirror load Ddistribution
Does CentOS project have any plan to add a load balancing function by using some software?(Sorry I don't know which has this function)
--
Yours sincerely, Christopher Meng
Ambassador/Contributor of Fedora Project and many others. http://cicku.me