test/virtio: set 8 virtqueues for each device
Set queue number to match fio threads (7 IO threads + spdk) Previous number resulted from the wrong assumption that the number of queues is the sum of threads on all devices Change-Id: Idd51cf0f62c07fa3833e3e7172edb8425ca1e19b Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com> Reviewed-on: https://review.gerrithub.io/399595 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
30ef8cac7d
commit
3327842974
@ -1,14 +1,14 @@
|
|||||||
[VirtioUser0]
|
[VirtioUser0]
|
||||||
Path naa.Nvme0n1.0
|
Path naa.Nvme0n1.0
|
||||||
Queues 18
|
Queues 8
|
||||||
|
|
||||||
[VirtioUser1]
|
[VirtioUser1]
|
||||||
Path naa.Malloc0.0
|
Path naa.Malloc0.0
|
||||||
Queues 18
|
Queues 8
|
||||||
|
|
||||||
[VirtioUser2]
|
[VirtioUser2]
|
||||||
Path naa.Malloc1.0
|
Path naa.Malloc1.0
|
||||||
Queues 18
|
Queues 8
|
||||||
|
|
||||||
[Ioat]
|
[Ioat]
|
||||||
Disable Yes
|
Disable Yes
|
||||||
|
@ -103,8 +103,9 @@ timing_exit run_spdk_fio_unmap
|
|||||||
|
|
||||||
timing_enter setup_vm
|
timing_enter setup_vm
|
||||||
vm_no="0"
|
vm_no="0"
|
||||||
vm_setup --disk-type=spdk_vhost_scsi --force=$vm_no --os=$os_image --disks="Nvme0n1:Malloc0:Malloc1" \
|
vm_setup --disk-type=spdk_vhost_scsi --force=$vm_no --os=$os_image \
|
||||||
--queue_num=18 --memory=6144
|
--disks="Nvme0n1:Malloc0:Malloc1" \
|
||||||
|
--queue_num=8 --memory=6144
|
||||||
vm_run $vm_no
|
vm_run $vm_no
|
||||||
|
|
||||||
timing_enter vm_wait_for_boot
|
timing_enter vm_wait_for_boot
|
||||||
|
Loading…
Reference in New Issue
Block a user