From: Karl Trygve Kalleberg <karltk@gentoo.org>
To: gentoo-dev@robin.gentoo.org
Subject: Re: [gentoo-dev] Proposal for an alternative portage tree sync method
Date: Thu, 24 Mar 2005 15:11:35 +0100 [thread overview]
Message-ID: <4242CA97.10904@gentoo.org> (raw)
In-Reply-To: <200503220715.02669.gentoo-dev@wizy.org>
Ricardo Correia wrote:
> Hi,
> Please read the following proposal, I think you'll be interested:
>
> http://forums.gentoo.org/viewtopic-p-2218914.html
I find this to be a very intriguing idea for several reasons:
1) If you're behind a restrictive firewall, you're a lot better off
with zsync than webrsync.
2) Presumably, the CPU load on the server will be a lot better for
zsync scheme than for rsync: the client does _all_ the computation,
server only pushes files. I suspect this will make the rsync servers
bandwidth bound rather than CPU bound, but more testing is required
before we have hard numbers on this.
3) You'll download only one file (an .ISO) and you can actually just
mount this on /usr/portage (or wherever you want your PORTDIR).
If you have (g)cloop installed, it may even be mounted over a
compressed loopback. A full ISO of the porttree is ~300MB,
compressed it's ~29MB.
4) It's easy to add more image formats to the server. If you compress
the porttree snapshot into squashfs, the resulting image is
~22MB, and this may be mounted directly, as recent gentoo-dev-sources
has squashfs support built-in.
5) The zsync program itself only relies on glibc, though it does not
support https, socks and other fancy stuff.
On the downside, as Portage does not have pluggable rsync (at least not
without further patching), you won't be able to do FEATURES="zsync"
emerge sync.
For interested parties: I am field-testing this on
gentooexperimental.org. Plain ISOs work now, as do squashfs images.
Compressed isos are still untested, as I don't have the cloop kernel
module installed.
I'll get back with more details in a bit when we're ready for more
widespread testing.
> If you could reply in the forum, it would be great :)
I don't believe in forums;)
-- Karl T
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-03-24 14:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-22 7:15 [gentoo-dev] Proposal for an alternative portage tree sync method Ricardo Correia
2005-03-22 12:45 ` Daniel Drake
2005-03-22 12:59 ` Paul Waring
2005-03-22 13:22 ` Francesco Riosa
2005-03-22 15:03 ` Simon Stelling
2005-03-22 14:39 ` Stroller
2005-03-22 23:58 ` Ricardo Correia
2005-03-22 23:58 ` Ricardo Correia
2005-03-23 11:15 ` Fabian Zeindl
2005-03-23 18:03 ` Marius Mauch
2005-03-22 13:55 ` Patrick Lauer
2005-03-22 15:19 ` Simon Stelling
2005-03-22 23:58 ` Ricardo Correia
2005-03-23 22:15 ` Nick Rout
2005-03-23 22:49 ` Ricardo Correia
2005-03-24 14:11 ` Karl Trygve Kalleberg [this message]
2005-03-25 7:57 ` Brian Harring
2005-03-26 12:45 ` Karl Trygve Kalleberg
2005-03-27 19:03 ` Brian Harring
2005-03-28 13:04 ` Petteri Räty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4242CA97.10904@gentoo.org \
--to=karltk@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=gentoo-dev@robin.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox