[Virtio-fs] [PATCH][RFC] Support multiqueue mode by setting cpu affinity

Eryu Guan eguan at linux.alibaba.com
Fri Apr 24 02:15:00 UTC 2020


Hi Jun,

On Wed, Aug 28, 2019 at 03:05:01PM +0800, piaojun wrote:
> 
> 
> On 2019/8/27 22:42, Stefan Hajnoczi wrote:
> > On Mon, Aug 26, 2019 at 09:08:20AM +0800, piaojun wrote:
> >> On 2019/8/21 23:38, Stefan Hajnoczi wrote:
> >>> On Fri, Aug 09, 2019 at 02:04:54PM +0800, piaojun wrote:
> >>>> Set cpu affinity for each queue in multiqueue mode to improve the iops
> >>>> performance.

[snip]

> > 
> > Doing the setup before entering the sandbox sounds like a good idea.
> > That way the sandbox does not need to whitelist the required syscalls.
> > 
> > Will you add an option similar to:
> > 
> >   --request-queues N
> >   --request-queue-cpu-affinity N=CPU_A[,CPU_B][-CPU_C]
> > 
> > ?
> 
> I'm writing the multi-queue code for virtiofsd according to your
> suggestion, but the final shape may look a bit different.

Just curious, what's the status of this multi-queue support? I'd like to
try it out :)

Thanks,
Eryu





More information about the Virtio-fs mailing list