Re: [PATCH 13/14] vhost: allow userspace to create workers

2023-05-18 Thread Mike Christie
On 5/16/23 10:10 PM, Jason Wang wrote: > On Sat, Apr 29, 2023 at 12:32 AM Mike Christie > wrote: >> >> For vhost-scsi with 3 vqs or more and a workload that tries to use >> them in parallel like: >> >> fio --filename=/dev/sdb --direct=1 --rw=randrw --bs=4k \ >> --ioengine=libaio --iodepth=128 --

Re: [PATCH 13/14] vhost: allow userspace to create workers

2023-05-16 Thread Jason Wang
On Sat, Apr 29, 2023 at 12:32 AM Mike Christie wrote: > > For vhost-scsi with 3 vqs or more and a workload that tries to use > them in parallel like: > > fio --filename=/dev/sdb --direct=1 --rw=randrw --bs=4k \ > --ioengine=libaio --iodepth=128 --numjobs=3 > > the single vhost worker thread will

[PATCH 13/14] vhost: allow userspace to create workers

2023-04-28 Thread Mike Christie
For vhost-scsi with 3 vqs or more and a workload that tries to use them in parallel like: fio --filename=/dev/sdb --direct=1 --rw=randrw --bs=4k \ --ioengine=libaio --iodepth=128 --numjobs=3 the single vhost worker thread will become a bottlneck and we are stuck at around 500K IOPs no matter ho