[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jgit-dev] [egit-dev] Counting Objects taking long in current master
|
On 11/05/2012 11:28 PM, Matthias Sohn wrote:
> 2012/11/5 Markus Duft <markus.duft@xxxxxxxxxx <mailto:markus.duft@xxxxxxxxxx>>
>
[snap]
>
>
> I had a look into the stack trace, the only thread related to jgit/egit is the "main" thread and it's in runnable state so nothing unusual on the client side. Could you capture a couple of thread dumps on both egit and gerrit side while the slow push is underway ?
Here you go. 9 dumps on each side, one every two seconds while pushing. The actual push lasted for ~50 seconds this time, counting 50.000 objects, approx 1000/s. Looking at the dumps i think the problem is entirely on the client side, and not on the server. Moreover it seems to me that maybe the updating of the progress monitor may cause the problem? It causes full round-trips over GTK every object it seems...
Regards, Markus
>
> If we have multiple thread dumps we can see which parts of the thread dump are moving over time.
>
> Tools like Samurai [1] make it easier to analyze thread dumps.
>
> [1] http://yusuke.homeip.net/samurai/en/
>
> --
> Matthias
Attachment:
eclipse-dumps.tbz2
Description: application/bzip-compressed-tar
Attachment:
gerrit-dumps.tbz2
Description: application/bzip-compressed-tar