On Tue, Oct 26, 2021 at 09:09:52AM -0400, Michael S. Tsirkin wrote: > On Tue, Oct 26, 2021 at 01:37:14PM +0800, Jason Wang wrote: > > > > 在 2021/10/22 下午1:19, Mike Christie 写道: > > > This patch allows userspace to create workers and bind them to vqs. You > > > can have N workers per dev and also share N workers with M vqs. > > > > > > Signed-off-by: Mike Christie <michael.christie@xxxxxxxxxx> > > > > > > A question, who is the best one to determine the binding? Is it the VMM > > (Qemu etc) or the management stack? If the latter, it looks to me it's > > better to expose this via sysfs? > > I think it's a bit much to expect this from management. The management stack controls the number of vqs used as well as the vCPU and IOThread CPU affinity. It seems natural for it to also control the vhost worker CPU affinity. Where else should that be controlled? Stefan
Attachment:
signature.asc
Description: PGP signature