Gentoo Archives: gentoo-mirrors

From: Greg Cornell <greg@×××.edu>
To: gentoo-mirrors@l.g.o
Subject: RE: [gentoo-mirrors] Gentoo Linux 2007.0 and BitTorrent
Date: Fri, 04 May 2007 14:53:54
Message-Id: 00e501c78e5b$d939cb00$8bad6100$@edu
In Reply to: [gentoo-mirrors] Gentoo Linux 2007.0 and BitTorrent by "Robin H. Johnson"
1 Hi Robin,
2
3 I'm happy to serve up the content via whatever protocols Gentoo needs.
4 However, I haven't set up bittorrent before so maybe a short howto on
5 settting up bittorrent (and even checking for the range support in apache)
6 would be helpful.
7
8 Greg
9
10 > -----Original Message-----
11 > From: Robin H. Johnson [mailto:robbat2@g.o]
12 > Sent: Thursday, May 03, 2007 6:44 PM
13 > To: gentoo-mirrors@l.g.o
14 > Cc: wolf31o2@g.o
15 > Subject: [gentoo-mirrors] Gentoo Linux 2007.0 and BitTorrent
16 >
17 > On Thu, May 03, 2007 at 04:34:19PM -0700, Robin H. Johnson wrote:
18 > > Would all mirrors that carry the experimental tree please see my
19 > > follow-up email about BitTorrent HTTP-seeding?
20 >
21 > Hi folks,
22 >
23 > So now stuff on BitTorrent for the 2007.0 release.
24 >
25 > There's two portions to this email, firstly stuff distributed by
26 > BitTorrent only, and then everything else.
27 >
28 > We have 94 torrents in total, 2 of which are only media that is only
29 > being distributed by BitTorrent.
30 >
31 > We needs seeds for all of it, but the bittorrent-only stuff more than
32 > the rest. I have one sponsor offering 50Mbit * 2 weeks for seeding
33 > everything so far.
34 >
35 > In terms of basic structure, there is a .torrent for every .tar.bz2 or
36 > .iso in releases or experimental, containing the core file, plus it's
37 > DIGESTS, signature, and CONTENTS files.
38 >
39 > BitTorrent-only:
40 > 3.7G livedvd-amd64-installer-2007.0/
41 > 3.8G livedvd-i686-installer-2007.0/
42 >
43 > If you're interested in direct BitTorrent seeding (esp. for the above
44 > two, even if you aren't seeding anything else), please give me a shout
45 > so that I can arrange to get them to you.
46 >
47 > Now for the experimental part...
48 >
49 > To help out long-term seeding of the majority of torrents (those that
50 > aren't bittorrent-only), I'd like to take advantage of the newish HTTP-
51 > seeding support of BitTorrent [1].
52 >
53 > HTTP-seeding kicks in at a MUCH lower priority than regular BitTorrent
54 > peering, basically helping clients that cannot contact any other source
55 > for missing pieces. It effectively converts the BitTorrent client to a
56 > slightly-smart HTTP fetcher that then shares the blocks back over
57 > BitTorrent to other clients.
58 >
59 > For all experimental/ mirrors, that means we're adding a directory tree
60 > under experimental/ that has directories containing only symlinks. Your
61 > rsync options will need to have the various symlink-transfer options,
62 > which I think should be in place already.
63 >
64 >
65 > Here's an example of one.
66 > experimental/torrent-symlinks/stage3-x86-2007.0:
67 > lrwxrwxrwx stage3-x86-2007.0.tar.bz2 ->
68 > ../../releases/x86/2007.0/stages/stage3-x86-2007.0.tar.bz2
69 > lrwxrwxrwx stage3-x86-2007.0.tar.bz2.CONTENTS ->
70 > ../../releases/x86/2007.0/stages/stage3-x86-2007.0.tar.bz2.CONTENTS
71 > lrwxrwxrwx stage3-x86-2007.0.tar.bz2.DIGESTS ->
72 > ../../releases/x86/2007.0/stages/stage3-x86-2007.0.tar.bz2.DIGESTS
73 > lrwxrwxrwx stage3-x86-2007.0.tar.bz2.asc ->
74 > ../../releases/x86/2007.0/stages/stage3-x86-2007.0.tar.bz2.asc
75 >
76 > This in itself doesn't make the BitTorrent clients contact you, so even
77 > if you aren't participating, it doesn't cause harm to have it.
78 >
79 > For part two of the HTTP-seeding (eg making the BT clients actually use
80 > the mirrors), I'd like to know which of the experimental mirrors are
81 > interested in being used for HTTP seeding.
82 >
83 > Your webservers will need to support HTTP Range requests for this to
84 > work. The BitTorrent clients will send range requests for 32K..256K
85 > blocks (powers of two only).
86 >
87 > I'll be placing the base potion of your URLs into the .torrent files,
88 > as "$BASEURL/experimental/torrent-symlinks/"
89 >
90 > [1] The actual specification for the HTTP-seeding is here:
91 > http://www.getright.com/seedtorrent.html
92 >
93 > --
94 > Robin Hugh Johnson
95 > Gentoo Linux Developer & Council Member
96 > E-Mail : robbat2@g.o
97 > GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
98
99 --
100 gentoo-mirrors@g.o mailing list