Whamcloud - gitweb
LU-398 ptlrpc: Add the NRS CRR-N policy
authorNikitas Angelinas <nikitas_angelinas@xyratex.com>
Wed, 9 Jan 2013 02:02:12 +0000 (02:02 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 Apr 2013 05:19:30 +0000 (01:19 -0400)
commit2709cc886caaeeba428937f0bb791404f38b9830
tree478f775bb51e837664f7f23dff13e43e5a781c90
parentdeb7a5c9f42c1fb7a6f225e2eb09b64b79efc64c
LU-398 ptlrpc: Add the NRS CRR-N policy

The CRR-N (Client-based Round Robin over NIDs) policy batch-schedules
all types of RPCs in a Round Robin manner according to the NID of the
client that generated the RPC; the maximum size of the batches is
configurable via interaction with lprocfs. The policy aims to provide
for better resource utilization across the cluster, and to help
shorten completion times of jobs in some cases by distributing
available bandwidth more evenly across client nodes.

Signed-off-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
Co-authored-by: Liang Zhen <liang@whamcloud.com>
Change-Id: Ie91ee277fc95564908b20fd0d539a274089657ed
Oracle-bug-id: b=13634
Xyratex-bug-id: MRP-73
Reviewed-on: http://review.whamcloud.com/4937
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_net.h
lustre/ptlrpc/Makefile.in
lustre/ptlrpc/autoMakefile.am
lustre/ptlrpc/nrs.c
lustre/ptlrpc/nrs_crr.c [new file with mode: 0644]
lustre/ptlrpc/ptlrpc_internal.h