1 |
> Noodling around I found a gentoo server at: |
2 |
> http://open-systems.ufl.edu/mirrors/gentoo/ |
3 |
> |
4 |
> I'm not sure if I can use this in my make.conf file? |
5 |
|
6 |
If it's complete you should be able to use it. If it's not a publicized |
7 |
mirror then there could be many reasons why. For example, they might not |
8 |
sync the mirror as frequently as other sites or have a limitation on the |
9 |
number of concurrent users. Could also be meant only as an internal sync |
10 |
mirror (I use an internal mirror to sync my internal gentoo systems |
11 |
against). |
12 |
|
13 |
> If so, what would the setting look like? |
14 |
|
15 |
Add the URL for everything up to the "distfiles" directory. If distfiles is |
16 |
in the /mirrors/gentoo directory, then you can add the URL as you've listed |
17 |
above to GENTOO_MIRRORS line. |
18 |
|
19 |
> Hopes are that is closer than my current mirrors. |
20 |
> |
21 |
> Is there an a method/software to test which mirrors |
22 |
> are the fastest? |
23 |
|
24 |
The handbook recommends using mirrorselect. Use that to identify your |
25 |
closest mirrors. As a word of advice I would try to time the mirrorselect |
26 |
run with when you plan on actually syncing the system; a mirror may appear |
27 |
to be slow during the day when you run mirrorselect but actually be faster |
28 |
when syncing at 3am. |
29 |
|
30 |
|
31 |
> I have this setting on some gentoo systems: |
32 |
> SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" |
33 |
> |
34 |
> Should it be added to all my gentoo systems and how does |
35 |
> the 'SYNC' setting affect/interact with specific |
36 |
> GENTOO_MIRRORS settings? |
37 |
|
38 |
SYNC is used to define the rsync server to get the portage mirror from. You |
39 |
probably do not want to use any value in there (portage will pick the |
40 |
appropriate one at runtime). The sync mirror and the gentoo mirrors serve |
41 |
different things, namely the portage data versus the distfiles. |
42 |
|
43 |
> 'mirrorselect' detail documentation seems to elude me, |
44 |
> and I'm not even sure this tools is useful to evaluate |
45 |
> the closest/fastest mirror or rsync host. Hell, I'm |
46 |
> not even sure what the main/functional difference is |
47 |
> between a mirror and a rsync host? |
48 |
|
49 |
Rsync is used to remotely sync a filesystem. The portage tree, for example, |
50 |
is not a single file to be downloaded but a remote filesystem that needs to |
51 |
be copied to your system. Rsync is optimized to only pull remote files that |
52 |
are different from those in your local /usr/portage directory. |
53 |
|
54 |
Mirrorselect is used to find the closest/fastest distfiles mirror. The |
55 |
distfiles are the actual source package files that are downloaded to build |
56 |
the packages on your system. |
57 |
|
58 |
> confused on optimizing gentoo downloads.... |
59 |
|
60 |
The first thing you can do to significantly optimize internal gentoo |
61 |
downloads is to set up your own mirror system. I use that for my systems |
62 |
and it's pretty easy to set up. The gentoo wiki has all of the details. |
63 |
Basically I've got a server system that: |
64 |
|
65 |
a) at 1am runs emerge --sync to sync portage against the public mirrors. |
66 |
b) runs rsyncd to make the server's portage tree available to the internal |
67 |
gentoo systems. |
68 |
c) runs http-replicator as a download proxy. All internal gentoo systems |
69 |
use the server as the proxy - actual internet downloads occur only once, |
70 |
after that the cached copy is returned. There is only a delay for the |
71 |
initial download, the rest are almost instantaneous. |
72 |
|
73 |
I'm sure you'll get recommendations for using NFS as the portage tree, |
74 |
synced by a primary system and exported to the other internal systems. |
75 |
While this will work, I personally don't like it because a) NFS is a huge |
76 |
network hog and b) if the serving system is not available the remote gentoo |
77 |
systems don't have the portage tree available. However, if disk space is an |
78 |
issue for you this might be the way to go. |
79 |
|
80 |
|
81 |
|
82 |
-- |
83 |
gentoo-user@g.o mailing list |