51 lines
1.6 KiB
Diff
51 lines
1.6 KiB
Diff
|
From f56ad2fc0ba3f3b78dc854b0c09c5c8f9bb9db77 Mon Sep 17 00:00:00 2001
|
||
|
From: Xavi Hernandez <xhernandez@redhat.com>
|
||
|
Date: Fri, 21 Sep 2018 21:51:46 +0200
|
||
|
Subject: [PATCH 409/444] Update database profile group
|
||
|
|
||
|
Some performance testing has revealed that pgbench performs 3x better
|
||
|
when these options are set:
|
||
|
|
||
|
performance.client-io-threads=on
|
||
|
performance.open-behind=on
|
||
|
performance.read-after-open=yes
|
||
|
server.event-threads=4
|
||
|
client.event-threads=4
|
||
|
|
||
|
> Upstream patch: https://review.gluster.org/c/glusterfs/+/21247
|
||
|
> Change-Id: I36ce389f893a8af13aac5f8285104d749b73d098
|
||
|
> fixes: bz#1631886
|
||
|
> Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
|
||
|
|
||
|
Change-Id: I36ce389f893a8af13aac5f8285104d749b73d098
|
||
|
BUG: 1644120
|
||
|
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
|
||
|
Reviewed-on: https://code.engineering.redhat.com/gerrit/154881
|
||
|
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
||
|
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
||
|
---
|
||
|
extras/group-db-workload | 6 +++++-
|
||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/extras/group-db-workload b/extras/group-db-workload
|
||
|
index c9caf21..9334d6f 100644
|
||
|
--- a/extras/group-db-workload
|
||
|
+++ b/extras/group-db-workload
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-performance.open-behind=off
|
||
|
+performance.open-behind=on
|
||
|
performance.write-behind=off
|
||
|
performance.stat-prefetch=off
|
||
|
performance.quick-read=off
|
||
|
@@ -6,3 +6,7 @@ performance.strict-o-direct=on
|
||
|
performance.read-ahead=off
|
||
|
performance.io-cache=off
|
||
|
performance.readdir-ahead=off
|
||
|
+performance.client-io-threads=on
|
||
|
+server.event-threads=4
|
||
|
+client.event-threads=4
|
||
|
+performance.read-after-open=yes
|
||
|
--
|
||
|
1.8.3.1
|
||
|
|