git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Saravanan Shanmugham (sarvi)" <sarvi@cisco.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: "git commit" of single file takes 5 minutes, mounted fileystem/diskimage with 50G GIT repo + 900G of builds articles
Date: Mon, 26 Aug 2019 20:43:34 +0000	[thread overview]
Message-ID: <7A1C0468-E07D-4D10-8891-01AC1FA1CC1B@cisco.com> (raw)


Based on a previous thread “First Git status takes 40+ minutes, when mounting fileystem/diskimage with 50G GIT repo + 900G of builds articles”

The context is that 
  1. git wokspace was clone(50G)
  2. some 30 platorms build(900G)
  3. This tree was then copied into a new diskimage/filesystem + git update-index --refresh" was done to update the index to the new filesystem, then frozen.
  4. New workspaces created by cloning this frozen diskimage(< 30 seconds)
  5. This diskimage was mounted on a new machine
  6. A file was modified and "git add/commit" was done

I have done “git update-index –refresh”, in the mounted filesystem, as above
This has improved “git status/diff” timing from 40+ minutes to 1.5 minutes for the first time and <5 seconds for subsequent calls.

But "git commit -m "dummy commit" of a 1 line change in 1 file takes about 5-6 minutes, everytime in this workspace.
Tracing shows a whole bunch. The entire 5-6 minutes worth of the following sort of trace logs.
3:13:50.320930 trace git-lfs: filepathfilter: rejecting "x/y/z.o.command" via []
13:13:50.320940 trace git-lfs: filepathfilter: accepting " x/y/z.o.command "
13:13:50.320862 trace git-lfs: filepathfilter: rejecting "a/b/c/d.o.command" via []
13:13:50.320972 trace git-lfs: filepathfilter: accepting " a/b/c/d..o.command"

Does anyone have any insights on what could be causing this?

On the other hand, if I had 
 
Thanks,
Sarvi
Occam’s Razor Rules


             reply	other threads:[~2019-08-26 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-26 20:43 Saravanan Shanmugham (sarvi) [this message]
2019-08-27 17:13 ` "git commit" of single file takes 5 minutes, mounted fileystem/diskimage with 50G GIT repo + 900G of builds articles Saravanan Shanmugham (sarvi)
2019-08-27 18:44 ` Taylor Blau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7A1C0468-E07D-4D10-8891-01AC1FA1CC1B@cisco.com \
    --to=sarvi@cisco.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).