Chinaunix
标题:
PAD/Deep Cstate integration
[打印本页]
作者:
aubrey
时间:
2009-02-26 16:18
标题:
PAD/Deep Cstate integration
今天,我们(opensolaris tesla community)迎来了一个重大的milestone,为之奋战数月的Power Aware Dispatcher和Deep Cstate project终于被Solaris kernel接受(ON changeset 8906),将会在Neveda build110和OpenSolaris0906里面提供给用户。
Power Aware Dispatcher扩展了Solaris内核里现有的CMT调度的架构,我们增加了与Power相关的Processor Group,引入了coalesce的调度策略。基于tickless精神,我们还实现了一个基于event的P-state驱动器,event模式将会成为Solaris内核里的缺省配置,现有的基于polling的模式将会被disable掉,这使得Intel的变频技术更加贴近于也能更快的响应系统负载的需求。
在/etc/power.conf(4)文件里,我们可以修改P-state的模式,然后运行pmconfig使之生效。
cpupm enable event-mode
或者
cpupm enable poll-mode
cpu-threshold 1s
对于Deep Cstate,我们目前只在Intel的Nehalem(Core i7)架构上支持。Nehalem架构不同于以前的处理器架构,它支持Invariant TSC,即使在Deep Cstate里,Invariant TSC依然Invariant, :)
Deep Cstate目前也通过/etc/power.conf(4)来设置.
cpu_deep_idle disable
或者
cpu_deep_idle enable
Deep Cstate的支持,极大的降低了系统在idle下的功耗,这意味着cost down in data center,也意味着laptop上电池坚持的时间会更长。
我们将会继续优化PAD,欢迎加入tesla-dev@opensolaris.org.
本文来自ChinaUnix博客,如果查看原文请点:
http://blog.chinaunix.net/u1/41699/showart_1844432.html
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2