Re: suspend slow in 2.6.25-rc6 (was Re: Suspend and hibernationpatchset against -rc6)

From: Pavel Machek
Date: Wed Mar 19 2008 - 17:16:55 EST


Hi!

> > 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.
>
> > git gc does not exist here, so I guess I need to update git, too :-(.
>
> Well, even with old git you can just do
>
> git repack -a -d
>
> and in your case you'll probably have to leave it running overnight,
> because it's going to take hours since you've clearly not ever repacked it
> before and as a result it's going to do lots and lots of IO (all that 7GB
> and then read much of it twice).

And 10 minutes later, .git directory is 200MB. Thanks!


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
pomozte zachranit klanovicky les: http://www.ujezdskystrom.info/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/