Whamcloud - gitweb
LU-1144 ptlrpc: implement a NUMA aware ptlrpcd binding policy
authorGregoire Pichon <gregoire.pichon@bull.net>
Wed, 7 Mar 2012 12:53:37 +0000 (13:53 +0100)
committerOleg Drokin <green@whamcloud.com>
Wed, 11 Apr 2012 18:21:59 +0000 (14:21 -0400)
commitdb8a6829cb1c9869d998920c095a14de2d5300bf
tree80036fa4122d3ca5848ffb6cfdbded8e77ae99c2
parentb91e1648a0bef0dee6ce79a6a9fc5b82efa1e0c0
LU-1144 ptlrpc: implement a NUMA aware ptlrpcd binding policy

This is a complement to the ORNL-22 general ptlrpcd threads pool
support.

This patch improves the PDB_POLICY_NEIGHBOR ptlrpcd binding policy,
when the kernel supports NUMA. In that case, the ptlrpcd threads are
all binded and have threads in the same NUMA node setup as partners.

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Change-Id: I8eb553d6f25fac6fd64faf1eecfa4dfae5ed15ee
Reviewed-on: http://review.whamcloud.com/2212
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Liang Zhen <liang@whamcloud.com>
lustre/include/lustre_net.h
lustre/ptlrpc/ptlrpcd.c