Plugin Name | Settings | Version | Status | |
commit-message-length-validator | v2.13.1 | Enabled | ||
download-commands | v2.13.1 | Enabled | ||
gitblit | 2.13.171.0 | Enabled | ||
hooks | v2.13.1-3-gc474972-dirty | Enabled | ||
javamelody | v2.13 | Enabled | ||
metrics-reporter-jmx | e2ce0ba | Enabled | ||
reviewers-by-blame | bb48e5c | Enabled | ||
reviewnotes | v2.13.1 | Enabled |
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 15 Oct 2016, at 00:43, tsuna <tsun...@gmail.com> wrote:
Not sure which table you’re referring to, I only see a graph at that URL, and here it is:
<httpMeanTimes.png>
Your average HTTP serving time is 0.5s, which is very high if you consider that it includes static resources as well.
Cannot see however the peaks up to 1 minute you were mentioning before.Do you serve Git over HTTP as well?
The same URL has 76sec as mean value but with 71sec of variance????
What about if you inspect the Git object on the local filesystem? Does it take so long to retrieve its tree?
On 17 Oct 2016, at 08:01, tsuna <tsun...@gmail.com> wrote:On Sat, Oct 15, 2016 at 2:00 PM, lucamilanesio <luca.mi...@gmail.com> wrote:The same URL has 76sec as mean value but with 71sec of variance????*shrug* for me hitting this URL has never returned a response in less than 30s. I’ve seen variances on the order of 45±15s approximately.What about if you inspect the Git object on the local filesystem? Does it take so long to retrieve its tree?
No, it’s very fast from the filesystem, but I only tried doing “git show” on the sha1 in question, that’s probably not what Gerrit does.
Hi there.After update from 2.11.x to 2.13.x we observed major slowdown in Gerrit UI. We pinpointed it to 'files?reviewed' requests which lead us to this discussion. The requests took often 7-10 seconds. Our Gerrit instance is pretty small (around 100 projects, probably no more than 20 commits per day per project on average). We tried to tune various H2-related settings but without results.Any thoughts?
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
Hi,
I experience the same issue. Compared to everything described here, our gerrit instance is tiny. However we also have loading times of files?reviewed between 1 and 7 seconds. As the source code already indicates, the response time rises with the number of patchsets. (7 seconds for 11 patchsets and <2 seconds for 2-3 patchsets.)
Am Donnerstag, 30. März 2017 13:38:11 UTC+2 schrieb David Ostrovsky:
Am Mittwoch, 29. März 2017 10:46:17 UTC+2 schrieb fdoe...@googlemail.com:Hi,
I experience the same issue. Compared to everything described here, our gerrit instance is tiny. However we also have loading times of files?reviewed between 1 and 7 seconds. As the source code already indicates, the response time rises with the number of patchsets. (7 seconds for 11 patchsets and <2 seconds for 2-3 patchsets.)What code are you referring to? I'm not aware that we load reviewed file bits for allpatch sets on opening change screen. I've just opened that change: [1] withmax(patch set number) = 76: 1-2 seconds load time, and that's fine.
Sorry, I only looked over the code superficially. I am referring to [1]. As I see it: The code loads reo viewed-flags for the a given patchset. If there are reviewed-flags set, the code ends. But if no reviewed-flags are found it iterates down to the first patchset. The code in L230 always opens and closes a H2-Connection, this seems to be fairly slow (500ms) on our installation. So the issue should only occur if there are no reviewed-flags in a (recent) patchset. (And as I don't use reviewed-flags often i run into this issue).
On Thursday, March 30, 2017 at 6:10:29 PM UTC+2, fdoe...@googlemail.com wrote:
Am Donnerstag, 30. März 2017 13:38:11 UTC+2 schrieb David Ostrovsky:
Am Mittwoch, 29. März 2017 10:46:17 UTC+2 schrieb fdoe...@googlemail.com:Hi,
I experience the same issue. Compared to everything described here, our gerrit instance is tiny. However we also have loading times of files?reviewed between 1 and 7 seconds. As the source code already indicates, the response time rises with the number of patchsets. (7 seconds for 11 patchsets and <2 seconds for 2-3 patchsets.)What code are you referring to? I'm not aware that we load reviewed file bits for allpatch sets on opening change screen. I've just opened that change: [1] withmax(patch set number) = 76: 1-2 seconds load time, and that's fine.
Sorry, I only looked over the code superficially. I am referring to [1]. As I see it: The code loads reo viewed-flags for the a given patchset. If there are reviewed-flags set, the code ends. But if no reviewed-flags are found it iterates down to the first patchset. The code in L230 always opens and closes a H2-Connection, this seems to be fairly slow (500ms) on our installation. So the issue should only occur if there are no reviewed-flags in a (recent) patchset. (And as I don't use reviewed-flags often i run into this issue).You are right. I'm able to reproduce the issue.
On Thursday, March 30, 2017 at 6:10:29 PM UTC+2, fdoe...@googlemail.com wrote:
Am Donnerstag, 30. März 2017 13:38:11 UTC+2 schrieb David Ostrovsky:
Am Mittwoch, 29. März 2017 10:46:17 UTC+2 schrieb fdoe...@googlemail.com:Hi,
I experience the same issue. Compared to everything described here, our gerrit instance is tiny. However we also have loading times of files?reviewed between 1 and 7 seconds. As the source code already indicates, the response time rises with the number of patchsets. (7 seconds for 11 patchsets and <2 seconds for 2-3 patchsets.)What code are you referring to? I'm not aware that we load reviewed file bits for allpatch sets on opening change screen. I've just opened that change: [1] withmax(patch set number) = 76: 1-2 seconds load time, and that's fine.
Sorry, I only looked over the code superficially. I am referring to [1]. As I see it: The code loads reo viewed-flags for the a given patchset. If there are reviewed-flags set, the code ends. But if no reviewed-flags are found it iterates down to the first patchset. The code in L230 always opens and closes a H2-Connection, this seems to be fairly slow (500ms) on our installation. So the issue should only occur if there are no reviewed-flags in a (recent) patchset. (And as I don't use reviewed-flags often i run into this issue).You are right. I'm able to reproduce the issue. I created 20 patch sets, with noreviewed bit set in all of them, and see that 20 selects are fired and alsosee severe performance degradation: on my laptop this single REST calltakes now 1 second.Two problems with this code:1. We are firing n selects for n patch set in the worst case. This soundswrong to me.
Thread dumbs
---------------------
"H2 Log Writer DIFF_INTRALINE" daemon prio=5 BLOCKED
org.h2.engine.Database.flush(Database.java:1958)
org.h2.store.WriterThread.run(WriterThread.java:87)
java.lang.Thread.run(Thread.java:748)
H2 File Lock Watchdog /gerrit/gerrit/cache/web_sessions.lock.db" daemon prio=9 TIMED_WAITING
java.lang.Thread.sleep(Native Method)
org.h2.store.FileLock.run(FileLock.java:517)
java.lang.Thread.run(Thread.java:748)
Is this issue fixed in 2.15.x versions ?