|
|
21ab4e |
From 429ef7d90b1508ed560e94ca5a0f9d2e3ff24868 Mon Sep 17 00:00:00 2001
|
|
|
21ab4e |
From: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
21ab4e |
Date: Wed, 2 Aug 2017 07:22:13 +0530
|
|
|
21ab4e |
Subject: [PATCH 587/587] extras: Turn eager-lock off for gluster-block
|
|
|
21ab4e |
|
|
|
21ab4e |
Backport of https://review.gluster.org/17954
|
|
|
21ab4e |
|
|
|
21ab4e |
With the current implementation of eager-lock FINODELK is taking so much
|
|
|
21ab4e |
time that cassandra workload times out and errors out. AFR eager-locking
|
|
|
21ab4e |
needs to be changed similar to EC eager-locking to make things work
|
|
|
21ab4e |
as expected. In the interim, it is better to turn it off
|
|
|
21ab4e |
|
|
|
21ab4e |
This is how the profile looks if eager-lock is turned on:
|
|
|
21ab4e |
0.35 628.26 us 64.00 us 129882.00 us 42278 FXATTROP
|
|
|
21ab4e |
17.45 16500.54 us 212.00 us 375829.00 us 79568 WRITE
|
|
|
21ab4e |
81.76 209862.12 us 15.00 us 1992486.00 us 29318 FINODELK
|
|
|
21ab4e |
|
|
|
21ab4e |
This is how profile looks if eager-lock is turned off:
|
|
|
21ab4e |
1.87 283.71 us 65.00 us 298970.00 us 68346 FXATTROP
|
|
|
21ab4e |
6.33 199.04 us 13.00 us 373428.00 us 330524 FINODELK
|
|
|
21ab4e |
10.37 3151.47 us 53.00 us 1528484.00 us 34172 FSYNC
|
|
|
21ab4e |
81.31 5110.45 us 270.00 us 1519722.00 us 165244 WRITE
|
|
|
21ab4e |
|
|
|
21ab4e |
>BUG: 1477404
|
|
|
21ab4e |
>Change-Id: I98026b1ecf30002ddac01be76f375c2e8c0b7838
|
|
|
21ab4e |
>Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
21ab4e |
|
|
|
21ab4e |
BUG: 1472273
|
|
|
21ab4e |
Change-Id: I98026b1ecf30002ddac01be76f375c2e8c0b7838
|
|
|
21ab4e |
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
21ab4e |
Reviewed-on: https://code.engineering.redhat.com/gerrit/114104
|
|
|
21ab4e |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
21ab4e |
Tested-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
21ab4e |
---
|
|
|
21ab4e |
extras/group-gluster-block | 2 +-
|
|
|
21ab4e |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
21ab4e |
|
|
|
21ab4e |
diff --git a/extras/group-gluster-block b/extras/group-gluster-block
|
|
|
21ab4e |
index 12d5f90..82bd6ff 100644
|
|
|
21ab4e |
--- a/extras/group-gluster-block
|
|
|
21ab4e |
+++ b/extras/group-gluster-block
|
|
|
21ab4e |
@@ -5,7 +5,7 @@ performance.stat-prefetch=off
|
|
|
21ab4e |
performance.open-behind=off
|
|
|
21ab4e |
performance.readdir-ahead=off
|
|
|
21ab4e |
network.remote-dio=disable
|
|
|
21ab4e |
-cluster.eager-lock=enable
|
|
|
21ab4e |
+cluster.eager-lock=disable
|
|
|
21ab4e |
cluster.quorum-type=auto
|
|
|
21ab4e |
cluster.data-self-heal-algorithm=full
|
|
|
21ab4e |
cluster.locking-scheme=granular
|
|
|
21ab4e |
--
|
|
|
21ab4e |
1.8.3.1
|
|
|
21ab4e |
|