login
Header Space

 
 

Re: [Census] So who uses git?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Morten Welinder <mwelinder@...>
Cc: <git@...>
Date: Saturday, January 28, 2006 - 11:53 pm

Morten Welinder <mwelinder@gmail.com> writes:


I might have sounded as if I was looking for failure report, but
success stories are of course welcome ;-).  It's always good to
hear their git experiences first-hand from people in the top
echelon of public projects.


I think that 40% sounds about right.  My understanding of the
underlying format CVS uses, RCS, is that it stores an full copy
of the tip of trunk uncompressed, and other versions of the file
are represented as incremental delta from that.  The packed git
format does not favor particular version based on the distance
from the tip, and stores either a compressed full copy, or a
delta from some other revision (which may not necessarily be
represented as a full copy).  When we store something as a delta
from something else, we limit the length of the delta chain to a
full copy to 10 (by default), so that you can get to a specific
object with at most 10 applications of delta on top of a full
copy.

Comparing these two formats for storage efficiency is tricky:

 - A full copy of the version at the tip in CVS is not
   compressed but in git a full copy is compressed -- zlib gives
   50% for typical text sources -- git has some advantage here.

 - Because of delta-length limit, we store full copy, albeit
   compressed [*1*], every ten or so versions.  This trades off
   storage effciency for run-time efficiency.

 - CVS storage records most things as delta for a long-lived
   project, and delta are less compressible (IOW, you could
   think of them as already compressed somewhat), so it is not
   _that_ inefficient to begin with.

 - Delta representation is used only when representing something
   as a delta from something else buys as enough space reduction
   than compressing it as a full copy in git.  This is a pure
   improvement from the CVS format.

[Footnote]

*1* You could make different trade-off by using --depth flag
when running git-pack-objects.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Census] So who uses git?, Junio C Hamano, (Sat Jan 28, 5:08 pm)
Re: [Census] So who uses git?, Carl Baldwin, (Mon Jan 30, 2:58 pm)
Re: [Census] So who uses git?, H. Peter Anvin, (Wed Feb 1, 3:32 pm)
Re: [Census] So who uses git?, Johannes Schindelin, (Tue Jan 31, 6:27 am)
Re: [Census] So who uses git?, Daniel Barkalow, (Tue Jan 31, 7:16 pm)
Re: [Census] So who uses git?, Junio C Hamano, (Tue Jan 31, 7:47 pm)
Re: [Census] So who uses git?, Linus Torvalds, (Tue Jan 31, 8:38 pm)
Re: [Census] So who uses git?, Junio C Hamano, (Wed Feb 1, 2:42 am)
Re: [Census] So who uses git?, Nicolas Pitre, (Wed Feb 1, 1:18 pm)
Re: [Census] So who uses git?, Linus Torvalds, (Wed Feb 1, 1:11 pm)
Re: [Census] So who uses git?, Carl Worth, (Wed Feb 1, 3:22 am)
Re: [Census] So who uses git?, Junio C Hamano, (Wed Feb 1, 4:26 am)
Re: [Census] So who uses git?, Randal L. Schwartz, (Wed Feb 1, 5:59 am)
Re: [Census] So who uses git?, Junio C Hamano, (Wed Feb 1, 4:48 pm)
Re: [Census] So who uses git?, Daniel Barkalow, (Tue Jan 31, 10:19 pm)
Re: [Census] So who uses git?, Junio C Hamano, (Tue Jan 31, 8:52 pm)
Re: [Census] So who uses git?, Petr Baudis, (Tue Jan 31, 7:36 pm)
Re: [Census] So who uses git?, Linus Torvalds, (Tue Jan 31, 1:30 pm)
Re: [Census] So who uses git?, H. Peter Anvin, (Wed Feb 1, 3:34 pm)
Re: [Census] So who uses git?, Keith Packard, (Tue Jan 31, 3:01 pm)
Re: [Census] So who uses git?, Sam Ravnborg, (Tue Jan 31, 4:56 pm)
Re: [Census] So who uses git?, Linus Torvalds, (Tue Jan 31, 3:21 pm)
Re: [Census] So who uses git?, Joel Becker, (Tue Jan 31, 6:55 pm)
Re: [Census] So who uses git?, Johannes Schindelin, (Wed Feb 1, 10:43 am)
Re: [Census] So who uses git?, J. Bruce Fields, (Tue Jan 31, 2:12 pm)
Re: [Census] So who uses git?, Carl Baldwin, (Tue Jan 31, 11:24 am)
Re: [Census] So who uses git?, Johannes Schindelin, (Tue Jan 31, 11:31 am)
Re: [Census] So who uses git?, Dave Jones, (Sun Jan 29, 2:37 pm)
Re: [Census] So who uses git?, Daniel Barkalow, (Sun Jan 29, 4:17 pm)
Re: [Census] So who uses git?, Mike McCormack, (Mon Jan 30, 11:23 am)
Re: [Census] So who uses git?, Martin Langhoff, (Sun Jan 29, 4:29 pm)
Re: [Census] So who uses git?, Keith Packard, (Sun Jan 29, 6:09 am)
Re: [Census] So who uses git?, Radoslaw Szkodzinski, (Sun Jan 29, 7:18 am)
Re: [Census] So who uses git?, Alex Riesen, (Mon Jan 30, 6:51 pm)
Re: [Census] So who uses git?, Linus Torvalds, (Tue Jan 31, 5:25 pm)
Re: [Census] So who uses git?, Alex Riesen, (Tue Jan 31, 6:01 pm)
Re: [Census] So who uses git?, J. Bruce Fields, (Tue Jan 31, 5:52 pm)
Re: [Census] So who uses git?, Greg KH, (Sun Jan 29, 2:12 pm)
Re: [Census] So who uses git?, Radoslaw Szkodzinski, (Tue Jan 31, 2:33 pm)
Re: [Census] So who uses git?, Radoslaw Szkodzinski, (Tue Jan 31, 3:50 pm)
Re: [Census] So who uses git?, Junio C Hamano, (Tue Jan 31, 4:43 pm)
Re: [Census] So who uses git?, Radoslaw Szkodzinski, (Tue Jan 31, 5:02 pm)
Re: [Census] So who uses git?, Morten Welinder, (Sat Jan 28, 10:14 pm)
Re: [Census] So who uses git?, Junio C Hamano, (Sat Jan 28, 11:53 pm)
Re: [Census] So who uses git?, Morten Welinder, (Sun Jan 29, 10:19 am)
speck-geostationary