Re: Slow git pushes: sitting 1 minute in pack-objects

2015-03-19 Thread Jeff King
On Thu, Mar 19, 2015 at 04:31:36PM -0400, Stephen Morton wrote: > > Hmm. The "push" process must feed the set of object boundaries to > > "pack-objects" so it knows what to pack (i.e., what we want to send, and > > what the other side has). > > > > 120,000 is an awfully large number of objects to

Re: Slow git pushes: sitting 1 minute in pack-objects

2015-03-19 Thread Stephen Morton
On Mon, Mar 16, 2015 at 6:15 PM, Jeff King wrote: > On Mon, Mar 09, 2015 at 09:37:25PM -0400, Stephen Morton wrote: > >> 3. Not sure how long this part takes. It takes 1/3 - 1/2 of the time >> when straced, but I think it's much less, as little as 10s when not >> straced. >> It then reads a bunch

Re: Slow git pushes: sitting 1 minute in pack-objects

2015-03-16 Thread Jeff King
On Mon, Mar 09, 2015 at 09:37:25PM -0400, Stephen Morton wrote: > 3. Not sure how long this part takes. It takes 1/3 - 1/2 of the time > when straced, but I think it's much less, as little as 10s when not > straced. > It then reads a bunch of what look like objects from filehandle 0 > (presumably

Re: Slow git pushes: sitting 1 minute in pack-objects

2015-03-09 Thread Stephen Morton
Thanks Peff, I've done an strace and here's what I see. I'll try to put relevant information in as legible a form as possible. The operation is cpu-bound on a single core (note that yes, delta compression is using 8 threads. so that's obviously not the bottleneck) for the duration of the pack-obje

Re: Slow git pushes: sitting 1 minute in pack-objects

2015-03-09 Thread Jeff King
On Thu, Mar 05, 2015 at 04:03:07PM -0500, Stephen Morton wrote: > I'm experiencing very slow git pushes. On the order of 1 minute to push a > trivial one-line change. When I set GIT_TRACE=1, I see that it seems to be > taking a lot of time in the pack-objects phase. Can you tell what pack-objects

Re: Slow git pushes: sitting 1 minute in pack-objects

2015-03-05 Thread Stephen Morton
8GB of RAM. Sorry, typo. Steve On Thu, Mar 5, 2015 at 7:25 PM, Duy Nguyen wrote: > On Fri, Mar 6, 2015 at 4:03 AM, Stephen Morton > wrote: >> I'm experiencing very slow git pushes. On the order of 1 minute to push a >> trivial one-line change. When I set GIT_TRACE=1, I see that it seems to be

Re: Slow git pushes: sitting 1 minute in pack-objects

2015-03-05 Thread Duy Nguyen
On Fri, Mar 6, 2015 at 4:03 AM, Stephen Morton wrote: > I'm experiencing very slow git pushes. On the order of 1 minute to push a > trivial one-line change. When I set GIT_TRACE=1, I see that it seems to be > taking a lot of time in the pack-objects phase. > > Others are not seeing this with the s

Slow git pushes: sitting 1 minute in pack-objects

2015-03-05 Thread Stephen Morton
(Apologies, after a day I'm cross-posting from git.users. I think the question is maybe too technical for that group.) I'm experiencing very slow git pushes. On the order of 1 minute to push a trivial one-line change. When I set GIT_TRACE=1, I see that it seems to be taking a lot of time in the pa