Sure. That should still be workable on a machine with 256MB of RAM.
It is not only that, even if it is a point I consider important. If you
end up with 10 packs, it is likely that a base object in each of those
packs could simply be a delta against a single common base object, and
therefore the amount of data to transfer might be up to 10 times higher
than necessary.
That's not a good argument. Linus is a very disciplined git users,
probably more than average. We should not use that example to paper
over technical issues.
It is good for network bandwidth efficiency as I mentioned.
A much better solution would consist of finding just _why_ object
enumeration is so slow. This is indeed my biggest grip with git
performance at the moment.
|nico@xanadu:linux-2.6> time git rev-list --objects --all > /dev/null
|
|real 0m21.742s
|user 0m21.379s
|sys 0m0.360s
That's way too long for 1030198 objects (roughly 48k objects/sec). And
it gets even worse with the gcc repository:
|nico@xanadu:gcc> time git rev-list --objects --all > /dev/null
|
|real 1m51.591s
|user 1m50.757s
|sys 0m0.810s
That's for 1267993 objects, or about 11400 objects/sec.
Clearly something is not scaling here.
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