Whamcloud - gitweb
LU-3478 iokit: NUMA support in sgpdd-survey 83/6683/7
authorGregoire Pichon <gregoire.pichon@bull.net>
Tue, 18 Jun 2013 14:19:10 +0000 (16:19 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 20 Aug 2013 03:12:16 +0000 (03:12 +0000)
commit58fcb8ac7eaae96c933796a01175fe7d41157b25
tree6a20e8ef0501d68c5f0d8e52f295bb4453624fcc
parentcaa9228d2e6d7d94a507587b64ae0e6a92ebd7b4
LU-3478 iokit: NUMA support in sgpdd-survey

This patch provides NUMA support in sgpdd-survey script so that
devices can be accessed similarly to threads on Lustre servers.
Typically, IO buffers must be located close to cpus that are
local to the device.

It is based on the "numactl" command and an external command
provided by the caller that returns a cpu list from a device.

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Change-Id: I42d41a69a2ff24b3384cada9d742f163d3777db2
Reviewed-on: http://review.whamcloud.com/6683
Tested-by: Hudson
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre-iokit/sgpdd-survey/sgpdd-survey