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

RE: [Question] clone performance

From
Rrandall.s.becker@rogers.com <randall.s.becker@rogers.com>
Date
Aug 26, 2019, 14:16 UTC
Message-ID
<006001d55c18$e6def6c0$b49ce440$@rogers.com>
In-Reply-To
<CAGyf7-HyJGVX51YMH0uqah4dkwkwfs6pLR5eSVBCeRQ1Ou=ZjQ@mail.gmail.com>
On August 24, 2019 5:00 PM, Bryan Turner wrote:
Show 12 quoted lines
> On Fri, Aug 23, 2019 at 6:59 PM <randall.s.becker@rogers.com> wrote:
> >
> > Hi All,
> >
> > I'm trying to answer a question for a customer on clone performance.
> > They are doing at least 2-3 clones a day, of repositories with about
> > 2500 files and 10Gb of content. This is stressing the file system.
> 
> Can you go into a bit more detail about what "stress" means? Using too
> much disk space? Too many IOPS reading/packing? Since you specifically
> called out the filesystem, does that mean the CPU/memory usage is
> acceptable?
The upstream is BitBucket, which does a gc frequently. I'm not sure any of this is relating to the pack structure. Git is spending most of its time writing the large number of large files into the working directory - it is stress mostly the disk, with a bit on the CPU (neither is acceptable to the customer). I am really unsure there is any way to make things better. The core issue is that the customer insists on doing a clone for every feature branch instead of using pull/checkout. I have been unable to change their mind - to this point anyway.
We are going to be setting up a detailed performance analysis that may lead to some data the git team can use.

Regards, Randall

Previous: Bryan TurnerNext: Jeff King
Message 3 of 5 in “[Question] clone performance”
  1. randall.s.becker@rogers.comAug 24, 2019
  2. Bryan TurnerAug 24, 2019
  3. randall.s.becker@rogers.comAug 26, 2019
  4. Jeff KingAug 26, 2019
  5. Elijah NewrenAug 26, 2019

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.