summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2018-04-17 23:23:41 -0500
committerKelley Spoon <kelley.spoon@linaro.org>2018-07-20 11:38:44 +0000
commitb880c1bbb4b15b7351ccfc6635f5987c29db1b12 (patch)
treecff6327379308030cc8c4761ba7a4bb0f8ffef28
parent8470f9bba04469f2352c8850e90b1c05154c9b68 (diff)
downloadansible-playbooks-master.tar.gz
Gerrit: Performance tuning changesHEADmaster
Make some changes as per suggestions in the Gerrit Performance Tuning Cheat Sheet. Change-Id: Ia734340c2c6d30f42a83ea50cd5a83c697e34ee6 Reviewed-on: https://review.linaro.org/24807 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r--files/gerrit/android-review.linaro.org6
-rw-r--r--files/gerrit/dev-private-review.linaro.org1
-rw-r--r--files/gerrit/lhg-review.linaro.org3
-rw-r--r--files/gerrit/review.linaro.org2
4 files changed, 7 insertions, 5 deletions
diff --git a/files/gerrit/android-review.linaro.org b/files/gerrit/android-review.linaro.org
index a845d67..3918657 100644
--- a/files/gerrit/android-review.linaro.org
+++ b/files/gerrit/android-review.linaro.org
@@ -1,6 +1,6 @@
[core]
streamFileThreshold = 512m
- packedGitLimit = 1500m
+ packedGitLimit = 2000m
[gerrit]
basePath = /srv/repositories
canonicalWebUrl = http://android-review.linaro.org/
@@ -44,7 +44,7 @@
[container]
user = git
javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre
- heapLimit = 8000m
+ heapLimit = 10240m
[sshd]
listenAddress = *:29418
idleTimeout = 5m
@@ -53,7 +53,7 @@
[cache]
directory = cache
[cache "projects"]
- memoryLimit = 512
+ memoryLimit = 2048
diskLimit = 4096
[download]
scheme = http
diff --git a/files/gerrit/dev-private-review.linaro.org b/files/gerrit/dev-private-review.linaro.org
index d6f7f01..a7f75c6 100644
--- a/files/gerrit/dev-private-review.linaro.org
+++ b/files/gerrit/dev-private-review.linaro.org
@@ -66,6 +66,7 @@
email = review@dev-private-review.linaro.org
[core]
streamFileThreshold = 512m
+ packedGitLimit = 750m
[gitweb]
type = cgit
url = https://dev-private-git.linaro.org
diff --git a/files/gerrit/lhg-review.linaro.org b/files/gerrit/lhg-review.linaro.org
index 4e2d0de..6008c98 100644
--- a/files/gerrit/lhg-review.linaro.org
+++ b/files/gerrit/lhg-review.linaro.org
@@ -38,7 +38,7 @@
[container]
user = git
javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre
- heapLimit = 1500m
+ heapLimit = 4000m
[sshd]
listenAddress = *:29418
idleTimeout = 5 min
@@ -65,6 +65,7 @@
name = Linaro Private Code Review
email = review@lhg-review.linaro.org
[core]
+ packedGitLimit = 1000m
streamFileThreshold = 512m
[gitweb]
type = gitweb
diff --git a/files/gerrit/review.linaro.org b/files/gerrit/review.linaro.org
index 253e65b..486fbbc 100644
--- a/files/gerrit/review.linaro.org
+++ b/files/gerrit/review.linaro.org
@@ -1,6 +1,6 @@
[core]
streamFileThreshold = 512m
- packedGitLimit = 1500m
+ packedGitLimit = 3500m
[gerrit]
basePath = /srv/repositories
canonicalWebUrl = https://{{www_host}}/