]> git.proxmox.com Git - mirror_zfs.git/commit - module/os/linux/zfs/vdev_disk.c
Use 'noop' IO Scheduler
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 7 Feb 2011 21:54:59 +0000 (13:54 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Feb 2011 17:27:22 +0000 (09:27 -0800)
commit6839eed23e3c9d85cf0de767be32af0759e5bf2d
treefa4f2992b08736faec1179d68a7000c467297f3f
parent4db77a74a6a26c57a04f98c4a23b9fda9319ba9f
Use 'noop' IO Scheduler

Initial testing has shown the the right IO scheduler to use under Linux
is noop.  This strikes the ideal balance by allowing the zfs elevator
to do all request ordering and prioritization.  While allowing the
Linux elevator to do the maximum front/back merging allowed by the
physical device.  This yields the largest possible requests for the
device with the lowest total overhead.

While 'noop' should be right for your system you can choose a different
IO scheduler with the 'zfs_vdev_scheduler' option.  You may set this
value to any of the standard Linux schedulers: noop, cfq, deadline,
anticipatory.  In addition, if you choose 'none' zfs will not attempt
to change the IO scheduler for the block device.
include/sys/vdev_disk.h
module/zfs/vdev_disk.c