Whamcloud - gitweb
LU-16011 lnet: use preallocate bulk for server 76/50276/6
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Tue, 6 Feb 2024 14:58:04 +0000 (17:58 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Mar 2024 03:20:57 +0000 (03:20 +0000)
commite502638050a6a6c176bf921ebb3733846fd7ab87
treefe2e21b90ea8a36e5638d4709e5607ea4a60f680
parentf45a0288b00597bc797963f7aa01cae5167b024e
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: testgroup=review-ldiskfs-arm testlist=sanity-lnet,lnet-selftest
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Change-Id: Icf396ba2ecfbded807b5722bb2c4cbe4d0084300
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50276
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.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