Answers to: No-Op I/O VS CFQ schedulershttp://linuxexchange.org/questions/118/no-op-io-vs-cfq-schedulers<p>What are the benefits of both? Are they the only ones for debian base? Which one is better for a SSD only computer? How do I install a new scheduler?</p>enTue, 14 Jun 2011 11:35:12 -0400Comment by rfelsburg on george's questionhttp://linuxexchange.org/questions/118/no-op-io-vs-cfq-schedulers#2586<p>Please accept an answer, or provide more details so we can help.</p>rfelsburgTue, 14 Jun 2011 11:35:12 -0400http://linuxexchange.org/questions/118/no-op-io-vs-cfq-schedulers#2586Answer by Prasadhttp://linuxexchange.org/questions/118/no-op-io-vs-cfq-schedulers/123<p>The noop scheduler is actually for devices which have their own mechanism of handling the data read/writes. It could be in-built as a logic on the device itself,for example a SAN environment. The other schedulers like CFQ,deadline and anticipatory are logic built on the linux kernel itself, which means kernel decides how a I/O request should be handled and when the dirty buffers be written to the disk etc. These scheduler's logic are different from each other. There is no best scheduler, they are meant for different type of work loads.</p> <p>You can simply switch the schedulers on the fly:</p> <p>Example: (as root) To use "deadline" scheduler:-</p> <blockquote> <p># sync</p> <p># echo "deadline" > /sys/block/sda/queue/scheduler</p> </blockquote> <p>I'm not sure if SSD drives have the intelligence to handle I/O requests. But I can suggest you do a test read/write of huge data size with each scheduler and fins which suits you the best.</p> <p>Hope this helps.</p>PrasadFri, 23 Apr 2010 14:07:10 -0400http://linuxexchange.org/questions/118/no-op-io-vs-cfq-schedulers/123