linux power management

linux power management

ID:15501110

大小:1.27 MB

页数:28页

时间:2018-08-03

linux power management_第1页
linux power management_第2页
linux power management_第3页
linux power management_第4页
linux power management_第5页
资源描述:

《linux power management》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、PowerManagementofLinuxkernelBarrySong宋宝华LinuxPM宋宝华SuspendSequence宋宝华ResumeSequence宋宝华Freezer!Pieceofcodethatputstasks(alluserspaceandsomekernelthreads)intoast

2、ateinwhichtheyareknowntodonothing!Whateverrunsnext(e.g.devicedrivers'suspendcallbacks)neednotworryaboutuserspace.!Userspaceisnotavailableduringsystemsuspendandresume(e.g.donotrequestfirmwareorprobedevicesatthosetimes).Detectidleness!Systemsuspendoperate

3、sonthewholesystemWhoknowswhenthewholesystemisnotgoingtobeused?!Onlytheuserknowsthat–Thekernel(oranyindividualpartofit)hasnoidea.–Userspacemayonlyuseveryroughheuristics(e.g.theGUIhasn’tbeenusedforthatmuchtime,sopresumablythesystemwon'tbeusedforawhile)Dev

4、iceDriverResponsibilitiesforsuspend!Devicedriversneedtoaggressivelymanagerequest/releaseofclocksthroughclockframework!Devicedriversshouldconfigureoptimalpowersettings!DevicedriversneedtoregisterwiththeLDMandimplementsuspend()andresume()calls.!Devicedriv

5、erscanspecifyconstraintswhenrequired!Devicedriversneedtoimplementcontextsave/restoreandinteractwiththeappropriateframeworkforthesame.cpufreq&cpuidle!cpuidle-usetomanagetheidlestatesofthecpudependingonrequiredwakeuplatency.OnARM,thisismappedtoSoC-idlesta

6、tes,notjustcpuidlestates(ProcessorCstatesfromcpuidle)!cpufreq-usedtoscalevoltageandfrequencywhenthesystemisbusyBusystates(ProcessorPstatesfromcpufreq))!(oneof)power_supplyclassorpmu-usedtoexportbatteryinformation宋宝华CPUIdle!PutidleCPUs

7、intolow-powerstates(nocodeexecution)–CPUschedulerknowswhenaCPUisidle.–Nextusageinformationfromclockevents.–MaximumacceptablelatencyfromPMQoS.–CPUlow-powerstates(C-states)characteristicsareknown.–Governorsdecidewhatstatetogofor.宋宝华CPUI

8、dle宋宝华DVFS!DynamicVoltageandFrequencyScaling!CPUfreq:DVFSforCPUCore!Devfreq:DVFSforotherdevices–Memory-Interface,Bus,GPU,...宋宝华CPUFreq宋宝华GovernorsofCPUFreq宋宝华

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。