[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: suspend slow in 2.6.25-rc6 (was Re: Suspend and hibernation patchset against -rc6)

On Wed, 19 Mar 2008, Pavel Machek wrote:
> > > It will take a while. My .git directory is 7G, and I'd like to do a
> > > backup before playing with git.
> >
> > Ouch, what have you done? It should be about 200MB, not 7GB.
> And 10 minutes later, .git directory is 200MB. Thanks!

It strikes me that the only way I can think of that you could have gotten
a 7GB .git directory without really working at it is if you use one of the
so-called "dumb" git protocols that just copy whole packfiles from when you pull.

So do you happen to perhaps use http:// or rsync:// when you fetch git
data? That would not only be horribly slow occasionally (you'd fetch
all-new packs and re-download about 200MB of data when I repack the kernel
repo on, which happens about once or twice every release
cycle), but it would also explain how it ballooned to 7GB for you (because
you have all these duplicate packs!).

Usign the native git:// protocol would be much faster and avoid the issue
in the future.


 \ /
  Last update: 2008-03-19 21:33    [W:0.093 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site