search for: xa_index

Displaying 2 results from an estimated 2 matches for "xa_index".

Did you mean: ia_index
2023 Apr 10
1
[PATCH v6 11/11] vhost: allow userspace to create workers
...For VHOST_NEW_WORKER the kernel will return the new vhost_worker id. > > * For VHOST_FREE_WORKER this must be set to the id of the vhost_worker > > * to free. > > */ > > int worker_id; > > }; > > > > A side effect of using xa_index directly is that userspace can guess > > the xa_index of the default worker and free it here, is this intended? > I don't need the functionality. It was only something that I didn't > think mattered much, because you can only free the worker if it's not in > use by any vi...
2023 Mar 28
1
[PATCH v6 11/11] vhost: allow userspace to create workers
For vhost-scsi with 3 vqs and a workload like that tries to use those vqs 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 how many jobs, virtqueues, and CPUs are used. To better utilize virtqueues and available CPUs, this patch allows