summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2018-03-20 12:15:51 +0530
committerPoornima G <pgurusid@redhat.com>2018-03-24 05:38:47 +0000
commitfef929342ec33c388074ad47b81725d73cde6597 (patch)
tree19489d3a90f1d18da8c1515b63594183a48de14c
parente043938e2895e4072a3c60b4a0063ef66d34f7b3 (diff)
extras/group: Change the server inode table size when upcall is on
By default server inode table size is 16K, when upcall is enabled, there is going to be too many forgets sent on inodes as the brick can hold only 16K inodes in memory, so we increased this to 50K. This is still less than the client inode table size. We have seen performance improvement when server inode table size is set to 200000(almost as client inode table size). Hence changing the value to 200000. Increasing this increases the memory consumption by <1MB. BUG: 1559235 Change-Id: I931db965cd34bf33094328541bd5a633b3357805 Signed-off-by: Poornima G <pgurusid@redhat.com>
-rw-r--r--extras/group-metadata-cache2
-rw-r--r--extras/group-nl-cache2
2 files changed, 2 insertions, 2 deletions
diff --git a/extras/group-metadata-cache b/extras/group-metadata-cache
index 0f780eb91aa..b890b288fc7 100644
--- a/extras/group-metadata-cache
+++ b/extras/group-metadata-cache
@@ -3,4 +3,4 @@ features.cache-invalidation-timeout=600
performance.stat-prefetch=on
performance.cache-invalidation=on
performance.md-cache-timeout=600
-network.inode-lru-limit=50000
+network.inode-lru-limit=200000
diff --git a/extras/group-nl-cache b/extras/group-nl-cache
index a41e8ecfd64..897807e8933 100644
--- a/extras/group-nl-cache
+++ b/extras/group-nl-cache
@@ -2,4 +2,4 @@ features.cache-invalidation=on
features.cache-invalidation-timeout=600
performance.nl-cache=on
performance.nl-cache-timeout=600
-network.inode-lru-limit=50000
+network.inode-lru-limit=200000