Whamcloud - gitweb
LU-16011 lnet: use preallocate bulk for server 52/47952/6
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Thu, 14 Jul 2022 13:39:39 +0000 (16:39 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 1 Sep 2022 05:52:15 +0000 (05:52 +0000)
commit2447564e120cf622627a5ab81051657f6ce5ece2
tree4b372a87bf77bff786236f2b74d803551f6fbe25
parent3f0bee2502da5a0ded8a930c5cb74f9f3312b744
LU-16011 lnet: use preallocate bulk for server

Server side want to have a preallocate bulk to avoid large lock
contention on the page cache.
Without it LST limited with 35Gb/s speed with 3 rail host (HDR each)
due large CPU usage.
Preallocate bulks increase a memory consumption for small bulk,
but performance improved dramatically up to 74Gb/s with very low
cpu usage.

Test-Parameters: trivial testlist=sanity-lnet,lnet-selftest
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Change-Id: If1eaf5addf6c9d9f695a892dc66023b3bc293208
Reviewed-on: https://review.whamcloud.com/47952
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/selftest/brw_test.c
lnet/selftest/framework.c
lnet/selftest/rpc.c
lnet/selftest/selftest.h