login
Header Space

 
 

Re: kde.git is now online

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: H. Peter Anvin <hpa@...>, Git Mailing List <git@...>, Chris Lee <clee@...>
Date: Thursday, April 5, 2007 - 6:00 pm

On Thu, 5 Apr 2007, Linus Torvalds wrote:


Well.... still it certainly can be helped a bit.  I wouldn't mind it 
spending half an hour of CPU if it needs to.  But I just interrupted it
with ^C with the following result so far:

real    75m44.374s
user    2m5.318s
sys     0m54.059s

(I should have used /usr/bin/time to see the number of page faults).


Well... same issue actually.  git-pack-objects spent about 40 secs 
firmly at 100% CPU usage counting objects.

Then it got stuck on:

	remote: Done counting 4111366 objects.

again spending 3% CPU and the rest waiting for IO with the disk 
definitely trashing.  It didn't allocate more than 47% of memory during 
that phase which lasted a few minutes.

Then, the "Indexing 4111366 objects." message appeared and CPU usage 
went up to 6% CPU with 67% memory for pack-objects and 30% CPU and 7% 
memory for index-pack while the rest was spent waiting for IO.  This 
also took maybe two minutes.

And now it reached the "Resolving 3305158 deltas." phase with only 
index-pack on the radar with approx 10% CPU and 19% memory, and the rest 
of the time waiting for IO again.

It has been probably half an our now and the thing is at:

	  21% (710502/3305158) done

So it will work and eventually complete.  And the good news is that the 
worst part performance wise is on the client side.  But it looks like 
we're definitely trashing the kernel buffer cache.


Nicolas
-
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