How to config the I/O scheduler

Peter Gordon peter at thecodergeek.com
Thu Apr 27 03:30:04 UTC 2006


On Thu, 2006-04-27 at 10:10 +0800, zhang jungle wrote:
> hi , all 
> When config the kernel  , there  is three schedulers. The Anticipatory
> I/O scheduler , Deadline I/O scheduler and CFQ I/O scheduler  .
> Wich one shoud i use?How to deal with the else of them ? I am realy
> confused. 
The least hassle-free option would probably be to enable them all. Then,
you can use the "elevator=" kernel option to set the default at bootup;
and you can view or change the scheduler in use at runtime by reading or
writing to /sys/block/<device>/queue/scheduler, respectively. (You'll
mostly have to become root to do this. Run "su -" in a terminal to
become root temporarily.)

If you want more information about what each one does in detail, you can
install the kernel-doc package and take a look at the text files in
the /usr/share/doc/kernel-doc-version/Documentation/block/ directory. 

Hope that helps.
-- 
Peter Gordon (codergeek42)
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060426/fc2c2fde/attachment-0002.bin 


More information about the users mailing list