博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux内核调度器 CFS调优
阅读量:2341 次
发布时间:2019-05-10

本文共 1590 字,大约阅读时间需要 5 分钟。

echo 10000000 > /proc/sys/kernel/sched_min_granularity_ns
echo 15000000 > /proc/sys/kernel/sched_wakeup_granularity_ns
echo 10 > /proc/sys/kernel/sched_nr_migrate
echo 1000000 > /proc/sys/kernel/sched_migration_cost
linux调度器(九)——调度器的配置参数: http://blog.csdn.net/wudongxu/article/details/8574753
http://www.oschina.net/question/234345_48082

http://bbs.gfan.com/android-5357558-1-1.html

使用完全公平调度程序(CFS)进行多任务处理: http://www.ibm.com/developerworks/cn/linux/l-cfs/
[root@dodge ~]# sysctl -A|grep "sched" | grep -v "domain"
kernel.sched_min_granularity_ns = 4000000
kernel.sched_latency_ns = 40000000
kernel.sched_wakeup_granularity_ns = 2000000
kernel.sched_batch_wakeup_granularity_ns = 25000000
kernel.sched_stat_granularity_ns = 0
kernel.sched_runtime_limit_ns = 40000000
kernel.sched_child_runs_first = 1
kernel.sched_features = 29
kernel.sched_compat_yield = 0
[root@dodge ~]#
http://artipc10.vub.ac.be/wordpress/2011/05/27/linux-performance-improvements/
CFS scheduler tuning
CFS (Competely Fair Scheduler) is the name of the Linux process scheduler. By default it is tuned for desktop workloads. For server systems where throughput is more important than latency, Red Hat’s tuned package proposes these sysctl settings for CFS for servers:
kernel.sched_min_granularity_ns = 10000000
kernel.sched_wakeup_granularity_ns = 15000000
https://www.kernel.org/doc/Documentation/scheduler/sched-design-CFS.txt
网站加速--服务器编写篇(上): http://blog.sina.com.cn/s/blog_466c66400100bi2n.html
Linux技巧:多核下绑定硬件/进程到不同CPU: http://os.51cto.com/art/201007/212964.htm
http://wenku.baidu.com/link?url=OLCxGzfywyWlUp-1Zzs-
你可能感兴趣的文章
写作路上的这些小成绩,铸就了一个不平庸的程序员
查看>>
程序员找工作的个人经验教训以及注意事项
查看>>
2019 编程语言排行榜:Java、Python 龙争虎斗!谁又屹立不倒
查看>>
拥有10年编程经验的你,为什么还一直停留在原地
查看>>
Flask vs Django,Python Web开发用哪个框架更好
查看>>
用Python制作动态二维码,一行代码就做到了
查看>>
Python说:常见的数据分析库有哪些
查看>>
Python教程:Python数据类型之字典
查看>>
Python基础教程:python的数据类型
查看>>
Python学习教程:另辟蹊径,appium抓取app应用数据了解一下
查看>>
周董新歌《说好不哭》上线,20W评论,歌迷都说了些啥
查看>>
Python学习教程:用Python进行金融市场文本数据的情感计算
查看>>
Python爬虫:python获取各种街拍美图
查看>>
爬虫工程师是干什么的?你真的知道吗?
查看>>
写给那些想学Python的人,建议收藏后细看
查看>>
数据全裸时代,你的隐私有多容易获取?
查看>>
分析http代理报错问题
查看>>
Python编程学习笔记 - 列表的各种姿势
查看>>
Python学习教程:Python入门笔记整理
查看>>
天了噜,居然用Python查到了女神的姓名
查看>>