Dear all. I have zpool/zvol - as a local storage (with l2arc+cache). Which best IO Scheduler in a common case? Is the CFQ best or not in this situation?
Dear LnxBil, I have classical HDD (with SSD l2arc+cache). Do I need to change scheduler?Depends on your disks: spindels do require a real scheduler due to physical limitations, SSDs normally don't.
How can I check it for zfs?What is currently used there? Normally - as I read about this issue - ZFS is setting the scheduler accordingly.
root@dve-01:~# cat /sys/block/zdXX/queue/scheduler
none
root@dve-01:~# cat /sys/block/sdc/queue/scheduler
noop [deadline] cfq
So, if I understand you, I don't need to wore about it. Is it good for zfs with noop and deadline for underline hdd?It seems that ZFS automatically sets noop. I would suggest you use noop (that is no scheduler).
I _think_ noop should be used always where there are no other filesystems on the same drive and preferably even when they are.