Wednesday, July 22, 2009

centos yum fastestmirror

installed fastestmirror plugin , but still slow at 10kb/s.

check my root@localhost pluginconf.d]# cat /var/cache/yum/timedhosts.txt
ftp.riken.jp 0.161697864532
ftp.yz.yamagata-u.ac.jp 0.213155031204
ftp.oss.eznetsols.org 99999999998
ftp.iij.ad.jp 0.18056511879
mirror.averse.net 0.159833192825
mirror.nus.edu.sg 0.244224071503
ftp.nara.wide.ad.jp 0.163350105286
rsync.atworks.co.jp 0.171188831329
ftp.jaist.ac.jp 0.156664848328
www.ftp.ne.jp 0.525522947311
mirror.usonyx.net 0.160475969315

many sites are from Japan, while I am in singapore.

decide to exclude .jp sites by set "exclude=.gov, facebook, .jp" in
[root@localhost pluginconf.d]# cat fastestmirror.conf
[main]
enabled=1
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15
exclude=.gov, facebook, .jp


cheers, now can see at least 150kb/s. that is 15 times.

also notice one site is available , will exclude it also.

22:04:54 : Downloading Packages:
22:05:26 : Failure getting http://mirror.averse.net/centos/5.3/os/x86_64/CentOS/gnome-keyring-devel-0.6.0-1.fc6.i386.rpm:
22:05:26 : --> [Errno 12] Timeout:
22:05:26 : Trying other mirror.