刚读一Mysql DBA写的文章受到提示,知道了Linux下的IO Scheduler的选择会在不同场景下,对Mysql有很大的提升。所以搞Mysql的读写的要注意这个小技巧,通过对不同Scheduler的读写测试,了解哪款Scheduler适合你。
注意Linux怎么着也要到2.6.x,有Raid卡,并且有最少4块硬盘的,要上到Raid10,注意是10。
Scheduler:
cfq
noop
deadline
anticipatory
原文中说noop性能更好,他正在作更多的尝试。这里场景不同,选择不同。但一个方法需要记住,那就是对于Scheduler要作尝试选择最优方案。
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment