Re: [PATCH 1/1] vhost: add per-vq worker thread

From: Vitaly Mayatskih
Date: Sun Nov 04 2018 - 22:28:49 EST


On Sun, Nov 4, 2018 at 9:53 PM Jason Wang <jasowang@xxxxxxxxxx> wrote:

> I wonder whether or not it's better to allow the device to specific the
> worker here instead of forcing a per vq worker model. Then we can keep
> the behavior of exist implementation and do optimization on top?

I was thinking about that too, but for the sake of simplicity it
sounds valid that if the user wanted 8 parallel queues for the disk,
they better be parallel, i.e. worker per queue. The rest of disks that
don't need high-performance, can have 1 queue specified.

--
wbr, Vitaly