From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: suspend slow in 2.6.25-rc6 (was Re: Suspend and hibernation patchset against -rc6) Date: Wed, 19 Mar 2008 11:19:47 +0100 Message-ID: <20080319101947.GA2963@elf.ucw.cz> References: <200803120129.25585.rjw@sisk.pl> <200803172317.33745.rjw@sisk.pl> <20080318130642.GA1609@elf.ucw.cz> <20080318130710.GB1609@elf.ucw.cz> <20080318225201.GA2115@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Linus Torvalds Cc: LKML , ACPI Devel Maling List , pm list , Alexey Starikovskiy , Johannes Berg List-Id: linux-pm@vger.kernel.org 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/