Re: [PATCH] virtio_blk: set the default scheduler to none

From: Li Feng
Date: Thu Dec 07 2023 - 01:31:59 EST




> On Dec 7, 2023, at 14:02, Jason Wang <jasowang@xxxxxxxxxx> wrote:
>
> On Thu, Dec 7, 2023 at 12:33 PM Li Feng <fengli@xxxxxxxxxx> wrote:
>>
>> virtio-blk is generally used in cloud computing scenarios, where the
>> performance of virtual disks is very important. The mq-deadline scheduler
>> has a big performance drop compared to none with single queue.
>
> At least you can choose the scheduler based on if mq is supported or not?
>
> Thanks
>
The "none" scheduler has better performance regardless of whether it is
a single queue or multiple queues. Why not set the single queue scheduler
to none by default?

Thanks.