[CentOS] Right way to set IO scheduler on CentOS

Amos Shapira amos.shapira at gmail.com
Fri Nov 6 21:19:09 UTC 2009


2009/11/6 Larry Brigman <larry.brigman at gmail.com>:
> On Thu, Nov 5, 2009 at 8:39 PM, Ryan Wagoner <rswagoner at gmail.com> wrote:
>> Edit /etc/grub.conf and add elevator=deadline to the end of the kernel
>> line. For example
>>
>> title CentOS (2.6.18-128.4.1.el5)
>>        root (hd0,0)
>>        kernel /vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/ elevator=deadline
>>        initrd /initrd-2.6.18-128.4.1.el5.img
>>
>
> doesn't work if you only want it on one of several drives.
>
> Your own /etc/init.d script or adding to rc.local.

Thanks to you and Ross Walker. Will do it that way.

Cheers,

--Amos


More information about the CentOS mailing list