* [gentoo-user] Is a git based tree going to save me bandwidth and time?
@ 2010-08-03 5:03 Sebastián Ramírez Magrí
2010-08-03 6:31 ` [gentoo-user] " Nikos Chantziaras
2010-08-03 18:11 ` [gentoo-user] " Sergei Trofimovich
0 siblings, 2 replies; 8+ messages in thread
From: Sebastián Ramírez Magrí @ 2010-08-03 5:03 UTC (permalink / raw
To: gentoo-user
Hi folks...
I've been thinking about switching from a rsync based tree to a git
based one cloning [0]. The main reasons because I would do that is in
order to save bandwidth (I've a slow GSM connection in my netbook and
I sync two other gentoo boxes from the first one) and maybe time.
So here goes the question, Is a git based tree really going to save me
an appreciable bandwidth and time on syncing?, Can I keep the same
replication functionality rsync gives me to sync my other boxes?
[0] http://github.com/funtoo/portage/tree/gentoo.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: Is a git based tree going to save me bandwidth and time?
2010-08-03 5:03 [gentoo-user] Is a git based tree going to save me bandwidth and time? Sebastián Ramírez Magrí
@ 2010-08-03 6:31 ` Nikos Chantziaras
2010-08-03 12:52 ` Graham Murray
2010-08-03 14:11 ` Michael Schreckenbauer
2010-08-03 18:11 ` [gentoo-user] " Sergei Trofimovich
1 sibling, 2 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2010-08-03 6:31 UTC (permalink / raw
To: gentoo-user
On 08/03/2010 08:03 AM, Sebastián Ramírez Magrí wrote:
>
> Hi folks...
>
> I've been thinking about switching from a rsync based tree to a git
> based one cloning [0]. The main reasons because I would do that is in
> order to save bandwidth (I've a slow GSM connection in my netbook and
> I sync two other gentoo boxes from the first one) and maybe time.
>
> So here goes the question, Is a git based tree really going to save me
> an appreciable bandwidth and time on syncing?, Can I keep the same
> replication functionality rsync gives me to sync my other boxes?
>
> [0] http://github.com/funtoo/portage/tree/gentoo.org
Git needs to move much less data around than rsync. It only transfers
differences, not whole files.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: Is a git based tree going to save me bandwidth and time?
2010-08-03 6:31 ` [gentoo-user] " Nikos Chantziaras
@ 2010-08-03 12:52 ` Graham Murray
2010-08-03 16:38 ` Florian Philipp
2010-08-03 14:11 ` Michael Schreckenbauer
1 sibling, 1 reply; 8+ messages in thread
From: Graham Murray @ 2010-08-03 12:52 UTC (permalink / raw
To: gentoo-user
Nikos Chantziaras <realnc@arcor.de> writes:
> Git needs to move much less data around than rsync. It only transfers
> differences, not whole files.
But is uses a *lot* more disk space on the systems as each system
contains the full history.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: Is a git based tree going to save me bandwidth and time?
2010-08-03 6:31 ` [gentoo-user] " Nikos Chantziaras
2010-08-03 12:52 ` Graham Murray
@ 2010-08-03 14:11 ` Michael Schreckenbauer
2010-08-03 16:47 ` Florian Philipp
1 sibling, 1 reply; 8+ messages in thread
From: Michael Schreckenbauer @ 2010-08-03 14:11 UTC (permalink / raw
To: gentoo-user
Am Dienstag, 3. August 2010, 08:31:38 schrieb Nikos Chantziaras:
> On 08/03/2010 08:03 AM, Sebastián Ramírez Magrí wrote:
> > Hi folks...
> >
> > I've been thinking about switching from a rsync based tree to a git
> > based one cloning [0]. The main reasons because I would do that is in
> > order to save bandwidth (I've a slow GSM connection in my netbook and
> > I sync two other gentoo boxes from the first one) and maybe time.
> >
> > So here goes the question, Is a git based tree really going to save me
> > an appreciable bandwidth and time on syncing?, Can I keep the same
> > replication functionality rsync gives me to sync my other boxes?
> >
> > [0] http://github.com/funtoo/portage/tree/gentoo.org
>
> Git needs to move much less data around than rsync. It only transfers
> differences, not whole files.
Not true. rsync uses delta-encoding to minimize data transfers.
Regards
Michael
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: Is a git based tree going to save me bandwidth and time?
2010-08-03 12:52 ` Graham Murray
@ 2010-08-03 16:38 ` Florian Philipp
0 siblings, 0 replies; 8+ messages in thread
From: Florian Philipp @ 2010-08-03 16:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
Am 03.08.2010 14:52, schrieb Graham Murray:
> Nikos Chantziaras <realnc@arcor.de> writes:
>
>> Git needs to move much less data around than rsync. It only transfers
>> differences, not whole files.
>
> But is uses a *lot* more disk space on the systems as each system
> contains the full history.
>
While your statement is correct, you can still avoid having the whole
history and make a shallow clone. It just doesn't help much because you
still need all the metadata:
http://blogs.gnome.org/simos/2009/04/18/git-clones-vs-shallow-git-clones/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: Is a git based tree going to save me bandwidth and time?
2010-08-03 14:11 ` Michael Schreckenbauer
@ 2010-08-03 16:47 ` Florian Philipp
0 siblings, 0 replies; 8+ messages in thread
From: Florian Philipp @ 2010-08-03 16:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
Am 03.08.2010 16:11, schrieb Michael Schreckenbauer:
> Am Dienstag, 3. August 2010, 08:31:38 schrieb Nikos Chantziaras:
>> On 08/03/2010 08:03 AM, Sebastián Ramírez Magrí wrote:
[...]
>>
>> Git needs to move much less data around than rsync. It only transfers
>> differences, not whole files.
>
> Not true. rsync uses delta-encoding to minimize data transfers.
>
Not necessarily true: Many (all?) public gentoo mirrors deactivate
delta-encoding in order to limit CPU-utilization. I would also guess
that git's delta encoding has a much finer granularity because it works
on lines (in text files) while rsync is designed to work on binary data.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Is a git based tree going to save me bandwidth and time?
2010-08-03 5:03 [gentoo-user] Is a git based tree going to save me bandwidth and time? Sebastián Ramírez Magrí
2010-08-03 6:31 ` [gentoo-user] " Nikos Chantziaras
@ 2010-08-03 18:11 ` Sergei Trofimovich
2010-08-03 19:57 ` [gentoo-user] " Sebastián Ramírez Magrí
1 sibling, 1 reply; 8+ messages in thread
From: Sergei Trofimovich @ 2010-08-03 18:11 UTC (permalink / raw
To: gentoo-user; +Cc: sebasmagri
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
Hi Sebastián,
> I've been thinking about switching from a rsync based tree to a git
> based one cloning [0]. The main reasons because I would do that is in
> order to save bandwidth (I've a slow GSM connection in my netbook and
> I sync two other gentoo boxes from the first one) and maybe time.
When I had awfully slow internet I used to use app-portage/emerge-delta-webrsync.
emerge-delta-webrsync recreates portage tarball from previous state and patches.
It usually takes about 300KB (one patch size) per day.
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: Is a git based tree going to save me bandwidth and time?
2010-08-03 18:11 ` [gentoo-user] " Sergei Trofimovich
@ 2010-08-03 19:57 ` Sebastián Ramírez Magrí
0 siblings, 0 replies; 8+ messages in thread
From: Sebastián Ramírez Magrí @ 2010-08-03 19:57 UTC (permalink / raw
To: gentoo-user
Sergei Trofimovich <slyfox@gentoo.org> writes:
> Hi Sebastián,
>
>> I've been thinking about switching from a rsync based tree to a git
>> based one cloning [0]. The main reasons because I would do that is in
>> order to save bandwidth (I've a slow GSM connection in my netbook and
>> I sync two other gentoo boxes from the first one) and maybe time.
>
> When I had awfully slow internet I used to use app-portage/emerge-delta-webrsync.
> emerge-delta-webrsync recreates portage tarball from previous state and patches.
> It usually takes about 300KB (one patch size) per day.
I've been using delta-webrsync to update the _main node_ too. I think
git can't really beat delta-webrsync... Will try to do some bandwith
benchmarks and post the results asap...
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-08-03 19:57 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 5:03 [gentoo-user] Is a git based tree going to save me bandwidth and time? Sebastián Ramírez Magrí
2010-08-03 6:31 ` [gentoo-user] " Nikos Chantziaras
2010-08-03 12:52 ` Graham Murray
2010-08-03 16:38 ` Florian Philipp
2010-08-03 14:11 ` Michael Schreckenbauer
2010-08-03 16:47 ` Florian Philipp
2010-08-03 18:11 ` [gentoo-user] " Sergei Trofimovich
2010-08-03 19:57 ` [gentoo-user] " Sebastián Ramírez Magrí
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox