On Thu, 14 Aug 2008, Linus Torvalds wrote:Possible. However, the fact that both the "Compressing objects" and the "Writing objects" phases during a repack (without -f) together are _faster_ than the "Counting objects" phase is a sign that something is more significant than cache misses here, especially when tree information is a small portion of the total pack data size. Of course we can do further profiling, say with core.compression set to 0 and a full repack, or even hacking the pack-objects code to force a compression level of 0 for tree objects, and possibly commits too since pack v4 intend to deflate only the log text). Tree objects delta very well, but they don't deflate well at all. OK, so I did, and the quick test for the kernel is: |nico@xanadu:linux-2.6> time git rev-list --all --objects > /dev/null | |real 0m14.737s |user 0m14.432s |sys 0m0.296s That's for 1031404 objects, hence we're now talking around 70k objects/sec instead of 48k objects/sec. _Only_ by removing zlib out of the equation despite the fact that the pack is now larger. So I bet that additional improvements from pack v4 could improve things even more, including the object lookup avoidance optimization I mentioned previously. 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
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Ingo Molnar | Re: [RFT] x86 acpi: normalize segment descriptor register on resume |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Ingo Molnar | [bug] stuck localhost TCP connections, v2.6.26-rc3+ |
