Re: Mercurial vs Updated git HOWTO for kernel hackers

From: Matt Mackall (mpm_at_selenic.com)
Date: 06/29/05

  • Next message: Grzegorz Kulewski: "Re: [patch] latest inotify."
    Date:	Tue, 28 Jun 2005 15:49:46 -0700
    To: Sean <seanlkml@sympatico.ca>
    
    

    On Tue, Jun 28, 2005 at 06:23:09PM -0400, Sean wrote:
    > On Tue, June 28, 2005 6:14 pm, Matt Mackall said:
    > >> You can even have a setup where objects
    > >> are archived onto write-once media like DVD and still participate in a
    > >> live repository, where new objects are written to hard disk, but older
    > >> object are (automatically) sourced from the DVD.
    > >
    > > Have fun with that. It's an excellent way to destroy your DVD drive.
    >
    > Oh come on, stop the FUD. You pack all the objects up into a single pack
    > file (see new feature in Git) and you burn it _once_ to dvd or cdrom.

    And even as one big file, it will _still_ be layed out on disk in
    pessimal order.

    > > Git's completely structureless filename hashing pretty much guarantees
    > > that disk layout will degrade to worst-case random access behavior
    > > over time. Just walking through the 2000 commit blobs in the current
    > > tree can take minutes cold cache on a fast hard disk. Walking the 1700
    > > tree blobs in a given version takes quite a while too.
    > >
    > > Put that on a DVD and that could easily turn into hours of continuous
    > > seeking for a simple operation like checking out tip of tree.
    > >
    > > And as far as I know, ISO9660 and UDF don't really handle huge
    > > directories well. So if you try and put the whole kernel history (200k
    > > files, some huge number of directory blobs, and 30k-60k commit blobs)
    > > on a DVD, you'll be really hurting.
    > >
    > > Meanwhile the whole history (>30k changesets) with Mercurial fits on a
    > > regular CD, with reasonable directory sizes and I/O patterns.
    > >
    > > Not that it's really worth the trouble. It takes longer for me to burn
    > > an ISO image to disc than to download a complete kernel repo from
    > > kernel.org.
    > >
    >
    > Git is still developing, there will be new ways to seek and cache things
    > etc eventually that remove any performance issue.

    Again, have fun with that. Mercurial already went down this path a
    month ago, discovered it couldn't reasonably be fixed without
    abandoning the hashes as file name scheme, and changed repo layout.

    Git's going to have a much harder time as it's pretty solidly tied to
    lookup by contents hash. If you throw that out, you might as well use
    Mercurial.

    -- 
    Mathematics is the supreme nostalgia of our time.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Grzegorz Kulewski: "Re: [patch] latest inotify."

    Relevant Pages

    • Re: Seriously considering LOTR On line
      ... Do you think I should overwrite the downloaded one with the DVD from ... Just choose whatever race you think will be the ... most fun. ... Nossie said he had it that Elendilmir is the defacto Aussie server, ...
      (comp.sys.ibm.pc.games.rpg)
    • Re: Allan Holdsworth Trio using guitar with synth pickup (not Synthaxe).
      ... I loved it because the contrast with his usual ideas was so very striking. ... I have had a hard time sitting through all of the Live At The Galaxy ... DVD for that very reason, in addition to the single-track format. ... The Live at Yoshi's DVD is more fun because it has Alan Pasqua on keys ...
      (rec.music.makers.guitar.jazz)
    • I do these things so you dont have to
      ... robbed of my chance to make fun of this film in theaters last year when it was ... direct to video, it wouldn't have quite the awful reputation it has.... ... Best thing on the DVD is an extra in which Paris makes up her co-star as ...
      (alt.fan.letterman)
    • Word mail merge data loss
      ... DVD Pack. ... one movie pack will have up to 10 individual titles ... but after that the synopsis will get cut off after two lines. ...
      (microsoft.public.word.mailmerge.fields)
    • Re: DVD burning still have problems
      ... > i just burned a DVD, and it works;D pretty neat, im not sure what ... the reason i changed to anticipatory from cfq is that i noticed ... right now it's not really clear if it's acpi or the io scheduler. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)