--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2BdAQbc7hSEsh5LBgWGKrBKcxehzF8-mLuWtbWDVeetBQ%40mail.gmail.com.
The slowdown is sometimes because "git gc" has not been run for a while, and sometimes because of slow responses from the network. I'll take a look at the trace but if you have auto-gc disabled and haven't run a git gc lately then I recommend doing that.
On Tue, Oct 16, 2018 at 9:32 AM Erik Staab <est...@chromium.org> wrote:
[+ajp, +tandrii]
On Tue, Oct 16, 2018 at 7:56 AM Gabriel Charette <g...@chromium.org> wrote:
Hello Infra & Bruce :),--On Windows, git cl upload is painfully slow (over 3 minutes for a small CL)(and it's not git cl presubmit -- which takes < 10s)Here's an ETW trace of an upload : https://drive.google.com/file/d/1jSevO9VCANcU25QpAYK05h7QskG9cdQY/view (I gave access to Bruce; please request access if you need; didn't make public by default for privacy concerns).Thanks,Gab
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
>>>> To post to this group, send email to infr...@chromium.org.
>>>> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2BdAQbc7hSEsh5LBgWGKrBKcxehzF8-mLuWtbWDVeetBQ%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "infra-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/c613ba2e-64f8-449d-a100-ecb9ac0a5f08%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAEoffTCfLDJ%2BH6Tn%2BChtHQiPkegyLW5SJGVF1CBRoxN%2B8aFMBA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAEoffTCfLDJ%2BH6Tn%2BChtHQiPkegyLW5SJGVF1CBRoxN%2B8aFMBA%40mail.gmail.com.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
>>>> To post to this group, send email to infr...@chromium.org.
>>>> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2BdAQbc7hSEsh5LBgWGKrBKcxehzF8-mLuWtbWDVeetBQ%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "infra-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
> To post to this group, send email to infr...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAE5mQiPcX5jYfkQMZJSMfNNanPfGJsYS-hCnaEscxSL-Yt0SOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/c613ba2e-64f8-449d-a100-ecb9ac0a5f08%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAEoffTCfLDJ%2BH6Tn%2BChtHQiPkegyLW5SJGVF1CBRoxN%2B8aFMBA%40mail.gmail.com.
>dumpbin c:\src\depot_tools\win_tools-2_7_6_bin\git\cmd\git.exe /headersMicrosoft (R) COFF/PE Dumper Version 14.16.26830.0Copyright (C) Microsoft Corporation. All rights reserved.Dump of file c:\src\depot_tools\win_tools-2_7_6_bin\git\cmd\git.exePE signature foundFile Type: EXECUTABLE IMAGEc:\src\depot_tools\win_tools-2_7_6_bin\git\cmd\git.exe : fatal error LNK1106: invalid file or disk full: cannot seek to 0x6509A
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
>>>> To post to this group, send email to infr...@chromium.org.
>>>> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2BdAQbc7hSEsh5LBgWGKrBKcxehzF8-mLuWtbWDVeetBQ%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "infra-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
> To post to this group, send email to infr...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAE5mQiPcX5jYfkQMZJSMfNNanPfGJsYS-hCnaEscxSL-Yt0SOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/c613ba2e-64f8-449d-a100-ecb9ac0a5f08%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAEoffTCfLDJ%2BH6Tn%2BChtHQiPkegyLW5SJGVF1CBRoxN%2B8aFMBA%40mail.gmail.com.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
>>>> To post to this group, send email to infr...@chromium.org.
>>>> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2BdAQbc7hSEsh5LBgWGKrBKcxehzF8-mLuWtbWDVeetBQ%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "infra-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
> To post to this group, send email to infr...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAE5mQiPcX5jYfkQMZJSMfNNanPfGJsYS-hCnaEscxSL-Yt0SOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/c613ba2e-64f8-449d-a100-ecb9ac0a5f08%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAEoffTCfLDJ%2BH6Tn%2BChtHQiPkegyLW5SJGVF1CBRoxN%2B8aFMBA%40mail.gmail.com.
That sounds really, horribly broken. Please file bugs when you see that sort of behavior.
For a normal size CL, if the actual upload takes more than, say, 10s, there's probably something wrong. However, upload might also be running slow presubmit hooks, so it's important to figure out how much of the delay is in the hooks versus the actual upload.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
>>>> To post to this group, send email to infr...@chromium.org.
>>>> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2BdAQbc7hSEsh5LBgWGKrBKcxehzF8-mLuWtbWDVeetBQ%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "infra-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
> To post to this group, send email to infr...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAE5mQiPcX5jYfkQMZJSMfNNanPfGJsYS-hCnaEscxSL-Yt0SOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7LKZSFuNZB3qKdFRJXLDhjOe7pZvkO7BCchkyn2A0yHS4g%40mail.gmail.com.

Can you run this again with more detailed traces? Include:GIT_TRACE_PACKET=1 GIT_TRACE_PERFORMANCE=1 GIT_TRACE_SETUP=1
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2BnEtkzzmQ2E2p%3D3rzFJuY2CWRGVA%3Dr1Wsan7xLdo-wzg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAJTZ7L%2Bfs67e6C5UkYwoHUHz8zSFETscrB3KjWtT7Ajg4iz%3DQg%40mail.gmail.com.
I think this is fixed in the newer versions of git; we're going to roll out the new version soon.
I have a theory that speed of upload depends heavily on how many commits behind your branch is wrt target branch.