Whamcloud - gitweb
LU-11415 socklnd: improve scheduling algorithm 40/33740/3
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 28 Nov 2018 01:54:51 +0000 (17:54 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:48:22 +0000 (04:48 +0000)
commit89df5e712ffd40064f1d4ce2f00f9156f68a2262
tree3c54e40301b48c2940aa728f5f5454810f5240d2
parent71c42f664dea842a56e0d1184d828081746f2eab
LU-11415 socklnd: improve scheduling algorithm

Modified the scheduling algorithm to use all scheduler threads
available. Previously a connection is assigned a single thread
and can only use that one. With this patch any scheduler thread
available on the assigned CPT can pick up and work on requests
queued on the connection.

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I7e8e5220e1914155fd793994485e3a443fe1ba44
Reviewed-on: https://review.whamcloud.com/33740
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@gmail.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c
lnet/klnds/socklnd/socklnd_lib.c