Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use mirrorselect to find the fastest sourceforge mirror?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 263

PostPosted: Sun Nov 30, 2014 9:11 am    Post subject: Use mirrorselect to find the fastest sourceforge mirror? Reply with quote

I want to auto select the fastest sourceforge mirror, can gentoo mirrorselect be used to do this job? how?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Dec 04, 2014 4:53 pm    Post subject: Re: Use mirrorselect to find the fastest sourceforge mirror? Reply with quote

fpemud wrote:
I want to auto select the fastest sourceforge mirror, can gentoo mirrorselect be used to do this job? how?

fpemud ... yes, you can use the '-b BLOCKSIZE' switch in order to test the download speed of 'BLOCKSIZE' from the mirror(s) (see the mirrorselect manpage). Obviously such tests will only provide you with the fastest mirror(s) based on variables existant at the time the test was carried out ... but it should be fairly consistant.

So, for example, to select the fastest 4 mirrors by downloading 100k from each mirror provided by mirrorselect:

Code:
# mirrorselect -s4 -b10 -o -D >> /etc/portage/make.conf

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum