overriding default scheduler for blkio requests in cgroups

Posted by Aamir Mushtaq on Server Fault See other posts from Server Fault or by Aamir Mushtaq
Published on 2012-12-15T10:44:45Z Indexed on 2012/12/15 11:06 UTC
Read the original article Hit count: 258

Filed under:
|

I am trying to optimize a set of servers that have to reside on single machine. i.e. i can have multiple application server, a DB server and of course a samba server as well in same instance. Now I was looking into several optimizing options available to me. In my quest, i did my tuning of the network stack. coming to the CPU, MEMORY and the BLKIO tweaks, i am using CGROUPS. The problem i am facing is that for enhanced performance in the nature of the applications that i am running, the CFQ Scheduler that is implemented for the BLKIO subsystem is not optimal. I was looking more for a Deadline Scheduler because that will serve my purpose well. My question is whether it is possible for us to change the scheduler in the kernel compilation itself for the BLKIO to Deadline and it will reflect in my usage of [CGROUP hierarchies][3]? Since when running the service cgconf, a new fs is mounted and i dont want it to revert to CFQ scheduler. I also welcome any suggestions that will enable me to have more control over my resources.

© Server Fault or respective owner

Related posts about linux

Related posts about kernel