summaryrefslogtreecommitdiffstats
path: root/drivers/sfi
diff options
context:
space:
mode:
authorAsias He2013-02-06 06:20:59 +0100
committerNicholas Bellinger2013-02-13 20:30:14 +0100
commit1b7f390eb3bfc197c979c5478eadbc2a90f07667 (patch)
tree969efecaf717e4d94b55eaaa5a3fc2f678956459 /drivers/sfi
parenttcm_vhost: Multi-target support (diff)
downloadkernel-qcow2-linux-1b7f390eb3bfc197c979c5478eadbc2a90f07667.tar.gz
kernel-qcow2-linux-1b7f390eb3bfc197c979c5478eadbc2a90f07667.tar.xz
kernel-qcow2-linux-1b7f390eb3bfc197c979c5478eadbc2a90f07667.zip
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/sfi')
0 files changed, 0 insertions, 0 deletions