http://www.techiecorner.com/113/centos-install-yum-fastest-mirror-plugin-for-faster-connection-update/
yum fastest mirror plugin (yum-plugin-fastestmirror) sound interesting? Want to try?
To install yum fastest mirror plugin (yum-plugin-fastestmirror) you can use this command:-
yum install yum-plugin-fastestmirroror
yum install yum-fastestmirror
Once the installation completed, you have to edit the file /etc/yum.conf and add the following line to the file:
plugins=1