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
| Glauber de Oliveira Costa | [PATCH 5/25] [PATCH] native versions for system.h functions |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Robert Hancock | Re: Disk spin down issue on shut down/suspend to disk |
git: | |
| David Kastrup | Empty directories... |
| Sean | Re: git and time |
| Martin Langhoff | Re: [PATCH 4/5] Overhaul of changeset application |
| Michael Witten | Re: Proposed git mv behavioral change |
| Bertram Scharpf | First install: Grub doesn't find partitions |
| Richard Stallman | Real men don't attack straw men |
| Tony Abernethy | Re: Important OpenBSD errata |
| Nuno Magalhães | Does CUPS depend on X?! [oB newbie] |
| hooanon05 | [PATCH 62/67] aufs magic sysrq handler |
| Avi Kivity | Re: [RFC] VM: I have a dream... |
| Alasdair G Kergon | Re: [dm-devel] Re: [PATCH 3/3] Add timeout feature |
| Miklos Szeredi | [PATCH] update ctime and mtime for mmaped write |
