[CentOS] Right way to set IO scheduler on CentOS
Amos Shapira
amos.shapira at gmail.comFri Nov 6 01:59:38 UTC 2009
- Previous message: [CentOS] MySQL error 28, can't write temp files - how to debug? [SOLVED]
- Next message: [CentOS] Right way to set IO scheduler on CentOS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I'd like to set the io scheduler on some of the disks on our Dom0 (CentOS 5) to "deadline". The way I found to do this is with "echo deadline > /sys/block/sdb/queue/scheduler". What is the Right Way(TM) to set this automatically during boot? I sort of expected to use sysctl but it appears to only deal with pseudo-files under /proc/sys, not /sys. Also "sysctl -a" doesn't list such options. Searching the web also only comes up with the "echo" method mentioned everywhere. Is my only way to add some /etc/init.d script or /etc/rc.local line? Thanks, --Amos
- Previous message: [CentOS] MySQL error 28, can't write temp files - how to debug? [SOLVED]
- Next message: [CentOS] Right way to set IO scheduler on CentOS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list