Hi!
Interesting. Didn't know that.
We are running cfq on the OSDs, and added to ceph.conf:
[osd]
osd_disk_thread_ioprio_class = idle
osd_disk_thread_ioprio_priority = 7
Since we recently switched from HDD to SSD OSDs, I guess we should also
change from CFQ to noop.
Is there also something we need to change accordingly in ceph.conf?
We simply added to rc.local:
echo cfq > /sys/block/sda/queue/scheduler
....
echo cfq > /sys/block/sdf/queue/scheduler
Anything else to do, besides changing cfq to noop in the above..?
Thanks for the tip!
MJ
On 2/2/21 8:44 AM, Wido den Hollander wrote:
>
>
> On 28/01/2021 18:09, Andrei Mikhailovsky wrote:
>>
>> Hello everyone,
>>
>> Could some one please let me know what is the recommended modern
>> kernel disk scheduler that should be used for SSD and HDD osds? The
>> information in the manuals is pretty dated and refer to the schedulers
>> which have been deprecated from the recent kernels.
>>
>
> Afaik noop is usually the one use for Flash devices.
>
> CFQ is used on HDDs most of the time as it allows for better
> scheduling/QoS.
>
> Wido
>
>> Thanks
>>
>> Andrei
>> _______________________________________________
>> ceph-users mailing list -- ceph-users(a)ceph.io
>> To unsubscribe send an email to ceph-users-leave(a)ceph.io
>>
> _______________________________________________
> ceph-users mailing list -- ceph-users(a)ceph.io
> To unsubscribe send an email to ceph-users-leave(a)ceph.io