summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_rd.c
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2013-02-06 13:20:59 +0800
committerNicholas Bellinger <nab@linux-iscsi.org>2013-02-13 11:30:14 -0800
commit1b7f390eb3bfc197c979c5478eadbc2a90f07667 (patch)
tree969efecaf717e4d94b55eaaa5a3fc2f678956459 /drivers/target/target_core_rd.c
parent67e18cf9ab21648a477e91e0d3cb6dbdb1330262 (diff)
tcm_vhost: Multi-queue support
This adds virtio-scsi multi-queue support to tcm_vhost. In order to use multi-queue, guest side multi-queue support is need. It can be found here: https://lkml.org/lkml/2012/12/18/166 Currently, only one thread is created by vhost core code for each vhost_scsi instance. Even if there are multi-queues, all the handling of guest kick (vhost_scsi_handle_kick) are processed in one thread. This is not optimal. Luckily, most of the work is offloaded to the tcm_vhost workqueue. Some initial perf numbers: 1 queue, 4 targets, 1 lun per target 4K request size, 50% randread + 50% randwrite: 127K/127k IOPS 4 queues, 4 targets, 1 lun per target 4K request size, 50% randread + 50% randwrite: 181K/181k IOPS Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_rd.c')
0 files changed, 0 insertions, 0 deletions