login
Header Space

 
 

Re: kde.git is now online

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nicolas Pitre <nico@...>
Cc: H. Peter Anvin <hpa@...>, Git Mailing List <git@...>, Chris Lee <clee@...>
Date: Thursday, April 5, 2007 - 4:51 pm

On Thu, 5 Apr 2007, Nicolas Pitre wrote:

Without "--full", it doesn't actually really do anything much, since it 
will basically ignore objects that are in the pack.

With --full, there are certainly things that we could improve upon. We 
currently tend to walk things a few times for pack contents: 
 - first we do the SHA1 of the full pack
 - then we go back, and unpack and fsck each entry in the pack.

So if the pack-file is too big to fit in memory, we'll basically always 
read it at least twice (and that's ignoring the fact that delta lookup 
will obviously seek back and forth, which makes access patterns worse).

On the other hand, there's a perfectly good reason why we don't actually 
fsck pack-files by default. They're "stable storage". You don't normally 
need to. So I'd not worry too much about fsck performance. I suspect 
you'll find that with 1GB or RAM you'll have other performance problems 
that are more pressing ("git clone" comes to mind ;)

Me, I'm just 53% done with the download, so I probably won't be looking at 
this today ;)

			Linus
-
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:
kde.git is now online, H. Peter Anvin, (Thu Apr 5, 1:03 pm)
Re: kde.git is now online, Junio C Hamano, (Thu Apr 5, 5:26 pm)
Re: kde.git is now online, Geert Bosch, (Fri Apr 6, 7:32 am)
Re: kde.git is now online, Nicolas Pitre, (Fri Apr 6, 8:59 am)
Re: kde.git is now online, Linus Torvalds, (Thu Apr 5, 1:30 pm)
Re: kde.git is now online, Chris Lee, (Thu Apr 5, 2:03 pm)
Re: kde.git is now online, Nicolas Pitre, (Thu Apr 5, 1:38 pm)
Re: kde.git is now online, Nicolas Pitre, (Thu Apr 5, 3:45 pm)
Re: kde.git is now online, Linus Torvalds, (Thu Apr 5, 4:51 pm)
Re: kde.git is now online, Nicolas Pitre, (Thu Apr 5, 6:00 pm)
Re: kde.git is now online, Linus Torvalds, (Thu Apr 5, 9:24 pm)
speck-geostationary