Whamcloud - gitweb
LU-1164 o2iblnd: param to tune number of kib scheduler threads
authorSebastien Buisson <sebastien.buisson@bull.net>
Wed, 6 Jun 2012 14:23:52 +0000 (16:23 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Jul 2012 01:38:49 +0000 (21:38 -0400)
commit235b13b8c8b701a31ae0fc191e15284acdf8c03e
treebe114d2ac11655a39908d34296e5f275e8fbe230
parent98c969c14d2ea2d3476fd6f0201d88af26f11038
LU-1164 o2iblnd: param to tune number of kib scheduler threads

This patch gives the ability to control the number of kib scheduler
threads launched by the ko2iblnd module, via a kernel module option.

Indeed, we can have some situations where the default threads number
is not appropriate. The default value is to create as many threads as
the number of CPU cores.

On certain platforms, we have noticed a performance penalty
when running too many kib scheduler threads.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: I2f7baa2f9bc9350502d1a0738c8e72777b57fa57
Reviewed-on: http://review.whamcloud.com/3047
Tested-by: Hudson
Reviewed-by: Liang Zhen <liang@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Doug Oucharek <doug@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_modparams.c