Git is a DVCS - the first D is the key feature of it's performance. 

Do have a rethink of the use of a centralised network file server for the user 
repository. The network delays are killing you.

Step one: Decentralise.
Step two: Distribute control.
Step three: fun and profit (and speed!)

Old habits die hard.. Try and get away from them

Philip
  ----- Original Message ----- 
  From: Ravalika 
  To: Git for human beings 
  Sent: Thursday, November 17, 2016 5:56 AM
  Subject: [git-users] How to improve the Git status performance


  Hi All,


  We are using git-2.10.2 version for version control.

  It is an centralized server and git status takes too long


  How to improve the performance of git status



  Git repo details:



  Size of the .git folder is 8.9MB
  Number of commits approx 53838  (git rev-list HEAD --count)
  Number of branches -  330  
  Number of files - 63883
  Working tree clone size is 4.3GB


  time git status shows
  real 0m23.673s

  user 0m9.432s
  sys 0m3.793s


  then after 5 mins
  real    0m4.864s
  user    0m1.417s
  sys     0m4.710s


  And I have experimented following ways but no significant change 

  -          -  Setting core.ignorestat to true

  -          -  Git gc &git clean

  -          -  Shallow clone – Reducing number of commits

  -          -  Clone only one branch 

        - Git repacking - git repack -ad && git prune

  -     - Cold/warm cache 



  Could you please let me know, what are the other ways to improve the git 
performance ?



  Thank you,
  Renuka



  -- 
  You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
  To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected].
  For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to