git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Stephen Morton <stephen.c.morton@gmail.com>
Date
Mar 6, 2015, 00:37 UTC
Message-ID
<CAH8BJxFF9TMDo=s+omcsMx2qEReHKEXb6snrsuKSQekOhPY+ag@mail.gmail.com>
In-Reply-To
<CACsJy8CKdcHSNEpRZDTtR36Xcv+SF2tUizNjXd_sAb1eUBgTzA@mail.gmail.com>
8GB of RAM.
Sorry, typo.
Steve
On Thu, Mar 5, 2015 at 7:25 PM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 22 quoted lines
> On Fri, Mar 6, 2015 at 4:03 AM, Stephen Morton
> <stephen.c.morton@gmail.com> 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 same repo, but I'm the only one working
>> in a VM.
>>
>> ...
>>
>> Details:
>> git version 2.1.4
>> OS: CentOS 6.6 64-bit in a VM.
>> repo size: huge. 6 GB .git directory, around 800 MB working tree.
>> VM has 8 MB RAM and 8 cores.
>
> Is it 8 GB or MB RAM?
>
>> CPU: i7, 8 core (4 cores hyperthreaded)
> --
> Duy
Previous: Duy NguyenNext: Jeff King
Message 3 of 8 in “Slow git pushes: sitting 1 minute in pack-objects”
  1. Stephen MortonMar 5, 2015
  2. Duy NguyenMar 6, 2015
  3. Stephen MortonMar 6, 2015
  4. Jeff KingMar 9, 2015
  5. Stephen MortonMar 10, 2015
  6. Jeff KingMar 16, 2015
  7. Stephen MortonMar 19, 2015
  8. Jeff KingMar 19, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.