Thread (36 messages) 36 messages, 3 authors, 2021-02-19

Re: [PATCH 23/25] target_core_user: add backend plug/unplug callouts

From: Bodo Stroesser <bostroesser@gmail.com>
Date: 2021-02-19 19:46:02
Also in: target-devel

On 17.02.21 21:28, Mike Christie wrote:
This patch adds plug/unplug callouts for tcmu, so we can avoid the
number of times we switch to userspace. Using this driver with tcm
loop is a common config, and dependng on the nr_hw_queues
(nr_hw_queues=1 performs much better) and fio jobs (lower num jobs
around 4) this patch can increase IOPs by only around 5-10% because
we hit other issues like the big per tcmu device mutex.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
---
  drivers/target/target_core_user.c | 27 +++++++++++++++++++++++++--
  1 file changed, 25 insertions(+), 2 deletions(-)

Looks good.

Reviewed-by: Bodo Stroesser <bostroesser@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help