From c4ff44ba5653e5c76cae37ef9e74fcc08302ad6e Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Mon, 8 Jan 2024 15:16:11 +0000 Subject: [PATCH] Document tuning options applied to glusterfs volume. --- stateful-commands.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/stateful-commands.txt b/stateful-commands.txt index cacb3d1..1c030cb 100644 --- a/stateful-commands.txt +++ b/stateful-commands.txt @@ -5,3 +5,20 @@ glusterfs setup on c1: * gluster volume create compute replica 3 c{1,2,3}:/persist/glusterfs/compute/brick1 * gluster volume start compute * gluster volume bitrot compute enable + +glusterfs tweaking for wordpress performance: + * gluster volume set compute nl-cache on + * gluster volume set compute features.cache-invalidation on + * gluster volume set compute features.cache-invalidation-timeout 600 + * gluster volume set compute performance.cache-invalidation on + * gluster volume set compute performance.qr-cache-timeout 600 + * gluster volume set compute performance.stat-prefetch on + * gluster volume set compute performance.md-cache-timeout 600 + * gluster volume set compute network.inode-lru-limit 200000 + * gluster volume set compute performance.nl-cache-timeout 600 + * gluster volume set compute performance.parallel-readdir on + * gluster volume set compute performance.cache-size 1GB + * gluster volume set compute client.event-threads 8 + * gluster volume set compute server.event-threads 8 + * gluster volume set compute cluster.readdir-optimize on + * gluster volume set compute server.outstanding-rpc-limit 256