[Devel] [PATCH RHEL7 COMMIT] fs/fuse kio_pcs: rollback default rpc_affinity_mode to RPC_AFFINITY_RETENT

Konstantin Khorenko khorenko at virtuozzo.com
Thu Oct 4 15:57:11 MSK 2018


The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-862.14.4.vz7.72.2
------>
commit 3c9658af97d5cfc853d247529f39d7d7996f6bf0
Author: Pavel Butsykin <pbutsykin at virtuozzo.com>
Date:   Thu Oct 4 15:57:09 2018 +0300

    fs/fuse kio_pcs: rollback default rpc_affinity_mode to RPC_AFFINITY_RETENT
    
    On a large cluster, RPC_AFFINITY_SPREAD strategy showed worse performance than
    before:
    http://perf.sw.ru/5/cmp/1705?html=1
    
    This requires more detailed investigations, but for now just rollback to the old
    affinity mode.
    
    Fixes: 2dd8601d2b8e ("fs/fuse kio_pcs: improve rpc to cpu binding")
    
    Signed-off-by: Pavel Butsykin <pbutsykin at virtuozzo.com>
    Reviewed-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 fs/fuse/kio/pcs/pcs_rpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fuse/kio/pcs/pcs_rpc.c b/fs/fuse/kio/pcs/pcs_rpc.c
index e3fb8a14c2ab..fdbad982d8c0 100644
--- a/fs/fuse/kio/pcs/pcs_rpc.c
+++ b/fs/fuse/kio/pcs/pcs_rpc.c
@@ -30,7 +30,7 @@
 #include "fuse_ktrace.h"
 
 
-static unsigned int rpc_affinity_mode = RPC_AFFINITY_SPREAD;
+static unsigned int rpc_affinity_mode = RPC_AFFINITY_RETENT;
 module_param(rpc_affinity_mode, uint, 0644);
 MODULE_PARM_DESC(rpc_affinity_mode, "RPC affinity mode");
 



More information about the Devel mailing list